LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-23-2009, 08:24 AM   #1
mmatt
Member
 
Registered: Nov 2005
Location: UK
Distribution: archlinux
Posts: 90

Rep: Reputation: 19
Show desktop exemption for specific window in openbox


This is starting to drive me crazy. I want to be able to selectively exclude certain windows (the ones set below ala widgets) from being minimised when I use the "show desktop" action in openbox.

For example, both conky and pypanel stay put nicely. However, urxvt, in the 'below' layer and set as type 'desktop' (or 'dock') will minimise. What property of conky/pypanel do I need to apply to urxvt and how do I do it!

Thanks in advance, Matt
 
Old 07-23-2009, 02:37 PM   #2
lumak
Member
 
Registered: Aug 2008
Location: Phoenix
Distribution: Arch
Posts: 799
Blog Entries: 32

Rep: Reputation: 111Reputation: 111
have you tried sticky?
 
Old 07-23-2009, 03:44 PM   #3
mmatt
Member
 
Registered: Nov 2005
Location: UK
Distribution: archlinux
Posts: 90

Original Poster
Rep: Reputation: 19
Yes, tried sticky. Here's what I've tried so far... (i call urxvt -name urxvt-special)

~/.devilspie/urxvt-special
Code:
(if
    (is (window_name) "urxvt-special")
    (begin
        (wintype "desktop")
        (below)
        (pin) ;; all workspaces ?
        (undecorate)
        (skip_pager)
        (skip_tasklist)
        (stick)
    )
)
I've also tried setting the equivalent settings in ~/.config/openbox/rc.xml. I've tried all the window types (just to make sure!), “normal”, “dialog”, “menu”, “toolbar”, “splashscreen”, “utility”, “dock”, “desktop”.

Using xprop I can't seem to work out why pypanel and conky don't minimise. Is there an openbox config file somewhere that I don't know about (I'm fairly new to openbox).

Thanks for your help, Matt
 
Old 07-23-2009, 03:58 PM   #4
mmatt
Member
 
Registered: Nov 2005
Location: UK
Distribution: archlinux
Posts: 90

Original Poster
Rep: Reputation: 19
Hmmm, if I set the borderLess option (either in .Xdefaults or with -bl command line option) or pass the override-redirect option it doesn't minimise. It doesn't accept focus and is on top of all other windows however!
 
Old 07-23-2009, 08:35 PM   #5
lumak
Member
 
Registered: Aug 2008
Location: Phoenix
Distribution: Arch
Posts: 799
Blog Entries: 32

Rep: Reputation: 111Reputation: 111
Meh... if you are using openbox because you like the minimalist approach, just use fluxbox... fluxbox is everything blackbox could be if new versions were still being released. I'm not sure if it will satisfy your issues but configuration is less of a headache.

Fluxbox has:
- task bar with customizable clock and system tray.
- easy to edit right click menu
- easy to edit hot key configuration
- a 'slit' which holds dock apps and can be positioned anywhere along the edges of your screen.


In fluxbox I did manage to configure a window to do what you want in a way...
You can open a window and right click on it's header then set it's layer to Desktop. It will never be able to show on top of any other windows but if you do the "Show Desktop" method, it will remain on screen (obviously because it's on the Desktop Layer). You can also set it to sticky and it will be on all your virtual desktops. You can save the window settings by right click window header > remember... > layer, so that every time you open up a window for that program it will have the same settings... Or just hot key those settings and make any window do that.
 
Old 07-24-2009, 03:51 AM   #6
mmatt
Member
 
Registered: Nov 2005
Location: UK
Distribution: archlinux
Posts: 90

Original Poster
Rep: Reputation: 19
Surely it should be that simple in openbox too... Oh well. I may give fluxbox a look then, thanks for the tip.
 
Old 07-24-2009, 05:17 AM   #7
mmatt
Member
 
Registered: Nov 2005
Location: UK
Distribution: archlinux
Posts: 90

Original Poster
Rep: Reputation: 19
Very easy with fluxbox, very easy indeed. Thanks
 
Old 07-24-2009, 07:49 PM   #8
lumak
Member
 
Registered: Aug 2008
Location: Phoenix
Distribution: Arch
Posts: 799
Blog Entries: 32

Rep: Reputation: 111Reputation: 111
I didn't test it... but in OpenBox....

<keybind key="W-F5">
<action name="ToggleAlwaysOnBottom"/>
</keybind>


Maybe by 'always bottom' they mean the desktop layer... I also found the action
"SendToNormalLayer" and it's possible that "SendToDesktopLayer" may be an action as well.
 
Old 07-25-2009, 08:28 AM   #9
mmatt
Member
 
Registered: Nov 2005
Location: UK
Distribution: archlinux
Posts: 90

Original Poster
Rep: Reputation: 19
Yes, I can make a window stay always on bottom by setting it to the below layer in rc.xml but I can't make it stay up on "show desktop". At least not in openbox.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Openbox window manager grows up LXer Syndicated Linux News 0 07-11-2007 06:16 PM
LXer: Openbox: A lightweight window manager LXer Syndicated Linux News 0 02-02-2006 05:46 PM
window id, gnome-like desktop when show icons disabled (KDE, 2005 LE) + root-tail Emmanuel_uk Mandriva 1 11-16-2005 12:27 PM
Remembering window settings in OpenBox LavaDevil94 Linux - Software 0 11-21-2004 11:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:50 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration