You are not logged in.

#1 2012-08-14 19:24:21

playdafunkimuzic
Member
Registered: 2008-10-25
Posts: 220

keep application visible on show desktop (openbox)

I'm using xpad for post-it notes on my desktop.  I wanted to avoid all of the many post it notes coming up when I alt-tab through my programs so I added the correct entry under "skip_taskbar" in my rc.xml. Now I'm wondering if when I activate show desktop, I could have my post-its remain displayed instead of also hiding those. Is this possible?

Offline

#2 2012-08-14 19:51:53

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,554
Website

Re: keep application visible on show desktop (openbox)

I don't believe there is a way to do this within openbox's rc.xml.

You can, however, bind the key combination you are using for showing the desktop to a script that does two things: minimize/hide all windows, then show/raise/focus the xpad app.  There are probably many ways to script this, but wmctrl is the first tool that comes to mind.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2012-08-15 15:30:13

playdafunkimuzic
Member
Registered: 2008-10-25
Posts: 220

Re: keep application visible on show desktop (openbox)

Trilby wrote:

I don't believe there is a way to do this within openbox's rc.xml.

You can, however, bind the key combination you are using for showing the desktop to a script that does two things: minimize/hide all windows, then show/raise/focus the xpad app.  There are probably many ways to script this, but wmctrl is the first tool that comes to mind.

Any other tools you can recommend aside from wmctrl? It seems like to achieve this goal, wmctrl needs to know the title of the window e.g. "KTorrent" on the example page. The xpad notes are titled by the first few words contained in the post it, so I can't think of way to actually automate this, then.

Offline

#4 2012-08-15 16:08:21

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,554
Website

Re: keep application visible on show desktop (openbox)

wmctrl can use the classname instead of the title with the "-x" switch.

Xdotool could also be worth a look provided you already have some way to show the xpad app.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

Board footer

Powered by FluxBB