2011-06-16
By Xyne
The titles says it all. These are scripts for Openbox. Most if not all will be for pipemenus. Check the projects page for more Openbox applications. They will most likely begin with "Ob", e.g. ObFileBrowser.
This was inspired by a script posted by vivitron on the Arch Linux forum. It will move the active window to the mouse location when combined with a keybinding. This is useful when a window is off-screen and can't be easily moved, as may happen if you start up in Twinview mode while only using one screen.
#!/bin/bash # This script will move the active window to the mouse's location. It can be # used to retrieve windows that are no longer visible on the screen. # # Save it as "winhere" somewhere on your PATH and then add the following lines # to the "<keyboard>" section of Openbox's rc.xml file: # # <keybind key="W-h"> # <action name="Execute"> # <command>winhere</command> # </action> # </keybind> # # Focus a window with alt-tab and then press w-h (Windows/super key + h) to move # the window to the mouse's location. Change "w-h" if you would prefer another # binding. # # This obviously depends on xdotool, so make sure that you have it installed. # # /Xyne eval $(xdotool getmouselocation --shell) xdotool getactivewindow windowmove $X $Y
| File | Size | Last Modified |
|---|---|---|
| obmenucleaner | 3.04 KiB | 2011-06-16 02:59 GMT |
| obpacview | 7.91 KiB | 2010-03-30 02:00 GMT |