[SOLVED] IceWM - setting desktop background

Desktop Environments and Multimedia
Post Reply
Message
Author
User avatar
majpooper
Posts: 13
Joined: 2019-03-19 13:00

[SOLVED] IceWM - setting desktop background

#1 Post by majpooper »

Just setting up IceWM on Debian bullseye on an old MacBook. I have followed instruction on how to this but it is not working. I copied /usr/share/icewm/preferences to ~/.icewm/preferences and uncommented

Code: Select all

DesktopBackgroundImage="/home/sparky/.icewm/debian.jpg
I also added debian.jpg from my file manager (PCmanFM) Appilcations>Preferences>Background>Add Picture

There must be something simple that I am missing but I cannot change the desktop background.
Last edited by majpooper on 2021-03-09 03:27, edited 1 time in total.

User avatar
Head_on_a_Stick
Posts: 13450
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: IceWM - setting desktop background

#2 Post by Head_on_a_Stick »

majpooper wrote:

Code: Select all

DesktopBackgroundImage="/home/sparky/.icewm/debian.jpg
Have you really not closed the quotation marks in the configuration file?
Black Lives Matter

Debian buster-backports ISO image: for new hardware support

User avatar
majpooper
Posts: 13
Joined: 2019-03-19 13:00

Re: IceWM - setting desktop background

#3 Post by majpooper »

Head_on_a_Stick wrote:
majpooper wrote:

Code: Select all

DesktopBackgroundImage="/home/sparky/.icewm/debian.jpg
Have you really not closed the quotation marks in the configuration file?
I closed it - just did not get in the copy and paste.

User avatar
Head_on_a_Stick
Posts: 13450
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: IceWM - setting desktop background

#4 Post by Head_on_a_Stick »

Did you remember to start /usr/bin/icewmbg?

Reference: https://ice-wm.org/FAQ/
Black Lives Matter

Debian buster-backports ISO image: for new hardware support

User avatar
majpooper
Posts: 13
Joined: 2019-03-19 13:00

Re: IceWM - setting desktop background

#5 Post by majpooper »

Head_on_a_Stick wrote:Did you remember to start /usr/bin/icewmbg?

Reference: https://ice-wm.org/FAQ/
OK this must be the problem - I have been to the Ref a lot but must be overlooking something. I have tried starting icewmbg from the terminal

Code: Select all

$ icewmbg
several times but I get a warning that another icewmbg is still running.

Sorry to be so thick but what am I missing here?

User avatar
Head_on_a_Stick
Posts: 13450
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: IceWM - setting desktop background

#6 Post by Head_on_a_Stick »

Please post all of your configuration files in full.
Black Lives Matter

Debian buster-backports ISO image: for new hardware support

User avatar
majpooper
Posts: 13
Joined: 2019-03-19 13:00

Re: IceWM - setting desktop background

#7 Post by majpooper »

There is quite a bit of data here - I will do preferences in a separate reply
I did not touch keys or winoptions
menu - I used menumaker

Code: Select all

#menu "Development" folder {
#    prog "Elementary Perf" - elementary_perf
#   prog "Elementary Test" - elementary_test
#}
menu "Mousepad" folder {
    prog "Mousepad" - mousepad
#    prog "Nano" - gnome-terminal -e nano
#    prog "Pico" - gnome-terminal -e pico
#    prog "Vi" - gnome-terminal -e vi
}
menu "Firefox" folder {
    prog "Firefox ESR" - firefox-esr
}
menu "Office" folder {
    prog "AbiWord" - abiword
    prog "Document Viewer" - evince
    prog "Gnumeric" - gnumeric
}
menu "File Manager" folder {
    prog "PCManFM" - pcmanfm
}
menu "Terminal" folder {
    prog "Terminal" - gnome-terminal
}   

~/.icewm

Code: Select all

sparky@MacBook:~/.icewm$ ls -l
total 272
-rw-r--r-- 1 sparky sparky 201835 Feb 21 13:33 debian.jpg
-rwxrwxrwx 1 root   root     1798 Mar  6 15:37 keys
-rw-r--r-- 1 sparky sparky    615 Mar  7 00:33 menu
-rw-r--r-- 1 sparky sparky   3439 Mar  6 20:50 menu.save
-rwxrwxrwx 1 root   root     2833 Mar  6 15:55 old_menu
-rwxrwxrwx 1 root   root    36542 Mar  7 01:17 preferences
-rwxrwxrwx 1 sparky sparky     44 Mar  7 01:28 startup
-rw-r--r-- 1 sparky sparky    342 Mar  5 17:22 theme
drwxr-xr-x 3 sparky sparky   4096 Mar  5 17:23 themes
-rwxrwxrwx 1 root   root      267 Mar  6 16:21 toolbar
-rwxrwxrwx 1 root   root     1194 Mar  6 15:36 winoptions
startup

Code: Select all

#!/bin/bash
#start network manager
nm-applet
toolbar - I don't use any of this stuff so commented it out

Code: Select all

# This is a default toolbar definition file for IceWM
#
# Place your personal variant in $HOME/.icewm directory.

#prog XTerm ! x-terminal-emulator
#prog FTE fte fte
#prog Netscape netscape netscape
#prog    "Vim" vim /usr/bin/gvim -f
#prog    "WWW" ! x-www-browser

theme - actually I could get rid of all the themes in /usr/share/icewm/themes

Code: Select all

Theme="buuf/default.theme"
#Theme="icedesert/default.theme"
#Theme="Nitrogen/default.theme"
#Theme="Se7en/default.theme"
#Theme="WinClassic2/default.theme"
#Theme="WindowsNT/default.theme"
#Theme="buuf/default.theme"
#Theme="Helix/default.theme"
#Theme="CrystalBlue/default.theme"
#Theme="NanoBlue/default.theme"
#Theme="win95/default.theme"

User avatar
majpooper
Posts: 13
Joined: 2019-03-19 13:00

Re: IceWM - setting desktop background

#8 Post by majpooper »

~/.icewm/preferences

Code: Select all

# icewm preferences(2.1.2) - generated by genpref

# This file should be copied to /etc/X11/icewm or $HOME/.icewm/
# NOTE: All settings are commented out by default.
# Be sure to uncomment them if you change them!

#  Use a 32-bit visual for alpha blending
# Alpha=0 # 0/1

#  Synchronize X11 for debugging (slow)
# Synchronize=0 # 0/1

#  Enable event logging for debugging
# LogEvents=0 # 0/1

#  Splash image on startup (IceWM.jpg)
# Splash=""

#  Enable tracing for the given modules
# Trace=""

#  Focus windows by clicking
# ClickToFocus=1 # 0/1

#  Focus windows when application requests to raise
# FocusOnAppRaise=0 # 0/1

#  Request focus (flashing in taskbar) when application requests raise
# RequestFocusOnAppRaise=1 # 0/1

#  Raise windows when focused
# RaiseOnFocus=1 # 0/1

#  Focus window when client area clicked
# FocusOnClickClient=1 # 0/1

#  Raise window when client area clicked
# RaiseOnClickClient=1 # 0/1

