You are not logged in.
Pages: 1
I would like to start a urxvtc on a specified desktop via the OpenBox autostart file, but I don't know how to do this.
At the moment I have the following entries to get urxvtc started, after starting OpenBox, on desktop 1
autostart.sh:
...
urxvtc &
...
rc.xml:
...
<application class="URxvt*">
<decor>no</decor>
<skip_taskbar>yes</skip_taskbar>
<focus>yes</focus>
<position>
<x>10</x>
<y>10</y>
</position>
<layer>below</layer>
<desktop>1</desktop>
<maximized>false</maximized>
</application>
...
.Xdefaults:
...
urxvt.geometry: 202x65
...
When I start a second urxvtc, it opens on desktop 1 with the geometry 202x65. So I'm using Xterm to get a terminal on the desktop I'm working in at that moment.
It would be nice to know the command to start a urxvtc with a certain geometry on desktop 1 via autostart.sh. And to start an second urxvtc on the desktop I'm working on at that moment with the normal geometry whenever I need it.
Last edited by NeoXP (2009-12-29 11:45:36)
Arch x86_64 on HP 6820s and on HP nx9420. Registered Linux User 350155, since 24-03-2004
"Everyone said that it could not be done, until someone came along who didn't know that."
Offline
Remove the line "<desktop>1</desktop>" from rc.xml. It's telling all instances of urxvt to open on Desktop 1.
In autostart.sh, start urxvt with the command:
urxvt -geometry 202x65 &
In .Xdefaults, delete the "urxvt.geometry: 202x65" line or set it to something more to your liking. This will be the size of any other instances of urxvt, except the one opened by your autostart file. Without a geometry line, urxvt opens with 80 columns and 24 rows for me.
Offline
Thxs, solved.
Arch x86_64 on HP 6820s and on HP nx9420. Registered Linux User 350155, since 24-03-2004
"Everyone said that it could not be done, until someone came along who didn't know that."
Offline
Let me say hello everyone, thats my first post here
I would like to do the same think with urxvt like NeoXP and i have some questions.
1) do i need urxvtd (daemon) and urxvtc (client) to do this? or can i do this with only urxvt?
2) what must i do if i want to run this automatic urxvt but not in desktop 1 but in 4 for example? I ask becouse i think that he run on 1 desktop default. Maby i'm wrong, but i can't understand where its specified that this is desktop 1 for example.
cheers - udzio
Offline
Pages: 1