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
|
|
|
|
---
|
2020-12-29 09:06:57 +00:00
|
|
|
Index: b/src/preferences
|
|
|
|
===================================================================
|
2015-10-26 06:52:33 +00:00
|
|
|
--- a/src/preferences
|
|
|
|
+++ b/src/preferences
|
2020-12-29 09:06:57 +00:00
|
|
|
@@ -576,6 +576,7 @@
|
2015-10-26 06:52:33 +00:00
|
|
|
|
|
|
|
# Icon search path (colon separated)
|
2020-12-29 09:06:57 +00:00
|
|
|
# IconPath="/usr/local/share/icons:/usr/local/share/pixmaps:/usr/share/icons:/usr/share/pixmaps:"
|
2020-03-05 08:16:33 +00:00
|
|
|
+IconPath="/usr/share/icons/Adwaita/16x16/legacy:/usr/share/icons/Adwaita/16x16/apps:/usr/share/icons/hicolor:/usr/share/icons:/usr/share/pixmaps"
|
2015-10-26 06:52:33 +00:00
|
|
|
|
2020-12-29 09:06:57 +00:00
|
|
|
# Colon separated icon theme list with wildcard support. Minus prefix - can be used to exclude themes.
|
|
|
|
# IconThemes="*:-HighContrast"
|
|
|
|
@@ -594,6 +595,7 @@
|
2017-10-05 18:50:58 +00:00
|
|
|
|
|
|
|
# Command to lock display/screensaver
|
2020-12-29 09:06:57 +00:00
|
|
|
# LockCommand=""
|
2017-10-05 18:50:58 +00:00
|
|
|
+LockCommand="xlock -mousemotion"
|
|
|
|
|
|
|
|
# Command to run on clock
|
|
|
|
# ClockCommand="xclock -name icewm -title Clock"
|
2020-12-29 09:06:57 +00:00
|
|
|
@@ -617,9 +619,11 @@
|
2017-10-05 18:50:58 +00:00
|
|
|
|
|
|
|
# Command to shutdown the system
|
2020-12-29 09:06:57 +00:00
|
|
|
# ShutdownCommand="test -e /run/systemd/system && systemctl poweroff"
|
2017-10-05 18:50:58 +00:00
|
|
|
+ShutdownCommand="/bin/sh -c 'systemctl poweroff ||:'"
|
|
|
|
|
|
|
|
# Command to reboot the system
|
2020-12-29 09:06:57 +00:00
|
|
|
# RebootCommand="test -e /run/systemd/system && systemctl reboot"
|
2017-10-05 18:50:58 +00:00
|
|
|
+RebootCommand="/bin/sh -c 'systemctl reboot ||:'"
|
|
|
|
|
2019-04-11 05:49:16 +00:00
|
|
|
# Command to send the system to standby mode
|
|
|
|
# SuspendCommand="test -e /run/systemd/system && systemctl suspend"
|
2020-12-29 09:06:57 +00:00
|
|
|
@@ -1353,15 +1357,18 @@ WorkspaceNames=" 1 ", " 2 ", " 3 ", " 4
|
2017-10-10 14:08:23 +00:00
|
|
|
|
|
|
|
# Display desktop background centered and not tiled
|
2020-12-29 09:06:57 +00:00
|
|
|
# DesktopBackgroundCenter=0 # 0/1
|
2017-10-10 14:08:23 +00:00
|
|
|
+DesktopBackgroundCenter=0 # 0/1
|
|
|
|
|
|
|
|
# Support for semitransparent terminals like Eterm or gnome-terminal
|
|
|
|
# SupportSemitransparency=1 # 0/1
|
2017-10-05 18:50:58 +00:00
|
|
|
|
2019-04-11 05:49:16 +00:00
|
|
|
# Resize desktop background to full screen
|
2020-12-29 09:06:57 +00:00
|
|
|
# DesktopBackgroundScaled=0 # 0/1
|
2017-10-05 18:50:58 +00:00
|
|
|
+DesktopBackgroundScaled=1 # 0/1
|
|
|
|
|
2019-04-11 05:49:16 +00:00
|
|
|
# Desktop background image(s)
|
2020-12-29 09:06:57 +00:00
|
|
|
# DesktopBackgroundImage=""
|
2017-10-05 18:50:58 +00:00
|
|
|
+DesktopBackgroundImage="BRANDING_PICTURE"
|
|
|
|
|
2019-04-11 05:49:16 +00:00
|
|
|
# Desktop background color(s)
|
|
|
|
# DesktopBackgroundColor=""
|