xdotool use in Openbox

Once XDoTool has been installed – if not already present – it will be necessary to create a keybind to access the root menu in ~/.config/openbox/rc.xml, and again below the <!– Keybindings for running aplications –> heading. For example, the following code will bring up the menu by pressing CTRL + m:

<keybind key=”C-m”> <action name=”ShowMenu”> <menu>root-menu</menu> </action> </keybind>

Place this command on tint2 execute Button. xdotool key control+m If you prefer to use jgmenu the above is not required. Simply install jgmenu and use this command on an execute button: jgmenu_run