icewm/icewm-preferences.patch
Ondřej Súkup 5b81e6b598 Accepting request 337520 from home:scarabeus_iv:branches:X11:windowmanagers
- Sed in lower requirement on gettext to work on Leap and 13.2

- Split lang pkg and properly recommend it
- Install icewm-menu-fdo and manpage
- Properly set docdir
- Add sgmltool to generate html help pages
- Use %configure macros properly
- Cleanup with spec-cleaner
- Drop bcond for gnome as it is enabled everywhere anyway
- Drop patches that should not be needed after discussion with mmarek:
  * icewm-menu.patch
  * icewm-susemenu.patch
- Peferences file is now in src not in lib so update patch,
  also use systemd to call shutdown and reboot which should be bit more safe
  today:
  * icewm-preferences.patch

- Version bump to 1.3.11:
  * various bugfixes collected from all upstream vendors
- Remove upstreamed patches:
  * icewm-1.2.35-empty-winmenu.patch
  * icewm-1.2.35-override-config.patch
  * icewm-1.2.35-unaligned-access.patch
  * icewm-1.3.6-winoptions.patch
  * icewm-1.3.8-enable-guievents.patch
  * icewm-1.3.8-shutdown-reboot-command.patch
  * icewm-1.3.8.tar.gz
  * icewm-bg-default-at-error.patch
  * icewm-docdir.patch
  * icewm-fix-themes.patch

OBS-URL: https://build.opensuse.org/request/show/337520
OBS-URL: https://build.opensuse.org/package/show/X11:windowmanagers/icewm?expand=0&rev=35
2015-10-12 18:37:14 +00:00

69 lines
2.1 KiB
Diff

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
./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
===================================================================
--- src/preferences.orig
+++ src/preferences
@@ -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 "{ test -e /run/systemd/system && systemctl poweroff; } ||:""
# Command to reboot the system
-# RebootCommand="/bin/sh -c "{ test -e /run/systemd/system && systemctl reboot; } ||:""
+RebootCommand="/bin/sh -c "{ test -e /run/systemd/system && systemctl reboot; } ||:""
# Command to run on CPU status
# CPUStatusCommand="xterm -name top -title Process\ Status -e top"
@@ -1328,19 +1328,19 @@ WorkspaceNames=" 1 ", " 2 ", " 3 ", " 4
#
# 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=""