VSIDO Community

VSIDO Support => WM Designs and Discussions => Topic started by: mt12345 on January 31, 2018, 12:15:03 PM

Title: openbox - add more classes to rc.xml
Post by: mt12345 on January 31, 2018, 12:15:03 PM
<application class="Pcmanfm">
     <decor>no</decor>
     <maximized>true</maximized>
     <focus>yes</focus>
     <layer>normal</layer>
     <fullscreen>no</fullscreen>
  </application> 

I want to add more apps to this setup, how to do that?
I mean something like:
<application class="Pcmanfm" "Pale moon">
Title: Re: openbox - add more classes to rc.xml
Post by: PackRat on January 31, 2018, 01:44:39 PM
I don't think you can use more that one application per rule unless you can use wildcard matching -

Code: [Select]
<application class="Conky*">

Would apply to window classes starting with "Conky"

You can try a comma or semi-colon separated list, but I've never seen a setup - or documantation - for that.

Best is to just set up each application individually. Openbox help: Applications (http://openbox.org/wiki/Help:Applications)
Title: Re: openbox - add more classes to rc.xml
Post by: PackRat on January 31, 2018, 01:46:22 PM
From that link -

Code: [Select]
<!-- MPlayer will follow me around when i switch desktop.
       that way i can always watch my vids when coding.
       same goes for Realplayer -->
  <application class="MPlayer">
    <desktop>all</desktop>
    <layer>above</layer>
  </application>
  <application class="Realplay.bin">
    <desktop>all</desktop>
    <layer>above</layer>
  </application>

Couldn't set up mplayer and realplayer together, So it looks like apps need to be set up individually.