#  Raise window when title bar is clicked
# RaiseOnClickTitleBar=1 # 0/1

#  Raise window when frame button is clicked
# RaiseOnClickButton=1 # 0/1

#  Raise window when frame border is clicked
# RaiseOnClickFrame=1 # 0/1

#  Lower the active window when clicked again
# LowerOnClickWhenRaised=0 # 0/1

#  Pass focusing click on client area to client
# PassFirstClickToClient=1 # 0/1

#  Change to the workspace of newly focused windows
# FocusChangesWorkspace=0 # 0/1

#  Move newly focused windows to current workspace
# FocusCurrentWorkspace=0 # 0/1

#  Focus normal window when initially mapped
# FocusOnMap=1 # 0/1

#  Focus dialog window when initially mapped
# FocusOnMapTransient=0 # 0/1

#  Focus dialog window when initially mapped only if parent frame focused
# FocusOnMapTransientActive=1 # 0/1

#  Put new windows on top even if not focusing them
# MapInactiveOnTop=1 # 0/1

#  Colormap focus follows pointer
# PointerColormap=1 # 0/1

#  Don't rotate the cursor for popup menus
# DontRotateMenuPointer=1 # 0/1

#  Limit size of windows to screen
# LimitSize=1 # 0/1

#  Limit position of windows to screen
# LimitPosition=1 # 0/1

#  Let the Dock layer limit the workspace (incompatible with GNOME Panel)
# LimitByDockLayer=0 # 0/1

#  Consider border frames when maximizing horizontally
# ConsiderHBorder=0 # 0/1

#  Consider border frames when maximizing vertically
# ConsiderVBorder=0 # 0/1

#  Consider XSizeHints if frame is maximized
# ConsiderSizeHintsMaximized=1 # 0/1

#  Center maximized windows which can't fit the screen (like terminals)
# CenterMaximizedWindows=0 # 0/1

#  Hide window borders if window is maximized
# HideBordersMaximized=0 # 0/1

#  Maximized windows can be resized
# SizeMaximized=0 # 0/1

#  Show position status window during move/resize
# ShowMoveSizeStatus=1 # 0/1

#  Show name of current workspace while switching
# ShowWorkspaceStatus=1 # 0/1

#  Display mini-icons on desktop for minimized windows
# MinimizeToDesktop=0 # 0/1

#  Place the mini-icons horizontal instead of vertical
# MiniIconsPlaceHorizontal=0 # 0/1

#  Place new mini-icons from right to left
# MiniIconsRightToLeft=0 # 0/1

#  Place new mini-icons from bottom to top
# MiniIconsBottomToTop=0 # 0/1

#  Always maintain focus under mouse window (makes some keyboard support non-functional or unreliable)
# StrongPointerFocus=0 # 0/1

#  Opaque window move
# OpaqueMove=1 # 0/1

#  Opaque window resize
# OpaqueResize=1 # 0/1

#  Windows initially placed manually by user
# ManualPlacement=0 # 0/1

#  Smart window placement with minimal overlap
# SmartPlacement=1 # 0/1

#  Hide title bar when maximized
# HideTitleBarWhenMaximized=0 # 0/1

#  Center large windows
# CenterLarge=0 # 0/1

#  Center dialogs on owner window
# CenterTransientsOnOwner=1 # 0/1

#  Menus track mouse even with no mouse buttons held
# MenuMouseTracking=0 # 0/1

#  Auto raise windows after delay
# AutoRaise=0 # 0/1

#  Delay pointer focusing when mouse moves
# DelayPointerFocus=1 # 0/1

#  Support win95 keyboard keys (Penguin/Meta/Win_L,R shows menu)
# Win95Keys=1 # 0/1

#  Treat Super/Win modifier as Ctrl+Alt
# ModSuperIsCtrlAlt=1 # 0/1

#  Support mouse wheel
# UseMouseWheel=0 # 0/1

#  Show popup menus above mouse pointer
# ShowPopupsAbovePointer=0 # 0/1

#  Send the clicks outside menus to target window
# ReplayMenuCancelClick=0 # 0/1

#  Alt+Tab window switching
# QuickSwitch=1 # 0/1

#  Alt+Tab to minimized windows
# QuickSwitchToMinimized=1 # 0/1

#  Alt+Tab to hidden windows
# QuickSwitchToHidden=1 # 0/1

#  Prioritize Alt+Tab to urgent windows
# QuickSwitchToUrgent=1 # 0/1

#  Alt+Tab to windows on other workspaces
# QuickSwitchToAllWorkspaces=0 # 0/1

#  Alt+Tab: group windows on current workspace
# QuickSwitchGroupWorkspaces=1 # 0/1

#  Show all reachable icons when quick switching
# QuickSwitchAllIcons=1 # 0/1

#  Show the window title above (all reachable) icons
# QuickSwitchTextFirst=0 # 0/1

#  Create a smaller QuickSwitch window of 1/3 screen width
# QuickSwitchSmallWindow=0 # 0/1

#  Go trough all window titles and choose width of the longest one
# QuickSwitchMaxWidth=0 # 0/1

#  Place the icons and titles vertical instead of horizontal
# QuickSwitchVertical=1 # 0/1

#  Show the huge (48x48) of the window icon for the active window
# QuickSwitchHugeIcon=0 # 0/1

#  Fill the rectangle highlighting the current icon
# QuickSwitchFillSelection=0 # 0/1

#  Manage root window (EXPERIMENTAL - normally enabled!)
# GrabRootWindow=1 # 0/1

#  Snap to nearest screen edge/window when moving windows
# SnapMove=1 # 0/1

#  Workspace switches by moving mouse to left/right screen edge
# EdgeSwitch=0 # 0/1

#  Workspace switches by moving mouse to left/right screen edge
# HorizontalEdgeSwitch=0 # 0/1

#  Workspace switches by moving mouse to top/bottom screen edge
# VerticalEdgeSwitch=0 # 0/1

#  Workspace switches continuously when moving mouse to screen edge
# ContinuousEdgeSwitch=1 # 0/1

#  Reload menu files automatically
# AutoReloadMenus=1 # 0/1

#  Automatically arrange windows when screen size changes
# ArrangeWindowsOnScreenSizeChange=1 # 0/1

#  Show task bar
# ShowTaskBar=1 # 0/1

#  Task bar at top of the screen
TaskBarAtTop=1 # 0/1

#  Keep the task bar below regular windows
# TaskBarKeepBelow=0 # 0/1

#  Auto hide task bar after delay
# TaskBarAutoHide=0 # 0/1

#  Auto show task bar when fullscreen window active
# TaskBarFullscreenAutoShow=1 # 0/1

#  Show clock on task bar
# TaskBarShowClock=1 # 0/1

#  Show battery status monitor on task bar
# TaskBarShowAPMStatus=0 # 0/1

#  Enable TaskBarShowAPMStatus if a battery is present
# TaskBarShowAPMAuto=1 # 0/1

#  Show battery status on task bar in time-format
# TaskBarShowAPMTime=1 # 0/1

#  Show battery status in graph mode
# TaskBarShowAPMGraph=1 # 0/1

