IceWM Taskbar Color

Forum Forums New users New Users and General Questions IceWM Taskbar Color

This topic contains 16 replies, has 4 voices, and was last updated by rej Sep 13-2:48 pm.

Viewing 15 posts - 1 through 15 (of 17 total)
  • Author
    Posts
  • #27003
    Member
    Avatar
    rej

    Hi-

    I have Groove theme and tried various ways to edit the taskbar rbg color in default taskbar, Groove theme file, and Preferences file, yet it does not change.

    Is there a way to change it? Or not possible?

    Thanks.

    #27005
    Member
    Will B
    Will B

    Hi! 😀

    Which value(s) did you try to change? I’ve been tweaking my theme file lately and might be able help.

    Thanks 🙂

    Blessed and forgiven in the Pacific Northwest of the US! 😀

    #27006
    Member
    Avatar
    skidoo

    .

    .

    .

    .

    #27007
    Member
    Will B
    Will B

    Here is the source for most (if not all) of the things that can be themed (scroll down a bit):
    https://github.com/bbidulock/icewm/blob/icewm-1-4-BRANCH/src/themable.h

    Here are some values I changed:

    ColorDefaultTaskBar="#CDCDCD"
    ColorNormalTaskBarApp="#C9C9C9"
    ColorNormalTaskBarAppText="#000000"
    ColorActiveTaskBarApp="#FCFCFC"
    ColorActiveTaskBarAppText="#000000"
    ColorMinimizedTaskBarApp="#CDCDCD"
    ColorMinimizedTaskBarAppText="#666666"
    
    .
    
    • This reply was modified 1 week, 1 day ago by Will B.
    • This reply was modified 1 week, 1 day ago by Will B.

    Blessed and forgiven in the Pacific Northwest of the US! 😀

    #27010
    Member
    Will B
    Will B

    Are you restarting IceWM after you make the changes to your default.theme file? Also, did you make a copy of your desired theme, put it in ‘~/.icewm/themes/’ and edit it from there?

    Thanks 🙂

    Blessed and forgiven in the Pacific Northwest of the US! 😀

    #27011
    Member
    Avatar
    BobC

    When I play with the themes, I copy them as myself to ~/.icewm/themes, change the name there, and then modify the changed copy

    PS: need to be careful of link files

    • This reply was modified 1 week, 1 day ago by BobC.
    #27012
    Member
    Will B
    Will B

    When I play with the themes, I copy them as myself to ~/.icewm/themes, change the name there, and then modify the changed copy

    Okay, good deal. I can’t think of anything else to try. 🙁 It all worked okay for me when I edited something in the theme file, saved, then restarted IceWM through the menu. I’ve been doing that cycle repeatedly the last few days as I’ve been tweaking my theme. antiX rocks! 😀

    Blessed and forgiven in the Pacific Northwest of the US! 😀

    #27014
    Member
    Avatar
    BobC

    Not sure what version you are on, but on 1.6.1 if you are changing the theme, it will take effect if you change theme to something else and back to it.

    #27015
    Member
    Will B
    Will B

    Not sure what version you are on, but on 1.6.1 if you are changing the theme, it will take effect if you change theme to something else and back to it.

    In my case, I did this at first, but restarting IceWM was a little faster 😉

    Blessed and forgiven in the Pacific Northwest of the US! 😀

    #27016
    Member
    Will B
    Will B

    For your future reference, here is the themable items list, taken from the source file on Git and reformatted:

    RolloverButtonsSupported   Does it support the 'O' title bar button images (for mouse rollover)
    TaskBarClockLeds           Task bar clock/APM uses nice pixmapped 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 LEDs)
    
    TaskbuttonIconOffset       Width of taskbutton side icons (0-16)
    TrayIconMaxWidth           Maximum scaled width of tray icons (16-128)
    TrayIconMaxHeight          Maximum scaled height of tray icons (16-128)
    TrayDrawBevel              Surround the tray with plastic border
    
    TitleBarCentered           Draw window title centered (obsoleted by TitleBarJustify)
    TitleBarJoinLeft           Join title*S and title*T
    TitleBarJoinRight          Join title*T and title*B
    ShowMenuButtonIcon         Show application icon over menu button
    
    BorderSizeX                Horizontal window border (0-128)
    BorderSizeY                Vertical window border (0-128)
    DlgBorderSizeX             Horizontal dialog window border (0-128)
    DlgBorderSizeY             Vertical dialog window border (0-128)
    CornerSizeX                Resize corner width (0-64)
    CornerSizeY                Resize corner height (0-64)
    TitleBarHeight             Title bar height (0-128)
    TitleBarJustify            Justification of the window title (0-100)
    TitleBarHorzOffset         Horizontal offset for the window title text (-128-128)
    TitleBarVertOffset         Vertical offset for the window title text (-128-128)
    ScrollBarX                 Scrollbar width (0-64)
    ScrollBarY                 Scrollbar (button) height (0-64)
    
    MenuIconSize               Menu icon size (8-128)
    SmallIconSize              Dimension of the small icons (8-128)
    LargeIconSize              Dimension of the large icons (8-128)
    HugeIconSize               Dimension of the large icons (8-128)
    
    QuickSwitchHorzMargin      Horizontal margin of the quickswitch window (0-64)
    QuickSwitchVertMargin      Vertical margin of the quickswitch window (0-64)
    QuickSwitchIconMargin      Vertical margin in the quickswitch window (0-64)
    QuickSwitchIconBorder      Distance between the active icon and it's border (0-64)
    QuickSwitchSeparatorSize   Height of the separator between (all reachable) icons and text, 0 to avoid it (0-64)
    
    ThemeAuthor                Theme author, e-mail address, credits
    ThemeDescription           Description of the theme, credits
    
    TitleButtonsLeft           Titlebar buttons from left to right (x=close, m=max, i=min, h=hide, r=rollup, s=sysmenu, d=depth)
    TitleButtonsRight          Titlebar buttons from right to left (x=close, m=max, i=min, h=hide, r=rollup, s=sysmenu, d=depth)
    TitleButtonsSupported      Titlebar buttons supported by theme (x,m,i,r,h,s,d)
    
    ************************************************************************************************************************************************************
    * Font definitions
    ************************************************************************************************************************************************************/
    TitleFontName              Name of the title bar font
    MenuFontName               Name of the menu font
    StatusFontName             Name of the status display font
    QuickSwitchFontName        Name of the font for Alt+Tab switcher window
    NormalButtonFontName       Name of the normal button font
    ActiveButtonFontName       Name of the active button font
    NormalTaskBarFontName      Name of the normal task bar item font
    ActiveTaskBarFontName      Name of the active task bar item font
    ToolButtonFontName         Name of the tool button font (fallback: NormalButtonFontName)
    NormalWorkspaceFontName    Name of the normal workspace button font (fallback: NormalButtonFontName)
    ActiveWorkspaceFontName    Name of the active workspace button font (fallback: ActiveButtonFontName)
    MinimizedWindowFontName    Name of the mini-window font
    ListBoxFontName            Name of the window list font
    ToolTipFontName            Name of the tool tip font
    ClockFontName              Name of the task bar clock font
    TempFontName               Name of the task bar temperature font
    ApmFontName                Name of the task bar battery font
    InputFontName              Name of the input field font
    LabelFontName              Name of the label font
    
    ************************************************************************************************************************************************************
    * Color definitions
    ************************************************************************************************************************************************************/
    ColorDialog                      Background of dialog windows
    ColorNormalBorder                Border of inactive windows
    ColorActiveBorder                Border of active windows
    
    ColorNormalButton                Background of regular buttons
    ColorNormalButtonText            Textcolor of regular buttons
    ColorActiveButton                Background of pressed buttons
    ColorActiveButtonText            Textcolor of pressed buttons
    ColorNormalTitleButton           Background of titlebar buttons
    ColorNormalTitleButtonText       Textcolor of titlebar buttons
    ColorToolButton                  Background of toolbar buttons, ColorNormalButton is used if empty
    ColorToolButtonText              Textcolor of toolbar buttons, ColorNormalButtonText is used if empty
    ColorNormalWorkspaceButton       Background of workspace buttons, ColorNormalButton is used if empty
    ColorNormalWorkspaceButtonText   Textcolor of workspace buttons, ColorNormalButtonText is used if empty
    ColorActiveWorkspaceButton       Background of the active workspace button, ColorActiveButton is used if empty
    ColorActiveWorkspaceButtonText   Textcolor of the active workspace button, ColorActiveButtonText is used if empty
    
    ColorNormalTitleBar              Background of the titlebar of regular windows
    ColorNormalTitleBarText          Textcolor of the titlebar of regular windows
    ColorNormalTitleBarShadow        Textshadow of the titlebar of regular windows
    ColorActiveTitleBar              Background of the titlebar of active windows
    ColorActiveTitleBarText          Textcolor of the titlebar of active windows
    ColorActiveTitleBarShadow        Textshadow of the titlebar of active windows
    
    ColorNormalMinimizedWindow       Background for mini icons of regular windows
    ColorNormalMinimizedWindowText   Textcolor for mini icons of regular windows
    ColorActiveMinimizedWindow       Background for mini icons of active windows
    ColorActiveMinimizedWindowText   Textcolor for mini icons of active windows
    
    ColorNormalMenu                  Background of pop-up menus
    ColorNormalMenuItemText          Textcolor of regular menu items
    ColorActiveMenuItem              Background of selected menu item, leave empty to force transparency
    ColorActiveMenuItemText          Textcolor of selected menu items
    ColorDisabledMenuItemText        Textcolor of disabled menu items
    ColorDisabledMenuItemShadow      Shadow of regular menu items
    
    ColorMoveSizeStatus              Background of move/resize status window
    ColorMoveSizeStatusText          Textcolor of move/resize status window
    
    ColorQuickSwitch                 Background of the quick switch window
    ColorQuickSwitchText             Textcolor in the quick switch window
    ColorQuickSwitchActive           Rectangle arround the active icon in the quick switch window
    ColorDefaultTaskBar              Background of the taskbar
    ColorNormalTaskBarApp            Background for task buttons of regular windows
    ColorNormalTaskBarAppText        Textcolor for task buttons of regular windows
    ColorActiveTaskBarApp            Background for task buttons of the active window
    ColorActiveTaskBarAppText        Textcolor for task buttons of the active window
    ColorMinimizedTaskBarApp         Background for task buttons of minimized windows
    ColorMinimizedTaskBarAppText     Textcolor for task buttons of minimized windows
    ColorInvisibleTaskBarApp         Background for task buttons of windows on other workspaces
    ColorInvisibleTaskBarAppText     Textcolor for task buttons of windows on other workspaces
    ColorScrollBar                   Scrollbar background (sliding area)
    ColorScrollBarSlider             Background of the slider button in scrollbars
    ColorScrollBarButton             Background of the arrow buttons in scrollbars
    ColorScrollBarArrow              Background of the arrow buttons in scrollbars (obsolete)
    ColorScrollBarButtonArrow        Color of active arrows on scrollbar buttons
    ColorScrollBarInactiveArrow      Color of inactive arrows on scrollbar buttons
    
    ColorListBox                     Background of listboxes
    ColorListBoxText                 Textcolor in listboxes
    ColorListBoxSelection            Background of selected listbox items
    ColorListBoxSelectionText        Textcolor of selected listbox items
    ColorToolTip                     Background of tooltips
    ColorToolTipText                 Textcolor of tooltips
    ColorLabel                       Background of labels, leave empty to force transparency
    ColorLabelText                   Textcolor of labels
    ColorInput                       Background of text entry fields (e.g. the addressbar)
    ColorInputText                   Textcolor of text entry fields (e.g. the addressbar)
    ColorInputSelection              Background of selected text in an entry field
    ColorInputSelectionText          Selected text in an entry field
    
    ColorClock                       Background of non-LCD clock, leave empty to force transparency
    ColorClockText                   Background of non-LCD monitor
    
    ColorApm                         Background of APM monitor, leave empty to force transparency
    ColorApmText                     Textcolor of APM monitor
    ColorApmBattary                  Legacy option; don't use, see ColorApmBattery
    ColorApmBattery                  Color of APM monitor in battery mode
    ColorApmLine                     Color of APM monitor in line mode
    ColorApmGraphBg                  Background color for graph mode
    
    ColorCPUStatusUser               User load on the CPU monitor
    ColorCPUStatusSystem             System load on the CPU monitor
    ColorCPUStatusInterrupts         Interrupts on the CPU monitor
    ColorCPUStatusIoWait             IO Wait on the CPU monitor
    ColorCPUStatusSoftIrq            Soft Interrupts on the CPU monitor
    ColorCPUStatusNice               Nice load on the CPU monitor
    ColorCPUStatusIdle               Idle (non) load on the CPU monitor, leave empty to force transparency
    ColorCPUStatusSteal              Involuntary Wait on the CPU monitor
    ColorCPUStatusTemp               Temperature of the CPU
    
    ColorMEMStatusUser               User program usage in the memory monitor
    ColorMEMStatusBuffers            OS buffers usage in the memory monitor
    ColorMEMStatusCached             OS cached usage in the memory monitor
    ColorMEMStatusFree               Free memory in the memory monitor
    
    ColorNetSend                     Outgoing load on the network monitor
    ColorNetReceive                  Incoming load on the network monitor
    ColorNetIdle                     Idle (non) load on the network monitor, leave empty to force transparency
    
    Gradients                        List of gradient pixmaps in the current theme
    Look                             warp3, warp4, win95, motif, nice, pixmap, metal, gtk

    Blessed and forgiven in the Pacific Northwest of the US! 😀

    #27017
    Member
    Avatar
    rej

    Skidoo and Will B-

    Thank you –

    https://ice-wm.org/themes/#taskbar-themeability – not really understanding Pixmaps and these type files or what they could be changed to. The .xpm files are in the groove-taskbar file – would the color need to be edited in Gimp?
    ——-
    https://github.com/bbidulock/icewm/blob/icewm-1-4-BRANCH/src/themable.h:

    OSV(“ColorDefaultTaskBar”, &clrDefaultTaskBar, “Background of the taskbar”),
    OSV(“ColorNormalTaskBarApp”, &clrNormalTaskBarApp, “Background for task buttons of regular windows”),
    OSV(“ColorNormalTaskBarAppText”, &clrNormalTaskBarAppText, “Textcolor for task buttons of regular windows”),
    OSV(“ColorActiveTaskBarApp”, &clrActiveTaskBarApp, “Background for task buttons of the active window”),
    OSV(“ColorActiveTaskBarAppText”, &clrActiveTaskBarAppText, “Textcolor for task buttons of the active window”),
    —————————————
    Below is what had been edited to just change the rgb color codes, but not successfully. Changed color code to F0/E6/8C, uncommented, saved, restarted session, rebooted and it was the same.

    [Referenced from –

    https://sourceforge.net/p/icewm/mailman/message/7469264/

    Using codes from –

    https://www.rapidtables.com/web/color/RGB_Color.html%5D
    =========
    =========
    /usr/share/icewm/]themes/Groove-Large
    – default.theme:

    ## Taskbar ###
    ColorDefaultTaskBar=”rgb:f6/f6/f0″
    ColorNormalTaskBarApp=”rgb:f6/f6/f0″
    ColorNormalTaskBarAppText=”rgb:53/3D/23″

    ColorActiveTaskBarApp=”rgb:53/3D/23″
    ColorActiveTaskBarAppText=”rgb:53/3D/23″

    ColorMinimizedTaskBarApp=”rgb:F6/F6/F0″
    ColorMinimizedTaskBarAppText=”rgb:53/3D/23″

    ColorInvisibleTaskBarApp=”rgb:ac/d7/93″
    ColorInvisibleTaskBarAppText=”rgb:50/50/50″
    —————————
    /usr/share/icewm
    – preferences:

    # Background of the taskbar
    # ColorDefaultTaskBar=”rgb:C0/C0/C0″

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

    # Textcolor for task buttons of regular windows
    # ColorNormalTaskBarAppText=”rgb:00/00/00″

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

    # Textcolor for task buttons of the active window
    # ColorActiveTaskBarAppText=”rgb:00/00/00″

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

    # Textcolor for task buttons of minimized windows
    # ColorMinimizedTaskBarAppText=”rgb:00/00/00″

    #27018
    Member
    Will B
    Will B

    rej, if you install and use Geany, it has a color selector in the toolbar that will give you the ‘#000000’ formatted value to put into your theme file. You can also select ‘#000000’ formatted values and edit them the same way.

    Also, when you copied your desired themes from ‘/usr/share/icewm/themes’ to ‘~/.icewm/themes’ did you rename the copied themes and their folders to something different than the system names?

    Blessed and forgiven in the Pacific Northwest of the US! 😀

    #27019
    Member
    Will B
    Will B

    I have followed the directions on https://ice-wm.org/themes and this was the result. I just made a fast and silly .xpm for the various taskbar buttons and it appears to work!

    Did you put the taskbar .xpm’s into a sub-folder of your theme called ‘taskbar’?

    Blessed and forgiven in the Pacific Northwest of the US! 😀

    #27022
    Member
    Avatar
    rej

    Also, when you copied your desired themes from ‘/usr/share/icewm/themes’ to ‘~/.icewm/themes’ did you rename the copied themes and their folders to something different than the system names?

    Thanks Will B-

    This is where I went wrong – did not copy theme to home file – should it be re-named differently from the theme that was edited in /usr/share/icewm/themes/Groove-Large – – default.theme? Or is this the wrong folder? There appears to be only one “theme” file.

    /home/rj/.icewm theme:

    Theme=”Groove-Large/default.theme”
    #Theme=”Groove-Small/default.theme”
    #Theme=”Groove-Large/default.theme”
    #Theme=”Truth ice-1.0-Large/default.theme”
    #Theme=”Groove-Large/default.theme”
    #Theme=”default/default.theme”
    #Theme=”Groove-Large/default.theme”
    #Theme=”Clearview Blue Medium/default.theme”

    #27023
    Member
    Will B
    Will B

    If it helps, I’ve made an image that shows the file/directory layout of my custom theme. I copied the system theme from ‘/usr/share/icewm/themes/metal’ to ‘~/.icewm/themes/will01’ then renamed it and modified it to my liking.

    Blessed and forgiven in the Pacific Northwest of the US! 😀

Viewing 15 posts - 1 through 15 (of 17 total)

You must be logged in to reply to this topic.