icewm/icewm-preferences.patch
Yifan Jiang 9235ccb021 Accepting request 978628 from home:qkzhu:branches:X11:windowmanagers
- Rebase patches for version 2.9.7:
  * icewm-susemenu.patch
  * icewm-desktop-nodisplay.patch
  * icewm-preferences.patch
- Update to 2.9.7:
  * Fix for saving keyboard layouts in --rewrite-preferences.
  * Faster and more reliable restart of icewmbg.
  * Add themable preference ColorKeyboardLayoutText.
  * Add KeySysKeyboardNext to switch to next keyboard layout.
  * Document alternative keypad handling in icewm-keys(1).
  * Handle right-to-left languages in icewm-menu-fdo.
  * Add -g,--generic option to icewm-menu-fdo for GenericName in menus.
  * Updated translations: Czech, Danish, Finnish, Turkish, German, French.
- from version 2.9.6:
  * Lower a fullscreen window below the window which is to be activated.
  * Start a new fullscreen client in the fullscreen layer for issue #85.
  * Prioritize the thermal zones when showing CPU temperature.
  * Let CPU graphs share a single timer and adjust to changes to TaskBarCPUSamples.
  * Support workspace names "next" and "prev" in icesh for issue bbidulock/icewm#640.
  * Updated translations: Spanish, German, Italian, Chinese, Portuguese (Brazil).
- from version 2.9.5:
  * Set the window type of desktop icons and of the dockapps container.
  * Make taskbar unhide more reliable.
  * Fix OSS / APM confusion in some translations.
  * Fix for taskbar on icewm restart when there is a fullscreen window.
  * Fix for TaskBarAutoHide and for focusing address bar.
  * Make TaskBarFullscreenAutoShow option more reliable.
  * Remove all of the inefficient management of the fullscreen layer.
  * Fixes to prevent a lockup where no keybinding works,
    when activating a do-not-focus output-only window

OBS-URL: https://build.opensuse.org/request/show/978628
OBS-URL: https://build.opensuse.org/package/show/X11:windowmanagers/icewm?expand=0&rev=116
2022-05-23 07:40:50 +00:00

74 lines
2.3 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 -j8 # Generate src/preference
quilt import -p0 patches/icewm-preferences.patch
quilt push
vi lib/preferences
quilt refresh
---
Index: b/src/preferences
===================================================================
--- a/src/preferences
+++ b/src/preferences
@@ -207,6 +207,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"
@@ -474,6 +475,7 @@
# Command to lock display/screensaver.
# LockCommand=""
+LockCommand="xlock -mousemotion"
# Command to cancel logout.
# LogoutCancelCommand=""
@@ -669,6 +671,7 @@
# Command to reboot the system.
# RebootCommand="test -e /run/systemd/system && systemctl reboot"
+RebootCommand="/bin/sh -c 'systemctl reboot ||:'"
# Send the clicks outside menus to target window.
# ReplayMenuCancelClick=0 # 0/1
@@ -738,6 +741,7 @@
# Command to shutdown the system.
# ShutdownCommand="test -e /run/systemd/system && systemctl poweroff"
+ShutdownCommand="/bin/sh -c 'systemctl poweroff ||:'"
# Maximized windows can be resized.
# SizeMaximized=0 # 0/1
@@ -1437,18 +1441,21 @@ WorkspaceNames=" 1 ", " 2 ", " 3 ", " 4 "
# Display desktop background centered and not tiled.
# DesktopBackgroundCenter=0 # 0/1
+DesktopBackgroundCenter=0 # 0/1
# Desktop background color(s)
# DesktopBackgroundColor=""
# Desktop background image(s)
# DesktopBackgroundImage=""
+DesktopBackgroundImage="BRANDING_PICTURE"
# Paint the background image over all multihead monitors combined.
# DesktopBackgroundMultihead=0 # 0/1
# Resize desktop background to full screen.
# DesktopBackgroundScaled=0 # 0/1
+DesktopBackgroundScaled=1 # 0/1
# Color(s) to announce for semitransparent windows.
# DesktopTransparencyColor=""