#  Show mailbox status on task bar
# TaskBarShowMailboxStatus=1 # 0/1

#  Beep when new mail arrives
# TaskBarMailboxStatusBeepOnNewMail=0 # 0/1

#  Count messages in mailbox
# TaskBarMailboxStatusCountMessages=0 # 0/1

#  Show workspace switching buttons on task bar
TaskBarShowWorkspaces=0 # 0/1

#  Show windows on the taskbar
TaskBarShowWindows=1 # 0/1

#  Show 'show desktop' button on taskbar (value of 2 to put after the clock)
TaskBarShowShowDesktopButton=0 # [0-2]

#  Show Ellipsis in taskbar items as indicator of further collapsed content.
# ShowEllipsis=1 # 0/1

#  Show application icons in the tray panel
# TaskBarShowTray=1 # 0/1

#  Enable the system tray in the taskbar
# TaskBarEnableSystemTray=1 # 0/1

#  Show windows from all workspaces on tray
# TrayShowAllWindows=1 # 0/1

#  Show transient (dialogs, ...) windows on task bar
# TaskBarShowTransientWindows=1 # 0/1

#  Show windows from all workspaces on task bar
# TaskBarShowAllWindows=0 # 0/1

#  Show icons of windows on the task bar
# TaskBarShowWindowIcons=1 # 0/1

#  Show 'Start' menu on task bar
# TaskBarShowStartMenu=1 # 0/1

#  Show 'window list' menu on task bar
TaskBarShowWindowListMenu=0 # 0/1

#  Show CPU status on task bar
TaskBarShowCPUStatus=0 # 0/1

#  Show RAM usage in CPU status tool tip
# CPUStatusShowRamUsage=1 # 0/1

#  Show swap usage in CPU status tool tip
# CPUStatusShowSwapUsage=1 # 0/1

#  Show ACPI temperature in CPU status tool tip
# CPUStatusShowAcpiTemp=1 # 0/1

#  Show ACPI temperature in CPU status bar
# CPUStatusShowAcpiTempInGraph=0 # 0/1

#  Show CPU frequency in CPU status tool tip
# CPUStatusShowCpuFreq=1 # 0/1

#  Show memory usage status on task bar (Linux only)
TaskBarShowMEMStatus=0 # 0/1

#  Show network status on task bar
TaskBarShowNetStatus=0 # 0/1

#  Show a button to collapse the taskbar
# TaskBarShowCollapseButton=0 # 0/1

#  Use double-height task bar
# TaskBarDoubleHeight=0 # 0/1

#  Place workspace pager on left, not right
# TaskBarWorkspacesLeft=1 # 0/1

#  Place workspace pager on top row when using dual-height taskbar
# TaskBarWorkspacesTop=0 # 0/1

#  Limit number of taskbar workspaces
# TaskBarWorkspacesLimit=""

#  Enable mouse wheel cycling over workspaces and task buttons in taskbar
# TaskBarUseMouseWheel=1 # 0/1

#  Show a mini desktop preview on each workspace button
# PagerShowPreview=1 # 0/1

#  Draw window icons inside large enough preview windows on pager (if PagerShowPreview=1)
# PagerShowWindowIcons=1 # 0/1

#  Draw even minimized windows as unfilled rectangles (if PagerShowPreview=1)
# PagerShowMinimized=1 # 0/1

#  Draw border around workspace buttons (if PagerShowPreview=1)
# PagerShowBorders=1 # 0/1

#  Show workspace name label on workspace button (if PagerShowPreview=1)
# PagerShowLabels=1 # 0/1

#  Show number of workspace on workspace button (if PagerShowPreview=1)
# PagerShowNumbers=0 # 0/1

#  Execute taskbar applet commands (like MailCommand, ClockCommand, ...) on single click
# TaskBarLaunchOnSingleClick=1 # 0/1

#  Allow mouse actions on client windows (buggy with some programs)
# ClientWindowMouseActions=1 # 0/1

#  Show programs submenu in the program menu
# ShowProgramsMenu=1 # 0/1

#  Show settings submenu in the program menu
# ShowSettingsMenu=1 # 0/1

#  Show focus mode submenu in the program menu
# ShowFocusModeMenu=1 # 0/1

#  Show themes submenu in the program menu
# ShowThemesMenu=1 # 0/1

#  Show logout menu in the program menu
# ShowLogoutMenu=1 # 0/1

#  Show the help menu item in the program menu
# ShowHelp=1 # 0/1

#  Show logout submenu in the program menu
# ShowLogoutSubMenu=1 # 0/1

#  Show the about menu item in the program menu
# ShowAbout=1 # 0/1

#  Show the run menu item in the program menu
# ShowRun=1 # 0/1

#  Show the window menu item in the program menu
# ShowWindowList=1 # 0/1

#  Allow to switch a window to fullscreen
# AllowFullscreen=1 # 0/1

#  Span over all available screens if window goes into fullscreen
# FullscreenUseAllMonitors=0 # 0/1

#  Enable address bar functionality in taskbar
EnableAddressBar=0 # 0/1

#  Show address bar in task bar
# ShowAddressBar=1 # 0/1

#  Overrides automatic multiple byte detection
# MultiByte=1 # 0/1

#  Confirm logout
ConfirmLogout=0 # 0/1

#  Don't cut client windows by shapes set trough frame corner pixmap
# ShapesProtectClientWindow=1 # 0/1

#  Use double buffering when redrawing the display
# DoubleBuffer=1 # 0/1

#  Disable use of new XRANDR API for dual head (nvidia workaround)
# XRRDisable=0 # 0/1

#  Favour Xft fonts over core X11 fonts where possible
# PreferFreetypeFonts=1 # 0/1

#  Delay fuzziness in ms, to allow merging of multiple timer timeouts into one for notebook power saving
# DelayFuzziness=10 # [0-100]

#  Pointer motion distance before click gets interpreted as drag
# ClickMotionDistance=4 # [0-32]

#  Delay in ms before click gets interpreted as drag
# ClickMotionDelay=200 # [0-2000]

#  Multiple click time in ms
# MultiClickTime=400 # [0-5000]

#  Delay in ms before activating menu items
# MenuActivateDelay=40 # [0-5000]

#  Delay in ms before activating menu submenus
# SubmenuMenuActivateDelay=300 # [0-5000]

#  Maximal width of popup menus,  2/3 of the screen's width if set to zero
# MenuMaximalWidth=0 # [0-16384]

#  Delay in ms before tooltip window is displayed
# ToolTipDelay=500 # [0-5000]

#  Time in ms before tooltip window is hidden (0 means never
# ToolTipTime=0 # [0-60000]

#  Delay in ms before task bar is hidden
# AutoHideDelay=300 # [0-5000]

#  Delay in ms before task bar is shown
# AutoShowDelay=500 # [0-5000]

#  Delay in ms before windows are auto raised
# AutoRaiseDelay=400 # [0-5000]

#  Resistance in pixels when trying to move windows off the screen (10000 = infinite)
# EdgeResistance=32 # [0-10000]

#  Delay in ms for pointer focus switching
# PointerFocusDelay=200 # [0-1000]

#  Distance in pixels before windows snap together
# SnapDistance=8 # [0-64]

#  Screen edge workspace switching delay in ms
# EdgeSwitchDelay=600 # [0-5000]

#  Inital scroll bar autoscroll delay in ms
# ScrollBarStartDelay=500 # [0-5000]

#  Scroll bar autoscroll delay in ms
# ScrollBarDelay=30 # [0-5000]

#  Auto scroll start delay in ms
# AutoScrollStartDelay=500 # [0-5000]

#  Auto scroll delay in ms
# AutoScrollDelay=60 # [0-5000]

#  Time before workspace status window is hidden in ms
# WorkspaceStatusTime=700 # [0-2500]

#  Bitmask of root window button click to use in window manager
# UseRootButtons=255 # [0-255]

#  Bitmask of buttons that raise the window when pressed
# ButtonRaiseMask=1 # [0-255]

#  Desktop mouse-button click to show the window list menu
# DesktopWinMenuButton=0 # [0-20]

#  Desktop mouse-button click to show the window list
# DesktopWinListButton=2 # [0-20]

#  Desktop mouse-button click to show the root menu
# DesktopMenuButton=3 # [0-20]

#  TitleBar mouse-button double click to maximize the window
# TitleBarMaximizeButton=1 # [0-5]

#  TitleBar mouse-button double click to rollup the window
# TitleBarRollupButton=2 # [0-5]

#  Preselect to Cancel (0) or the OK (1) button in message boxes
# MsgBoxDefaultAction=0 # [0-1]

#  Delay between new-mail checks in seconds
# MailCheckDelay=30 # [0-86400]

#  Delay between CPU Monitor samples in ms
# TaskBarCPUDelay=500 # [10-3600000]

#  The width of the CPU Monitor applet in pixels
# TaskBarCPUSamples=20 # [2-1000]

#  The width of the Memory Monitor applet in pixels
# TaskBarMEMSamples=20 # [2-1000]

#  Delay between Memory Monitor samples in ms
# TaskBarMEMDelay=500 # [10-3600000]

#  The width of the Net Monitor applet in pixels
# TaskBarNetSamples=20 # [2-1000]

#  Delay between Net Monitor samples in ms
# TaskBarNetDelay=500 # [10-3600000]

#  default number of tasks in taskbar
# TaskbarButtonWidthDivisor=3 # [1-25]

#  Task bar width as percentage of the screen width
# TaskBarWidthPercentage=100 # [0-100]

#  Taskbar justify left, right or center
# TaskBarJustify="left"

#  Width of battery Monitor
# TaskBarApmGraphWidth=10 # [1-1000]

#  Height of taskbar monitoring applets
# TaskBarGraphHeight=20 # [16-1000]

#  Primary screen for xinerama where taskbar is shown
# XineramaPrimaryScreen=0 # [0-63]

#  Number of seconds the taskbar app will blink when requesting focus (0 = forever)
# FocusRequestFlashTime=0 # [0-86400]

#  Taskbar blink interval (ms) when requesting focus (0 = blinking disabled)
# FocusRequestFlashInterval=250 # [0-30000]

#  Minimal number of themes after which the Themes menu becomes nested (0=disabled)
# NestedThemeMenuMinNumber=21 # [0-1234]

#  Delay between power status updates in seconds
# BatteryPollingPeriod=10 # [2-3600]

#  NET_WORKAREA behaviour: 0 (single/multimonitor with STRUT information, like metacity), 1 (always full desktop), 2 (singlemonitor with STRUT, multimonitor without STRUT)
# NetWorkAreaBehaviour=0 # [0-2]

#  Icon search path (colon separated)
# IconPath="/usr/local/share/icons:/usr/local/share/pixmaps:/usr/share/icons:/usr/share/pixmaps:"

#  Colon separated icon theme list with wildcard support. Minus prefix - can be used to exclude themes.
# IconThemes="*:-HighContrast"

#  Colon separated paths of your mailboxes, otherwise $MAILPATH or $MAIL is used
# MailBoxPath=""

#  Command to run on mailbox
# MailCommand="x-terminal-emulator -name mutt -e mutt"

#  WM_CLASS to allow runonce for MailCommand
# MailClassHint="mutt.XTerm"

#  Command to run when new mail arrives
# NewMailCommand=""

#  Command to lock display/screensaver
# LockCommand="xscreensaver-command -lock"

#  Command to run on clock
# ClockCommand="xclock -name icewm -title Clock"

#  WM_CLASS to allow runonce for ClockCommand
# ClockClassHint="icewm.XClock"

#  Command to select and run a program
# RunCommand=""

# OpenCommand=""

#  Terminal emulator must accept -e option.
# TerminalCommand="x-terminal-emulator -hold"

#  Command to start logout
# LogoutCommand=""

#  Command to cancel logout
# LogoutCancelCommand=""

#  Command to shutdown the system
# ShutdownCommand="test -e /run/systemd/system && systemctl poweroff || sudo -n /sbin/poweroff"

#  Command to reboot the system
# RebootCommand="test -e /run/systemd/system && systemctl reboot || sudo -n /sbin/reboot"

#  Command to send the system to standby mode
# SuspendCommand="test -e /run/systemd/system && systemctl suspend || sudon -n /usr/sbin/pm-suspend"

#  Command to run on CPU status
# CPUStatusCommand="x-terminal-emulator -T 'Process Status' -e top"

#  WM_CLASS to allow runonce for CPUStatusCommand
# CPUStatusClassHint="top.XTerm"

#  Combine all CPUs to one
# CPUStatusCombine=1 # 0/1

#  Command to run on Net status
# NetStatusCommand="x-terminal-emulator -T 'Network Status' -e /bin/sh /usr/share/icewm/netstat.sh"

#  WM_CLASS to allow runonce for NetStatusCommand
# NetStatusClassHint="ss.XTerm"

#  Command to run for address bar entries
# AddressBarCommand=""

#  Network device to show status for
# NetworkStatusDevice="[ew]*"

#  Clock Time format (strftime format string)
TimeFormat="%-I:%M %P"

#  Alternate Clock Time format for blinking effects
# TimeFormatAlt=""

#  Clock Date format for tooltip (strftime format string)
# DateFormat="%c"

#  screen/output name of the primary screen
# XRRPrimaryScreenName=""

#  List of battery names (directories) in /proc/acpi/battery to ignore. Useful when more slots are built-in, but only one battery is used
# AcpiIgnoreBatteries=""

#  Mouse binding for window move
# MouseWinMove="Alt+Pointer_Button1"

#  Mouse binding for window resize
# MouseWinSize="Alt+Pointer_Button3"

#  Mouse binding to raise window
# MouseWinRaise="Ctrl+Alt+Pointer_Button1"

#  Mouse binding to lower window
# MouseWinLower="Ctrl+Alt+Pointer_Button1"

# KeyWinRaise="Alt+F1"

# KeyWinOccupyAll="Alt+F2"

# KeyWinLower="Alt+F3"

# KeyWinClose="Alt+F4"

# KeyWinRestore="Alt+F5"

# KeyWinPrev="Alt+Shift+F6"

# KeyWinNext="Alt+F6"

# KeyWinMove="Alt+F7"

# KeyWinSize="Alt+F8"

# KeyWinMinimize="Alt+F9"

# KeyWinMaximize="Alt+F10"

# KeyWinMaximizeVert="Alt+Shift+F10"

# KeyWinMaximizeHoriz=""

# KeyWinFullscreen="Alt+F11"

# KeyWinHide="Alt+Shift+F12"

# KeyWinRollup="Alt+F12"

# KeyWinMenu="Alt+Space"

# KeyWinArrangeN="Ctrl+Alt+KP_8"

# KeyWinArrangeNE="Ctrl+Alt+KP_9"

# KeyWinArrangeE="Ctrl+Alt+KP_6"

# KeyWinArrangeSE="Ctrl+Alt+KP_3"

# KeyWinArrangeS="Ctrl+Alt+KP_2"

# KeyWinArrangeSW="Ctrl+Alt+KP_1"

# KeyWinArrangeW="Ctrl+Alt+KP_4"

# KeyWinArrangeNW="Ctrl+Alt+KP_7"

# KeyWinArrangeC="Ctrl+Alt+KP_5"

# KeyWinSmartPlace="Ctrl+Alt+Shift+KP_5"

# KeySysSwitchNext="Alt+Tab"

# KeySysSwitchLast="Alt+Shift+Tab"

# KeySysSwitchClass="Alt+grave"

# KeySysWinNext="Alt+Esc"

# KeySysWinPrev="Alt+Shift+Esc"

#  Switch to the next window in the Task Bar
# KeyTaskBarSwitchNext=""

#  Switch to the previous window in the Task Bar
# KeyTaskBarSwitchPrev=""

#  Move the Task Bar button of the current window right
# KeyTaskBarMoveNext=""

#  Move the Task Bar button of the current window left
# KeyTaskBarMovePrev=""

# KeySysWinMenu="Shift+Esc"

# KeySysDialog="Alt+Ctrl+Del"

# KeySysMenu="Ctrl+Esc"

# KeySysWindowList="Alt+Ctrl+Esc"

# KeySysWinListMenu=""

# KeySysAddressBar="Alt+Ctrl+Space"

# KeySysWorkspacePrev="Alt+Ctrl+Left"

# KeySysWorkspaceNext="Alt+Ctrl+Right"

# KeySysWorkspaceLast="Alt+Ctrl+Down"

# KeySysWorkspacePrevTakeWin="Alt+Ctrl+Shift+Left"

# KeySysWorkspaceNextTakeWin="Alt+Ctrl+Shift+Right"

# KeySysWorkspaceLastTakeWin="Alt+Ctrl+Shift+Down"

# KeySysWorkspace1="Alt+Ctrl+1"

# KeySysWorkspace2="Alt+Ctrl+2"

# KeySysWorkspace3="Alt+Ctrl+3"

# KeySysWorkspace4="Alt+Ctrl+4"

# KeySysWorkspace5="Alt+Ctrl+5"

# KeySysWorkspace6="Alt+Ctrl+6"

# KeySysWorkspace7="Alt+Ctrl+7"

# KeySysWorkspace8="Alt+Ctrl+8"

# KeySysWorkspace9="Alt+Ctrl+9"

# KeySysWorkspace10="Alt+Ctrl+0"

# KeySysWorkspace11="Alt+Ctrl+bracketleft"

# KeySysWorkspace12="Alt+Ctrl+bracketright"

# KeySysWorkspace1TakeWin="Alt+Ctrl+Shift+1"

# KeySysWorkspace2TakeWin="Alt+Ctrl+Shift+2"

# KeySysWorkspace3TakeWin="Alt+Ctrl+Shift+3"

# KeySysWorkspace4TakeWin="Alt+Ctrl+Shift+4"

# KeySysWorkspace5TakeWin="Alt+Ctrl+Shift+5"

# KeySysWorkspace6TakeWin="Alt+Ctrl+Shift+6"

# KeySysWorkspace7TakeWin="Alt+Ctrl+Shift+7"

# KeySysWorkspace8TakeWin="Alt+Ctrl+Shift+8"

# KeySysWorkspace9TakeWin="Alt+Ctrl+Shift+9"

# KeySysWorkspace10TakeWin="Alt+Ctrl+Shift+0"

# KeySysWorkspace11TakeWin="Alt+Ctrl+Shift+bracketleft"

# KeySysWorkspace12TakeWin="Alt+Ctrl+Shift+bracketright"

# KeySysTileVertical="Alt+Shift+F2"

# KeySysTileHorizontal="Alt+Shift+F3"

# KeySysCascade="Alt+Shift+F4"

# KeySysArrange="Alt+Shift+F5"

# KeySysArrangeIcons="Alt+Shift+F8"

# KeySysMinimizeAll="Alt+Shift+F9"

# KeySysHideAll="Alt+Shift+F11"

# KeySysUndoArrange="Alt+Shift+F7"

# KeySysShowDesktop="Alt+Ctrl+d"

# KeySysCollapseTaskBar="Alt+Ctrl+h"

WorkspaceNames=""

# KeyboardLayouts=""

#  Items supported in menu window (rmsnxfhualytickw)
# WinMenuItems="rmsnxfhualyticw"

# -----------------------------------------------------------
# Themable preferences. Themes will override these.
# To override the themes, place them in ~/.icewm/prefoverride
# -----------------------------------------------------------

#  Does it support the 'O' title bar button images (for mouse rollover)
# RolloverButtonsSupported=0 # 0/1

#  Task bar clock/battery monitor uses nice pixmap LCD display (but then it doesn't display correctly in many languages anymore, e.g., for Japanese and Korean it works only when a real font is used and not the LCD pixmaps
# TaskBarClockLeds=0 # 0/1

#  Width of taskbutton side icons
# TaskbuttonIconOffset=0 # [0-16]

#  Maximum scaled width of tray icons
# TrayIconMaxWidth=32 # [16-128]

#  Maximum scaled height of tray icons
# TrayIconMaxHeight=24 # [16-128]

#  Surround the tray with plastic border
# TrayDrawBevel=0 # 0/1

#  Draw window title centered (obsoleted by TitleBarJustify)
# TitleBarCentered=0 # 0/1

#  Join title*S and title*T
# TitleBarJoinLeft=0 # 0/1

#  Join title*T and title*B
# TitleBarJoinRight=0 # 0/1

#  Show application icon over menu button
# ShowMenuButtonIcon=1 # 0/1

#  Horizontal window border
# BorderSizeX=6 # [0-128]

#  Vertical window border
# BorderSizeY=6 # [0-128]

#  Horizontal dialog window border
# DlgBorderSizeX=2 # [0-128]

#  Vertical dialog window border
# DlgBorderSizeY=2 # [0-128]

#  Resize corner width
# CornerSizeX=24 # [0-64]

#  Resize corner height
# CornerSizeY=24 # [0-64]

#  Title bar height
# TitleBarHeight=20 # [0-128]

