You are not logged in.
To begin with I run Openbox with dual monitors using seperate Xs. I was wondering what would be the syntax for making a keyboard shortcut to switch focus to the other monitor? I hate having to take my hands off the keyboard to switch focus. I do not know if this can be done since I run 2 openbox sessions. Any ideals?
Thanks
Last edited by securitybreach (2009-03-02 18:41:34)
"Every normal man must be tempted at times to spit upon his hands, hoist the black flag, and begin slitting throats." -- H.L. Mencken
Website Configs
Forum Admin: Bruno's All Things Linux
securitybreach<a>archlinux.us
Offline
I found switchscreen in AUR http://aur.archlinux.org/packages.php?ID=23831 Gonna try it.
Thanks
"Every normal man must be tempted at times to spit upon his hands, hoist the black flag, and begin slitting throats." -- H.L. Mencken
Website Configs
Forum Admin: Bruno's All Things Linux
securitybreach<a>archlinux.us
Offline
Nope cannot get it to work right. Maybe I am not using it right. Plus I cannot find the help option or the man page:
comhack ~ $ man switchscreen
No manual entry for switchscreen
comhack ~ $ switchscreen -h
Opening display :0.0
comhack ~ $ switchscreen -help
Opening display :0.0
comhack ~ $ switchscreen --help
Opening display :0.0
comhack ~ $
I looked at the website and it says:
4. Configure both window managers to run the script togglescreen.sh (included in the package) when you hit some hotkey, e.g. alt-tab. The script toggles the mouse cursor between screens 0 and 1, while remembering the position where the cursor previously was.
Where is this file?
comhack ~ $ locate togglescreen
comhack ~ $
Any ideals?
THanks
"Every normal man must be tempted at times to spit upon his hands, hoist the black flag, and begin slitting throats." -- H.L. Mencken
Website Configs
Forum Admin: Bruno's All Things Linux
securitybreach<a>archlinux.us
Offline
Ok I downloaded the source package and found the script. Although, when I run it I get:
comhack ~/switchscreen-0.1.1 $ sh togglescreen.sh
Opening display :0.0
Usage: switchscreen [other screen number]
By default, the other screen is 1 - this screen.
comhack ~/switchscreen-0.1.1 $ sh togglescreen.sh 1
Opening display :0.0
Usage: switchscreen [other screen number]
By default, the other screen is 1 - this screen.
comhack ~/switchscreen-0.1.1 $ sh togglescreen.sh 0:1
Opening display :0.0
Usage: switchscreen [other screen number]
By default, the other screen is 1 - this screen.
Also, here is my xorg.conf:
http://my-openbox.pastebin.com/d3cf87cf4
Thanks
Last edited by securitybreach (2009-03-03 00:00:19)
"Every normal man must be tempted at times to spit upon his hands, hoist the black flag, and begin slitting throats." -- H.L. Mencken
Website Configs
Forum Admin: Bruno's All Things Linux
securitybreach<a>archlinux.us
Offline