Greetings
I have posted this question on #awesome, but got no answer.
My question is "How do I launch/spawn a program on a given display on
xinerama"
I put in my rc.lua:
for s = 1, screen.count() do
awful.util.spawn("urxvt", false, s)
end
Whereupon three urxvt instances are launched on my *left* display.
I changed it to:
for s = 1, screen.count() do
awful.screen.focus(s)
awful.util.spawn("urxvt", false, s)
end
Whereupon three urxvt instances are lanched on my *right* display.
Now I'm confused.
If I try 'awful.util.spawn("urxvt", false, n)' in the lua prompt, the
window is launched on my *currently focused* display, as long as n is
within range
of my screen count. If it is outside, awesome complains to stderr, as
expected.
Awesome is fully able to launch a tagbar, or whatever it is called, on all
three displays on startup.
System info:
Gentoo GNU/Linux @ 3.6.11
Nvidia prop drivers @ 313.26
3 Monitors
No display manager, launching startx directly from init/openrc
Xinerama
My startx init script:
depend() {
after dropbox
# i keep .config, .vim +++++ synced with dropbox
}
start() {
su -c 'startx -- +xinerama &>>/var/log/X.log' $USER
}
stop() {
killall X
}
My .xinitrc:
xrdb -merge $HOME/.Xresources
sh $HOME/.fehbg &
exec awesome >> /tmp/awesome_stdout 2>> /tmp/awesome_stderr
Regards,
Ole Johan Væringstad