#  Justification of the window title
# TitleBarJustify=0 # [0-100]

#  Horizontal offset for the window title text
# TitleBarHorzOffset=0 # [-128-128]

#  Vertical offset for the window title text
# TitleBarVertOffset=0 # [-128-128]

#  Vertical offset for the menu button icon
# MenuButtonIconVertOffset=0 # [-128-128]

#  Scrollbar width
# ScrollBarX=16 # [0-64]

#  Scrollbar (button) height
# ScrollBarY=16 # [0-64]

#  Menu icon size
# MenuIconSize=16 # [8-128]

#  Dimension of the small icons
# SmallIconSize=16 # [8-128]

#  Dimension of the large icons
# LargeIconSize=32 # [8-128]

#  Dimension of the large icons
# HugeIconSize=48 # [8-128]

#  Horizontal margin of the quickswitch window
# QuickSwitchHorzMargin=3 # [0-64]

#  Vertical margin of the quickswitch window
# QuickSwitchVertMargin=3 # [0-64]

#  Vertical margin in the quickswitch window
# QuickSwitchIconMargin=4 # [0-64]

#  Distance between the active icon and it's border
# QuickSwitchIconBorder=2 # [0-64]

#  Height of the separator between (all reachable) icons and text, 0 to avoid it
# QuickSwitchSeparatorSize=6 # [0-64]

#  Theme author, e-mail address, credits
# ThemeAuthor=""

#  Description of the theme, credits
# ThemeDescription=""

#  Titlebar buttons from left to right (x=close, m=max, i=min, h=hide, r=rollup, s=sysmenu, d=depth)
# TitleButtonsLeft="s"

#  Titlebar buttons from right to left (x=close, m=max, i=min, h=hide, r=rollup, s=sysmenu, d=depth)
# TitleButtonsRight="xmir"

#  Titlebar buttons supported by theme (x,m,i,r,h,s,d)
# TitleButtonsSupported="xmis"

#  Name of the title bar font.
# TitleFontName="-*-sans-medium-r-*-*-*-120-*-*-*-*-*-*"

#  Name of the title bar font.
# TitleFontNameXft="sans-serif:size=11"

#  Name of the menu font.
# MenuFontName="-*-sans-bold-r-*-*-*-100-*-*-*-*-*-*"

#  Name of the menu font.
# MenuFontNameXft="sans-serif:size=10"

#  Name of the status display font.
# StatusFontName="-*-monospace-bold-r-*-*-*-120-*-*-*-*-*-*"

#  Name of the status display font.
# StatusFontNameXft="monospace:size=11:bold"

#  Name of the font for Alt+Tab switcher window.
# QuickSwitchFontName="-*-monospace-bold-r-*-*-*-120-*-*-*-*-*-*"

#  Name of the font for Alt+Tab switcher window.
# QuickSwitchFontNameXft="monospace:size=11"

#  Name of the normal button font.
# NormalButtonFontName="-*-sans-medium-r-*-*-*-120-*-*-*-*-*-*"

#  Name of the normal button font.
# NormalButtonFontNameXft="sans-serif:size=11"

#  Name of the active button font.
# ActiveButtonFontName="-*-sans-bold-r-*-*-*-120-*-*-*-*-*-*"

#  Name of the active button font.
# ActiveButtonFontNameXft="sans-serif:size=11:bold"

#  Name of the normal task bar item font.
# NormalTaskBarFontName="-*-sans-medium-r-*-*-*-120-*-*-*-*-*-*"

#  Name of the normal task bar item font.
# NormalTaskBarFontNameXft="sans-serif:size=11"

#  Name of the active task bar item font.
# ActiveTaskBarFontName="-*-sans-bold-r-*-*-*-120-*-*-*-*-*-*"

#  Name of the active task bar item font.
# ActiveTaskBarFontNameXft="sans-serif:size=11:bold"

#  Name of the tool button font (fallback: NormalButtonFontName).
# ToolButtonFontName="-*-sans-medium-r-*-*-*-120-*-*-*-*-*-*"

#  Name of the tool button font (fallback: NormalButtonFontName).
# ToolButtonFontNameXft="sans-serif:size=11"

#  Name of the normal workspace button font (fallback: NormalButtonFontName).
# NormalWorkspaceFontName="-*-sans-medium-r-*-*-*-120-*-*-*-*-*-*"

#  Name of the normal workspace button font (fallback: NormalButtonFontName).
# NormalWorkspaceFontNameXft="sans-serif:size=11"

#  Name of the active workspace button font (fallback: ActiveButtonFontName).
# ActiveWorkspaceFontName="-*-sans-medium-r-*-*-*-120-*-*-*-*-*-*"

#  Name of the active workspace button font (fallback: ActiveButtonFontName).
# ActiveWorkspaceFontNameXft="sans-serif:size=11"

#  Name of the mini-window font.
# MinimizedWindowFontName="-*-sans-medium-r-*-*-*-120-*-*-*-*-*-*"

#  Name of the mini-window font.
# MinimizedWindowFontNameXft="sans-serif:size=11"

#  Name of the window list font.
# ListBoxFontName="-*-sans-medium-r-*-*-*-120-*-*-*-*-*-*"

#  Name of the window list font.
# ListBoxFontNameXft="sans-serif:size=11"

#  Name of the tool tip font.
# ToolTipFontName="-*-sans-medium-r-*-*-*-120-*-*-*-*-*-*"

#  Name of the tool tip font.
# ToolTipFontNameXft="sans-serif:size=11"

#  Name of the task bar clock font.
# ClockFontName="-*-monospace-medium-r-*-*-*-140-*-*-*-*-*-*"

#  Name of the task bar clock font.
# ClockFontNameXft="monospace:size=11"

#  Name of the task bar temperature font.
# TempFontName="-*-monospace-medium-r-*-*-*-140-*-*-*-*-*-*"

#  Name of the task bar temperature font.
# TempFontNameXft="monospace:size=11"

#  Name of the task bar battery font.
# ApmFontName="-*-monospace-medium-r-*-*-*-140-*-*-*-*-*-*"

#  Name of the task bar battery font.
# ApmFontNameXft="monospace:size=11"

#  Name of the input field font.
# InputFontName="-*-monospace-medium-r-*-*-*-140-*-*-*-*-*-*"

#  Name of the input field font.
# InputFontNameXft="monospace:size=11"

#  Name of the label font.
# LabelFontName="-*-sans-medium-r-*-*-*-140-*-*-*-*-*-*"

#  Name of the label font.
# LabelFontNameXft="sans-serif:size=11"

#  Background of dialog windows
# ColorDialog="rgb:C0/C0/C0"

#  Border of inactive windows
# ColorNormalBorder="rgb:C0/C0/C0"

#  Border of active windows
# ColorActiveBorder="rgb:C0/C0/C0"

#  Background of regular buttons
# ColorNormalButton="rgb:C0/C0/C0"

#  Text color of regular buttons
# ColorNormalButtonText="rgb:00/00/00"

#  Background of pressed buttons
# ColorActiveButton="rgb:E0/E0/E0"

#  Text color of pressed buttons
# ColorActiveButtonText="rgb:00/00/00"

