You are not logged in.

#1 2008-03-18 05:48:28

Reasons
Member
From: Washington
Registered: 2007-11-04
Posts: 572

Openbox window position

I'm trying to get firefox to start in the upper left corner of the screen in openbox so I added this to my rc.xml. I don't know why it isn't working when gmrun is. I've check the class many times.

  <applications>
    <application class="Gmrun">
      <position>
        <x>center</x>
        <y>center</y>
      </position>
    </application>

    <application class="Minefield">
      <position>
        <x>10</x>
        <y>10</y>
      </position>
    </application>
  </applications>

Offline

#2 2008-03-18 16:55:59

Reasons
Member
From: Washington
Registered: 2007-11-04
Posts: 572

Re: Openbox window position

I just tried it with devilspie and it worked fine, but that makes me choose geometry too and that messes up popups.

Offline

#3 2008-03-18 20:36:36

Reasons
Member
From: Washington
Registered: 2007-11-04
Posts: 572

Re: Openbox window position

That is what xprop WM_CLASS | cut -d\" -f4 gave me.

Offline

#4 2008-03-18 22:41:09

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: Openbox window position

Try

xprops | grep WM_CLASS

Should give what you need, put them both in, like this:

    <application name="VCLSalFrame" class="OpenOffice.org 2.3">
      <desktop>1</desktop>
    </application>

Name and class cannot be interchanged freely wink.

Last edited by B (2008-03-18 22:41:43)


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#5 2008-03-18 23:42:30

Reasons
Member
From: Washington
Registered: 2007-11-04
Posts: 572

Re: Openbox window position

Just tried that, still nothing. I even copied your openoffice one, checked it, and it still didn't work.

Offline

#6 2008-03-19 01:10:03

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: Openbox window position

Does Firefox honour any of the other window settings (e.g. maximising windows, disabling decorations)?

I found FF 3 b3 not to do that...


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#7 2008-03-19 01:18:17

Reasons
Member
From: Washington
Registered: 2007-11-04
Posts: 572

Re: Openbox window position

Nothing at all. It's FFb4 but still, doesn't follow anything. I've mapped gmrun, gcalctool, pidgin, they all work so I know I'm doing it right.

Offline

#8 2008-03-20 10:30:37

Rasi
Member
From: Germany
Registered: 2007-08-14
Posts: 1,914
Website

Re: Openbox window position

i have just tried this with urxvt... also not working gmrun works fine tho


He hoped and prayed that there wasn't an afterlife. Then he realized there was a contradiction involved here and merely hoped that there wasn't an afterlife.

Douglas Adams

Offline

#9 2008-03-20 14:54:53

Reasons
Member
From: Washington
Registered: 2007-11-04
Posts: 572

Re: Openbox window position

Urxvt is a class of URxvt, I got that to work.

Offline

#10 2008-03-22 04:31:40

hk2717
Member
From: China
Registered: 2007-09-13
Posts: 217

Re: Openbox window position

Hi Reasons, have you got it working with firefoxb4? I cannot set position for it in openbox per-app settings either.

Offline

#11 2014-06-30 22:10:05

ahuja
Member
From: méxico
Registered: 2013-05-06
Posts: 7

Re: Openbox window position

When you're going to apply a change to firefox, do not use 'class', use 'name' instead.

Instead of:
class="firefox"
use:
name="firefox*"

Try that.


You need to work harder so you can enjoy laziness.

Offline

#12 2014-06-30 22:19:37

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Openbox window position

You are replying to a five year old thread: I'm pretty sure they got it sorted in the interim.
https://wiki.archlinux.org/index.php/Fo … Bumping.27



Closing.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB