You are not logged in.
Hi,
I've got loads of hotkeys in my Openbox system. I just installed a game in wine and noticed that the Hotkeys still work ingame which is a behaviour i do not want.
Is there an easy/automated way to disable all hotkeys when entering a game and enable them when exiting? Or, maybe easier to realize, a switch within Openbox to do that that i can bind to a key?
For now, I guess I'll write a little bash script that moves rc.xml and updates the openbox config, but if there already is a way, please let me know.
Thanks,
demian
//
#!/bin/bash
#
file=$HOME/.config/openbox/rc.xml
tempfile=$HOME/.config/openbox/rc.xml.tmp
if [ -f $file ];then
mv $file $tempfile
elif [ -f $tempfile ];then
mv $tempfile $file
fi
openbox --reconfigure
Last edited by demian (2010-06-18 16:09:11)
no place like /home
github
Offline