#  Background of titlebar buttons
# ColorNormalTitleButton="rgb:C0/C0/C0"

#  Text color of titlebar buttons
# ColorNormalTitleButtonText="rgb:00/00/00"

#  Background of toolbar buttons, ColorNormalButton is used if empty
# ColorToolButton=""

#  Text color of toolbar buttons, ColorNormalButtonText is used if empty
# ColorToolButtonText=""

#  Background of workspace buttons, ColorNormalButton is used if empty
# ColorNormalWorkspaceButton=""

#  Text color of workspace buttons, ColorNormalButtonText is used if empty
# ColorNormalWorkspaceButtonText=""

#  Background of the active workspace button, ColorActiveButton is used if empty
# ColorActiveWorkspaceButton=""

#  Text color of the active workspace button, ColorActiveButtonText is used if empty
# ColorActiveWorkspaceButtonText=""

#  Background of the titlebar of regular windows
# ColorNormalTitleBar="rgb:80/80/80"

#  Text color of the titlebar of regular windows
# ColorNormalTitleBarText="rgb:00/00/00"

#  Text shadow of the titlebar of regular windows
# ColorNormalTitleBarShadow=""

#  Background of the titlebar of active windows
# ColorActiveTitleBar="rgb:00/00/A0"

#  Text color of the titlebar of active windows
# ColorActiveTitleBarText="rgb:FF/FF/FF"

#  Text shadow of the titlebar of active windows
# ColorActiveTitleBarShadow=""

#  Background for mini icons of regular windows
# ColorNormalMinimizedWindow="rgb:C0/C0/C0"

#  Text color for mini icons of regular windows
# ColorNormalMinimizedWindowText="rgb:00/00/00"

#  Background for mini icons of active windows
# ColorActiveMinimizedWindow="rgb:E0/E0/E0"

#  Text color for mini icons of active windows
# ColorActiveMinimizedWindowText="rgb:00/00/00"

#  Background of pop-up menus
# ColorNormalMenu="rgb:C0/C0/C0"

#  Text color of regular menu items
# ColorNormalMenuItemText="rgb:00/00/00"

#  Background of selected menu item, leave empty to force transparency
# ColorActiveMenuItem="rgb:A0/A0/A0"

#  Text color of selected menu items
# ColorActiveMenuItemText="rgb:00/00/00"

#  Text color of disabled menu items
# ColorDisabledMenuItemText="rgb:80/80/80"

#  Shadow of regular menu items
# ColorDisabledMenuItemShadow=""

#  Background of move/resize status window
# ColorMoveSizeStatus="rgb:C0/C0/C0"

#  Text color of move/resize status window
# ColorMoveSizeStatusText="rgb:00/00/00"

#  Background of the quick switch window
# ColorQuickSwitch="rgb:C0/C0/C0"

#  Text color in the quick switch window
# ColorQuickSwitchText="rgb:00/00/00"

#  Rectangle arround the active icon in the quick switch window
# ColorQuickSwitchActive=""

#  Background of the taskbar
# ColorDefaultTaskBar="rgb:C0/C0/C0"

#  Background for task buttons of regular windows
# ColorNormalTaskBarApp="rgb:C0/C0/C0"

#  Text color for task buttons of regular windows
# ColorNormalTaskBarAppText="rgb:00/00/00"

#  Background for task buttons of the active window
# ColorActiveTaskBarApp="rgb:E0/E0/E0"

#  Text color for task buttons of the active window
# ColorActiveTaskBarAppText="rgb:00/00/00"

#  Background for task buttons of minimized windows
# ColorMinimizedTaskBarApp="rgb:A0/A0/A0"

#  Text color for task buttons of minimized windows
# ColorMinimizedTaskBarAppText="rgb:00/00/00"

#  Background for task buttons of windows on other workspaces
# ColorInvisibleTaskBarApp="rgb:80/80/80"

#  Text color for task buttons of windows on other workspaces
# ColorInvisibleTaskBarAppText="rgb:00/00/00"

#  Scrollbar background (sliding area)
# ColorScrollBar="rgb:A0/A0/A0"

#  Background of the slider button in scrollbars
# ColorScrollBarSlider="rgb:C0/C0/C0"

#  Background of the arrow buttons in scrollbars
# ColorScrollBarButton="rgb:C0/C0/C0"

#  Background of the arrow buttons in scrollbars (obsolete)
# ColorScrollBarArrow="rgb:C0/C0/C0"

#  Color of active arrows on scrollbar buttons
# ColorScrollBarButtonArrow="rgb:00/00/00"

#  Color of inactive arrows on scrollbar buttons
# ColorScrollBarInactiveArrow="rgb:80/80/80"

#  Background of listboxes
# ColorListBox="rgb:C0/C0/C0"

#  Text color in listboxes
# ColorListBoxText="rgb:00/00/00"

#  Background of selected listbox items
# ColorListBoxSelection="rgb:80/80/80"

#  Text color of selected listbox items
# ColorListBoxSelectionText="rgb:00/00/00"

#  Background of tooltips
# ColorToolTip="rgb:E0/E0/00"

#  Text color of tooltips
# ColorToolTipText="rgb:00/00/00"

#  Background of labels, leave empty to force transparency
# ColorLabel="rgb:C0/C0/C0"

#  Text color of labels
# ColorLabelText="rgb:00/00/00"

#  Background of text entry fields (e.g., the addressbar)
# ColorInput="rgb:FF/FF/FF"

#  Text color of text entry fields (e.g., the addressbar)
# ColorInputText="rgb:00/00/00"

#  Background of selected text in an entry field
# ColorInputSelection="rgb:80/80/80"

#  Selected text in an entry field
# ColorInputSelectionText="rgb:00/00/00"

#  Background of non-LCD clock, leave empty to force transparency
# ColorClock="rgb:00/00/00"

#  Background of non-LCD monitor
# ColorClockText="rgb:00/FF/00"

#  Background of battery monitor, leave empty to force transparency
# ColorApm="rgb:00/00/00"

#  Text color of battery monitor
# ColorApmText="rgb:00/FF/00"

#  Legacy option; don't use, see ColorApmBattery
# ColorApmBattary="rgb:FF/FF/00"

#  Color of battery monitor when discharging
# ColorApmBattery="rgb:FF/FF/00"

#  Color of battery monitor when charging
# ColorApmLine="rgb:00/FF/00"

#  Background color for graph mode
# ColorApmGraphBg="rgb:00/00/00"

#  User load on the CPU monitor
# ColorCPUStatusUser="rgb:00/FF/00"

#  System load on the CPU monitor
# ColorCPUStatusSystem="rgb:FF/00/00"

#  Interrupts on the CPU monitor
# ColorCPUStatusInterrupts="rgb:FF/FF/00"

#  IO Wait on the CPU monitor
# ColorCPUStatusIoWait="rgb:60/00/60"

#  Soft Interrupts on the CPU monitor
# ColorCPUStatusSoftIrq="rgb:00/FF/FF"

#  Nice load on the CPU monitor
# ColorCPUStatusNice="rgb:00/00/FF"

#  Idle (non) load on the CPU monitor, leave empty to force transparency
# ColorCPUStatusIdle="rgb:00/00/00"

#  Involuntary Wait on the CPU monitor
# ColorCPUStatusSteal="rgb:FF/8A/91"

#  Temperature of the CPU
# ColorCPUStatusTemp="rgb:60/60/C0"

#  User program usage in the memory monitor
# ColorMEMStatusUser="rgb:40/40/80"

#  OS buffers usage in the memory monitor
# ColorMEMStatusBuffers="rgb:60/60/C0"

#  OS cached usage in the memory monitor
# ColorMEMStatusCached="rgb:80/80/FF"

#  Free memory in the memory monitor
# ColorMEMStatusFree="rgb:00/00/00"

#  Outgoing load on the network monitor
# ColorNetSend="rgb:FF/FF/00"

#  Incoming load on the network monitor
# ColorNetReceive="rgb:FF/00/FF"

#  Idle (non) load on the network monitor, leave empty to force transparency
# ColorNetIdle="rgb:00/00/00"

#  List of gradient pixmaps in the current theme
# Gradients=""

# Look="nice"


#
# icewmbg preferences
#

#  Paint the background image over all multihead monitors combined
# DesktopBackgroundMultihead=0 # 0/1

#  Display desktop background centered and not tiled
# 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

#  Desktop background image(s)
DesktopBackgroundImage="/home/sparky/.icewm/debian.jpg"

#  Desktop background color(s)
# DesktopBackgroundColor=""

#  Image(s) to announce for semitransparent windows
# DesktopTransparencyImage=""

#  Color(s) to announce for semitransparent windows
# DesktopTransparencyColor=""

#  Choose a random selection from the list of background images
# ShuffleBackgroundImages=0 # 0/1

#  Seconds between cycling over all background images, default zero is off
# CycleBackgroundsPeriod=0 # [0-2147483647]


User avatar
Head_on_a_Stick
Posts: 13450
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: IceWM - setting desktop background

#9 Post by Head_on_a_Stick »

majpooper wrote:startup

Code: Select all

#!/bin/bash
#start network manager
nm-applet
Change that to this:

Code: Select all

#!/bin/sh
#start network manager
nm-applet &
You can use bash instead of sh if you really want to but I think you need the ampersand at the end of the line to fork() nm-applet, that should let the rest of the normal start up process continue.
Black Lives Matter

Debian buster-backports ISO image: for new hardware support

User avatar
majpooper
Posts: 13
Joined: 2019-03-19 13:00

Re: IceWM - setting desktop background

#10 Post by majpooper »

Head_on_a_Stick wrote:
majpooper wrote:startup

Code: Select all

#!/bin/sh
#start network manager
nm-applet &
You can use bash instead of sh if you really want to but I think you need the ampersand at the end of the line to fork() nm-applet, that should let the rest of the normal start up process continue.
Made that change but really didn't see any difference as far as startup.

Still can't change the background though - tried clicking on one of the backgrounds from Applications>Preferences>Backgrounds - no joy

I just don't get it - I have been all over the Internet and it is supposed to be such a simple change in ~/.icewm/preferences - I wonder if there is a bug in Bullseye ? ? ? Maybe I should try it in Debian 10 in a VM.

I am new to Debian although I have used Debian/Ubuntu based OS for several years so I don't know the nuances like I do with Mint, Ubuntu or Bodhi like why I can't make turning off the screensaver persistent, which is really a icewm issue not Debian issue and needs to be a separate thread.

User avatar
majpooper
Posts: 13
Joined: 2019-03-19 13:00

Re: [SOLVED] IceWM - setting desktop background

#11 Post by majpooper »

Finally solved this. The issue is the buuf theme overrides the preference file in ~/.icewm
Just out of curiosity I change themes and the background defined in the preference file.

EDIT: I have found this to be the case with several themes that override the background in the preference file.

EDIT-2: Maybe this will help someone else who may be exploring how to change backgrounds. The default background in some themes can be found and changed in ~/.icewm/themes/your_theme. Rename your new chosen background default.jpg (you will have to rename the existing default.jpg background first of course)

Coder
Posts: 1
Joined: 2021-05-18 16:59

Re: [SOLVED] IceWM - setting desktop background

#12 Post by Coder »

In icewm, the desktop background can also be set to a color using DesktopBackgroundColor="#RRGGBB" (RGB are the hexadecimal color vales).

However, a source of confusion is that the background color isn't set directly by the icewm program itself, it is set by icewmbg which is the icewm program for background control.

To run icewmbg there are a couple of options:

1. Run it at startup e.g. in .xinitrc. The -k argument can set the color e.g. icewmbg -k=#103039 &
(The & at the end is simply for the shell to run icewmbg and continue, as opposed to waiting for it.)
This also presumes that icewm is not run using icewm-session but rather is run manually e.g. in .xinitrc.

2. Use icewm-session.
If icewm is started using icewm-session then the DesktopBackgroundColor="#RRGGBB" in your preferences or theme file will be used.
My .xinitrc file has just one line: icewm-session. I also use startx and I don't use a display manager to start icewm (not needed).
(Using icewm-session also has other advantages. E.g. the icewm startup script will be run and this can be handy for adding things in the system
tray etc. Also see winoptions [progxyz].tray settings.)

Hope Helpful

aus9
Posts: 6
Joined: 2012-05-07 04:21

Re: [SOLVED] IceWM - setting desktop background

#13 Post by aus9 »

OP

I note you have already marked this as solved but I offer some suggestions for you.

Icewm can use various wallpaper "apps" such as feh or nitrogen but I noticed that you said
I also added debian.jpg from my file manager (PCmanFM) Appilcations>Preferences>Background>Add Picture
I use a GUI file manager, pcmanfm and it controls my wallpaper and desktop icons.

Here is how I do it if interested.
ref
A file manager such as PCManFM or rox can manage the wallpaper and add desktop icons
https://wiki.archlinux.org/title/IceWM#Desktop_icons
Contents of my ~/.icewm/startup file which is executalbe for pcmanfm
#!/bin/sh
pcmanfm --desktop &
# SNIP but next line is optional....depends on which authentication agent you are using too
/usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1 &
pcmanfm preferences -> General TAB ....tick the box for Don't ask options on launch executable file
(meaning desktop icons if you use them)

and....launch Desktop Preferences found under /usr/share/Applications
change pulldown from fill bg to stretch to fill entire monitor space
(Then the option to choose image becomes non-grey) and choose pathway and filename of image you are using.

Since you mention you are using menumaker I suggest while in that dialog box -> TAB=advanced
and tick the box to show menus for WM, if you have not already done it.

2) If you want a root powered icon, notice I show my polkit action line in startup,
synaptic icon then works to give me a popup box for root pw.....YMMV

3) speaking of mmaker my action line if interested was

Code: Select all

mmaker -f -t Sakura -s GNOME,KDE,Xfce IceWM
I prefer sakura terminal and a screenshot of menu (-t)
(-s) skip comma separated DE
https://imgur.com/giYqd8b
Good Luck

Post Reply