You are not logged in.

#1 2009-03-29 11:38:39

neuwerld
Member
From: Sweden
Registered: 2009-03-13
Posts: 75
Website

Autostart double URxvt windows [SOLVED]

Hello I would like to know if there is possible to start the URxvt windows like a have them here:

screens.th.png

They onlu have to be undecorated and placed were they are on screen, I just cant figure out how to start 2 of the windows like that 1 was no problem.
Would appreciate if someone could guide me here, it clearly didn´t work to set up a double "urxvt" in rc.xml, when I tried it the windows is just created at the same place on top of eachother smile

/Neuwerld

Last edited by neuwerld (2009-03-29 16:06:19)

Offline

#2 2009-03-29 11:54:26

mikesd
Member
From: Australia
Registered: 2008-02-01
Posts: 788
Website

Re: Autostart double URxvt windows [SOLVED]

rc.xml? That's openbox I think? Could you set it up in your .Xdefaults and start up the urxvts with the -name option? Have a -name w1 and -name w2 with matching geometry settings in .Xdefaults?

Offline

#3 2009-03-29 12:21:37

ArchGh0ul
Member
Registered: 2008-10-23
Posts: 96

Re: Autostart double URxvt windows [SOLVED]

Just start 2 urxvts passing the -geometry argument to place them wherever you want

Offline

#4 2009-03-29 12:41:59

neuwerld
Member
From: Sweden
Registered: 2009-03-13
Posts: 75
Website

Re: Autostart double URxvt windows [SOLVED]

ArchGh0ul wrote:

Just start 2 urxvts passing the -geometry argument to place them wherever you want

I came to think about that to, isn´t it possible to use something like this?

# A Minimal Autostart.sh
eval `cat $HOME/.fehbg` &
setxkbmap se
devilspie &
(sleep 1 && pypanel) &
(sleep 1 && conky) &
(sleep 1 && urxvt -geometry 80x24+264-48) &
(sleep 1 && urxvt -geometry 80x24+836-48) &

but isn´t there an argument to tell that I want it undecorated?

EDIT:
It worked to start them like that but now I only need to get them undecorated automatically if its possible smile
The -bl (borderless) option made them unclickable, It was not possible to type anything in them.

Last edited by neuwerld (2009-03-29 13:06:10)

Offline

#5 2009-03-29 13:36:15

ArchGh0ul
Member
Registered: 2008-10-23
Posts: 96

Re: Autostart double URxvt windows [SOLVED]

neuwerld wrote:

It was not possible to type anything in them.

That's something for the window manager to decide..not urxvt. In the eyes of the WM urxvt is just another application so you need a way to make the WM ignore urxvt when drawing the decos.
Fluxbox has per window setting, not sure about openbox ( I think OB + devilspie might do that)

Offline

#6 2009-03-29 14:18:30

pointone
Wiki Admin
From: Waterloo, ON
Registered: 2008-02-21
Posts: 379

Re: Autostart double URxvt windows [SOLVED]

Openbox can do this just fine on its own. In order to differentiate between these "special" URxvts and "normal" ones, you can use URxvt's "name" option.

e.g.:

urxvt -geometry 80x24+836-48 -name urxvt-special
<application name="urxvt-special">
    <decor>no</decor>
</application>

M*cr*s*ft: Who needs quality when you have marketing?

Offline

#7 2009-03-29 16:05:30

neuwerld
Member
From: Sweden
Registered: 2009-03-13
Posts: 75
Website

Re: Autostart double URxvt windows [SOLVED]

pointone wrote:

Openbox can do this just fine on its own. In order to differentiate between these "special" URxvts and "normal" ones, you can use URxvt's "name" option.

e.g.:

urxvt -geometry 80x24+836-48 -name urxvt-special
<application name="urxvt-special">
    <decor>no</decor>
</application>

This worked like a charm!
Now I got 2 different undecorated terminals showing up directely after start on the spot I wanted to!
Thanks everyone for your help, I really learned somethings today smile

Last edited by neuwerld (2009-03-29 16:05:57)

Offline

Board footer

Powered by FluxBB