2008-07-18 21:58:16 +00:00
|
|
|
Tweak default icewm preferences
|
|
|
|
|
|
|
|
Attention: this patch is applied in the %build phase, because it patches
|
|
|
|
a file generated by ./src/genpref. To edit the patch:
|
|
|
|
|
|
|
|
quilt setup icewm.spec
|
|
|
|
cd icewm-<version>
|
|
|
|
quilt push -a
|
|
|
|
./configure <options from the spec>
|
|
|
|
make -C src genpref
|
2015-10-12 18:37:14 +00:00
|
|
|
./src/genpref >src/preferences
|
2008-07-18 21:58:16 +00:00
|
|
|
quilt import -p0 patches/icewm-preferences.patch
|
|
|
|
quilt push
|
|
|
|
vi lib/preferences
|
|
|
|
quilt refresh
|
|
|
|
---
|
2017-10-05 18:50:58 +00:00
|
|
|
src/preferences | 6 ++++++
|
|
|
|
1 file changed, 6 insertions(+)
|
2008-07-18 21:58:16 +00:00
|
|
|
|
2015-10-12 18:37:14 +00:00
|
|
|
Index: src/preferences
|
|
|
|
===================================================================
|
2015-10-26 06:52:33 +00:00
|
|
|
--- a/src/preferences
|
|
|
|
+++ b/src/preferences
|
2017-10-05 18:50:58 +00:00
|
|
|
@@ -543,6 +543,7 @@
|
2015-10-26 06:52:33 +00:00
|
|
|
|
|
|
|
# Icon search path (colon separated)
|
2017-10-05 18:50:58 +00:00
|
|
|
# IconPath="/usr/share/icons/hicolor:/usr/share/icons:/usr/share/pixmaps"
|
2017-10-02 09:04:31 +00:00
|
|
|
+IconPath="/usr/share/icons/Adwaita/16x16/apps:/usr/share/icons/hicolor:/usr/share/icons:/usr/share/pixmaps"
|
2015-10-26 06:52:33 +00:00
|
|
|
|
|
|
|
# Mailbox path (use $MAIL instead)
|
|
|
|
# MailBoxPath=""
|
2017-10-05 18:50:58 +00:00
|
|
|
@@ -558,6 +559,7 @@
|
|
|
|
|
|
|
|
# Command to lock display/screensaver
|
|
|
|
# LockCommand=""
|
|
|
|
+LockCommand="xlock -mousemotion"
|
|
|
|
|
|
|
|
# Command to run on clock
|
|
|
|
# ClockCommand="xclock -name icewm -title Clock"
|
|
|
|
@@ -582,9 +584,11 @@
|
|
|
|
|
|
|
|
# Command to shutdown the system
|
|
|
|
# ShutdownCommand="/bin/sh -c "{ test -e /run/systemd/system && systemctl poweroff; } ||:""
|
|
|
|
+ShutdownCommand="/bin/sh -c 'systemctl poweroff ||:'"
|
|
|
|
|
|
|
|
# Command to reboot the system
|
|
|
|
# RebootCommand="/bin/sh -c "{ test -e /run/systemd/system && systemctl reboot; } ||:""
|
|
|
|
+RebootCommand="/bin/sh -c 'systemctl reboot ||:'"
|
|
|
|
|
|
|
|
# Command to run on CPU status
|
|
|
|
# CPUStatusCommand="xterm -name top -title Process\ Status -e top"
|
|
|
|
@@ -1362,12 +1366,14 @@
|
|
|
|
|
|
|
|
# Desktop background scaled to full screen
|
|
|
|
# DesktopBackgroundScaled=0 # 0/1
|
|
|
|
+DesktopBackgroundScaled=1 # 0/1
|
|
|
|
|
|
|
|
# Desktop background color
|
|
|
|
# DesktopBackgroundColor="rgb:00/20/40"
|
|
|
|
|
|
|
|
# Desktop background image
|
|
|
|
# DesktopBackgroundImage=""
|
|
|
|
+DesktopBackgroundImage="BRANDING_PICTURE"
|
|
|
|
|
|
|
|
# Color to announce for semi-transparent windows
|
|
|
|
# DesktopTransparencyColor=""
|