icewm/icewm-preferences.patch
İsmail Dönmez a0e922a5da Accepting request 857752 from home:glaubitz:branches:X11:windowmanagers
- Update to 2.0.0
  * Remove support for the old and obsolete _WIN_PROTOCOL properties.
  * Add support for the Imlib2 image rendering engine as an alternative
    for the gdk-pixbuf-xlib rendering engine. The Imlib2 image rendering
    engine is now the default, but this can be set at configure time.
  * Center the window list window if it got offscreen.
  * Fix horizontal scrolling in icehelp.
  * Use _NET_WM_STATE_HIDDEN instead of IconicState for minimize in icesh.
  * Icewm now supports ICCCM icon_pixmap and icon_window.
  * Don't unroll rolled up windows on left button press for issue #525.
  * Fix for drawing title pixmaps when they are gradients for issue #523.
  * Remove unwanted separator in taskbar for empty toolbar for issue #524.
    support BR_Portuguese language in 2 desktop files for issue #522.
  * Add support for WM_HINTS icon_window in MiniIcons.
  * Check if WM_HINTS update actually changes anything.
  * Don't attempt to draw Unicode in non-UTF-8 environment for issue #519
  * Icewm now supports the icon_pixmaps from WM_HINTS to correctly
    show the icon for NEdit, xmgrace, xv, timidity and fontforge.
  * Don't resize when trying to move when dragging at y=0 for issue #520.
  * Report errors if enabled packages are missing for issue #516.
  * Instead of render.h include Xrender.h for dependency checking for issue #516.
  * Fix the positioning of the window list title for non-standard SmallIconSize
    settings for issue #514.
- from version 1.9.2
  * Fix for correctly restoring xterm from fullscreen in issue #28.
  * Prevent inadvertent growing of windows in issue #512.
- from version 1.9.1
  * Fix for NEdit, which delays setting WM_NORMAL_HINTS, to fix issue #510.
  * Fix for changing layers when ABOVE or BELOW bit is set.
  * Use a minimum delay of 10 ms for auto taskbar delays for issue #508.

OBS-URL: https://build.opensuse.org/request/show/857752
OBS-URL: https://build.opensuse.org/package/show/X11:windowmanagers/icewm?expand=0&rev=111
2020-12-29 09:06:57 +00:00

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