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- quilt push -a ./configure make -C src genpref ./src/genpref >src/preferences quilt import -p0 patches/icewm-preferences.patch quilt push vi lib/preferences quilt refresh --- src/preferences | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) Index: src/preferences =================================================================== --- a/src/preferences +++ b/src/preferences @@ -530,7 +530,7 @@ # NetWorkAreaBehaviour=0 # [0-2] # Icon search path (colon separated) -# IconPath="" +IconPath="/usr/share/icons/Adwaita/16x16/apps:/usr/share/icons/hicolor/16x16/apps:/usr/share/pixmaps" # Mailbox path (use $MAIL instead) # MailBoxPath="" @@ -545,7 +545,7 @@ # NewMailCommand="" # Command to lock display/screensaver -# LockCommand="" +LockCommand="xscreensaver-command -lock || xlock -mousemotion" # Command to run on clock # ClockCommand="xclock -name icewm -title Clock" @@ -569,10 +569,10 @@ # LogoutCancelCommand="" # 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" @@ -1328,19 +1328,19 @@ # # Display desktop background centered and not tiled -# DesktopBackgroundCenter=0 # 0/1 +DesktopBackgroundCenter=1 # 0/1 # Support for semitransparent terminals like Eterm or gnome-terminal # SupportSemitransparency=1 # 0/1 # 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="/usr/share/wallpapers/default-1600x1200.jpg" # Color to announce for semi-transparent windows # DesktopTransparencyColor=""