You are not logged in.

#1 2014-04-20 04:59:32

quequotion
Member
From: Oita, Japan
Registered: 2013-07-29
Posts: 813
Website

[SOLVED] How to send super-wingpanel to "All Desktops" in Openbox?

Pantheon Lite has openbox for the window manager, but super-wingpanel was designed for gala. In openbox, it only appears on the first desktop.

Openbox does have a feature, accessible from the window decoration right-click menu, to send a window to "All Desktops".
Screenshot_from_2014_04_20_13_11_20.jpg
Is there a way to make this happen for super-wingpanel? It doesn't have any decorations, so the menu is inaccessible.
In compiz, super-wingpanel appears on all desktops as expected.

Plank (derived from Docky) does not have this problem, and appears on all desktops in both compiz and openbox.

Last edited by quequotion (2014-04-26 02:26:47)

Offline

#2 2014-04-23 20:22:23

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: [SOLVED] How to send super-wingpanel to "All Desktops" in Openbox?

Use obxprop, which comes with openbox package, to determine class, rolle and name (or all of them) and modify your rc.xml accordingly.

obxprop
#add to ~/.config/openbox/rc.xml
<application type="TYPE" title="TITLE" class="CLASS" name="NAME" role="ROLE">
<desktop>all</desktop>
</application>

Everything is explained on Openbox wiki. You can also restore decorations with that configuration.

Offline

#3 2014-04-26 02:25:48

quequotion
Member
From: Oita, Japan
Registered: 2013-07-29
Posts: 813
Website

Re: [SOLVED] How to send super-wingpanel to "All Desktops" in Openbox?

emeres wrote:

Use obxprop, which comes with openbox package, to determine class, rolle and name (or all of them) and modify your rc.xml accordingly.

obxprop
#add to ~/.config/openbox/rc.xml
<application type="TYPE" title="TITLE" class="CLASS" name="NAME" role="ROLE">
<desktop>all</desktop>
</application>

Everything is explained on Openbox wiki. You can also restore decorations with that configuration.

Thanks! That's exactly what I was looking for!

The filters are stackable, but this is enough for what I need:

--- .config/openbox/rc.xml~	2014-04-10 01:43:47.688998702 +0900
+++ .config/openbox/rc.xml	2014-04-26 11:12:03.344563579 +0900
@@ -655,6 +655,9 @@
     <!-- show the manage desktops section in the client-list-(combined-)menu -->
   </menu>
   <applications>
+    <application name="super-wingpanel">
+    <desktop>all</desktop>
+  </application>
     <!--
   # this is an example with comments through out. use these to make your
   # own rules, but without the comments of course.

There's a section, <applications> in this config file, which appears to be the appropriate place for this kinds of customization. #TODO: equivalent setting matching scripts for gtk-window-decorator+compiz (dconf) and openbox+compton (file)

Offline

#4 2014-04-26 07:20:21

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: [SOLVED] How to send super-wingpanel to "All Desktops" in Openbox?

If you want to configure multiple/high amount of applications, you may want to try obxprop2obrc. You can use templates with that, store your configuration in another file and after you are done, copy it into rc.xml. Usually much faster.

Offline

Board footer

Powered by FluxBB