You are not logged in.

#1 2006-07-02 15:51:22

sf.
Member
Registered: 2006-04-29
Posts: 23

running screen at startup & devilspie

I'd like to have Screen execute when I start Openbox, and use Devilspie to set its properties. My .xinitrc file has "urxvt -e screen &" but then the Devilspie settings aren't applied to it, whether I tell Devilspie to apply them to either "urxvt" or to "screen". If I just use "urxvt &" in my .xinitrc the Devilspie settings are used.

I guess there's some other way I should go about running Screen?

Offline

#2 2006-07-02 16:13:56

postlogic
Member
Registered: 2005-02-24
Posts: 410
Website

Re: running screen at startup & devilspie

Devilspie uses window classes, so refer to your xprop to figure out exactly what to refer to:

WM_CLASS(STRING) = "urxvt", "URxvt"

Offline

#3 2006-07-02 16:57:23

sf.
Member
Registered: 2006-04-29
Posts: 23

Re: running screen at startup & devilspie

That doesn't seem to help. I can get Devilspie to work with urxvt, but I can't get it to work with Screen running being run by urxvt (which has the same window class as urxvt without screen running in it)

Offline

#4 2006-07-04 14:45:02

TomE
Member
Registered: 2005-08-06
Posts: 164

Re: running screen at startup & devilspie

Devilspie can grab by window title, so can you set that in urxvt and then grab it in devilspie eg.

urxvt -title screen -e screen&

(if (is (application_name "screen") (what_ever))

That works here with openbox

Offline

#5 2006-07-05 06:27:27

benplaut
Member
Registered: 2006-06-13
Posts: 383

Re: running screen at startup & devilspie

also, note that urxvt has alot of placement settings built in.  Example, here's my urxvt line for a popup terminal that always pops up at the same size, in the same place tongue

urxvt +sb -bl -geometry 127x30+1+0 -T "PopUp" -e screen -d -R popup

Offline

Board footer

Powered by FluxBB