Page 1 of 1
How to: create a "hide task bar" button in icewm
Posted: Wed 28 Nov 2007, 20:17
by Marco_Inge
I would like to create a "hide task bar" button to icewm taskbar, in order to be able to hide it quickly when seeing a movie or a presentation full screen.
Is it possible? Now I have to go to Icewmconfig, select the option and restart icewm, but I would like to automate it.
Thanks for your help.
Marco
Posted: Wed 28 Nov 2007, 22:03
by Béèm
If you go in IceWM config there is an option for autohide.
Doesn't this work?
Posted: Thu 29 Nov 2007, 09:29
by Marco_Inge
Yes, it works fine.
But I was wondering if instead of opening Icewmconfig using the menu, selecting the autohide option, closing Icewmconfig and restarting Icewm it would be possible to create a script automating this procedure making it a single click.
Posted: Thu 29 Nov 2007, 10:02
by WhoDo
Marco_Inge wrote:Yes, it works fine.
But I was wondering if instead of opening Icewmconfig using the menu, selecting the autohide option, closing Icewmconfig and restarting Icewm it would be possible to create a script automating this procedure making it a single click.
Autohide is set by a parameter in /root/.icewm/preferences, which is a text file. Tronkel's icewinconfig utility simply changes that parameter and forces a refresh of the window manager. You could do the same from a script, provided you were careful to make a backup of the file first in case you need to recover from a corruption. Alternatively, you could just drag and drop the /usr/share/applications/icewinconfig.destop file to your desktop, and give it an icon and you'd have pretty much the same functionality.
IceWM used to have a taskbar hide button, but that seems to have disappeared quite some time back. Here is a recent lament on that subject.
Sourceforge.net Forum wrote:I've been using 1.2.16 right
along but have recently tried 1.2.20 and then reverted
to 1.2.16. Apparently the change occurred in 1.2.17.
Could it be a compile-time option to disable the 'hide
taskbar' button and is there a way to either more
precisely control taskbar element placement or to put
it back like it was?
Hope that helps
Posted: Thu 29 Nov 2007, 16:02
by Marco_Inge
Thanks, I'll try it!