You are not logged in.

#1 2007-06-12 17:46:39

Ramses de Norre
Member
From: Leuven - Belgium
Registered: 2007-03-27
Posts: 1,289

Openbox rc.conf applications section

I'm having a little problem here, this is my applications section now:

 <applications>
   <application name="gkrellm">
     <layer>below</layer>
     <skip_pager>yes</skip_pager>
     <skip_taskbar>yes</skip_taskbar>
   </application>
 
   <application name="Eclipse">
     <decor>no</decor>
   </application>
 </applications>

But it just doesn't work... The "name" tag used to be "class" and that worked in the previous version but it doesn't since the upgrade. Neither with "name" or "class".
Do I have something wrong? I don't see it...

Offline

#2 2007-06-12 18:38:58

George_K
Member
From: Russie, Saint-Pétersbourg
Registered: 2006-09-27
Posts: 75

Re: Openbox rc.conf applications section

Your configuration (at least for gkrellm) is correct. Have you upgraded from 3.3 to 3.4 (or 3.3.99?)? If yes, please visit http://icculus.org/openbox/index.php/He … ing_to_3.4

Offline

#3 2007-06-12 18:56:20

Ramses de Norre
Member
From: Leuven - Belgium
Registered: 2007-03-27
Posts: 1,289

Re: Openbox rc.conf applications section

It did start with 3.995 and is still present in 3.4, and there seem to be some changes (they are described at the bottom of the page you provided) but I think my syntax is still correct...
I may file a bug if no one else sees an error or such, at least there isn't a bug yet for this.
Thanks for the link wink

Offline

#4 2007-06-12 19:37:00

George_K
Member
From: Russie, Saint-Pétersbourg
Registered: 2006-09-27
Posts: 75

Re: Openbox rc.conf applications section

You can provide your rc.xml (for example via http://pastebin.archlinux.org/)

Offline

#5 2007-06-12 21:31:19

Ramses de Norre
Member
From: Leuven - Belgium
Registered: 2007-03-27
Posts: 1,289

Re: Openbox rc.conf applications section

George_K wrote:

You can provide your rc.xml (for example via http://pastebin.archlinux.org/)

Here it is, but I'm fairly sure all the rest is correct. (As in all the rest works)

Offline

#6 2007-06-12 22:48:59

Borosai
Member
From: Sandy Appendix, U.S.A.
Registered: 2006-06-15
Posts: 227

Re: Openbox rc.conf applications section

Ramses de Norre wrote:
George_K wrote:

You can provide your rc.xml (for example via http://pastebin.archlinux.org/)

Here it is, but I'm fairly sure all the rest is correct. (As in all the rest works)

I only read the first few lines, but I can see you aren't using the latest rc.xml file that comes with the latest releases of openbox. Although it may take a bit of your time, you'll probably be better off copying the new rc file located at /etc/xdg/openbox/rc.xml to your ~/.config/openbox/ directory and editing it to suit your needs (backup your present one for comparison). It doesn't take very long, and you'll be completely up-to-date.

Offline

#7 2007-06-12 22:55:29

augustob
Member
From: Florianópolis, Brazil
Registered: 2006-03-17
Posts: 135

Re: Openbox rc.conf applications section

EDIT: As always, I posted after skimming the thread only to find the information I put here is nearly irrelevant. Sorry.

What I've been using (with the latest openbox-svn) is the class field, like so:

        <!-- Misc -->
        <application class="Thunar">
            <maximized>yes</maximized>
        </application>

The class of all applications can be determined by running "xprop | grep CLASS" and clicking on them.

Last edited by augustob (2007-06-12 22:57:08)

Offline

#8 2007-06-13 14:29:17

Ramses de Norre
Member
From: Leuven - Belgium
Registered: 2007-03-27
Posts: 1,289

Re: Openbox rc.conf applications section

@Augustob: as earlier mentioned, that was what I used to do. I only changed to the "name" tag because class didn't work but name doesn't neither in fact...

@Borosai: I'll try that when I've got the time and report back, but it would be pretty stupid if that's the reason... I'm used to keep using the same config file forever and only make the needed changes for new versions (like the font properties for the new openbox).

Offline

#9 2007-06-18 14:15:03

Ramses de Norre
Member
From: Leuven - Belgium
Registered: 2007-03-27
Posts: 1,289

Re: Openbox rc.conf applications section

Ok, I modified the new rc.conf and got the gkrellm stuff working. But eclipse wont cooperate...
This is my applications section now:

<applications>
  <application name="gkrellm">
    <layer>below</layer>
    <skip_pager>yes</skip_pager>
    <skip_taskbar>yes</skip_taskbar>
  </application>
 
  <application name="Eclipse">
    <decor>no</decor>
  </application>
</applications>

And eclipse has this in the xprop output: WM_CLASS(STRING) = "Eclipse", "Eclipse"
If I fill in urxvt it works, but it wont for eclipse...

I also noticed that I haven't got that handy menu that could be opened with Alt-Right click on an application anymore...

Offline

Board footer

Powered by FluxBB