Alt+Space, x is the default shortcut for maximize/unmaximize in most window managers. Does that work?
Or maybe it's Alt+F6 and Alt+F7 as suggested in the Actions Documentation.
If not, you can add a binding using the information in the Openbox Bindings Documentation, but it sounds like you can only set shortcuts for all windows, not just for one program.
In brief, you find your rc.xml
file, then add something like this in the middle of it:
<keybind key="A-F6">
<action name="MaximizeFull"/>
</keybind>
Unless you meant unminimize / restore rather than maximize, i.e. a binding that works even when the window isn't focussed.
In that case, I'd suggest using xbindkeys
and wmctrl
. You'd have to write a script that runs wmctrl
to find the uzbl
window using wmctrl -l
, then run either wmctrl -a <win>
or wmctrl -R <win>
, then add an entry in .xbindkeysrc
to run that script whenever a specific keyboard combination was pressed.
If you install Compiz Config Settings Manager with:
sudo aptitude install compizconfig-settings-manager
You can then enable this functionality with Grid mode. Go to
Systems > Preferences > CompizConfig Settings Manager
and scroll down to Window Management. Then check Grid mode and, once you open the options for that mode, choose keybindings for Put Left
and Put Right
.
Best Answer
Install
xbindkeys
andxautomation
. Edit~/.xbindkeysrc.scm
and write:Run
xbindkeys
If you want to use a different set of keys, use
xbindkeys --multikey
to find out the codes.References: