Last active
January 12, 2023 02:58
-
-
Save ipang-dwi/56ac6c411bece63302fac037b1519a5c to your computer and use it in GitHub Desktop.
firstplato's openbox config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Shortcut list : | |
Alt + F4 (Openbox) - Close the active window | |
Alt + Space (Openbox) - Show the client menu for the active window | |
Alt + Tab (Openbox) - Cycle between windows on the desktop | |
Alt + Shift + Tab (Openbox) - Cycle between windows on the desktop in reverse order | |
Ctrl + Alt + Tab (Openbox) - Cycle between panel and desktop windows on the desktop | |
Win + D (Openbox) - Hide all windows to show the desktop | |
Win + E (Openbox) - Run the Konqueror file manager (This is an example of how to run a program with a key binding) | |
Alt + Esc (Openbox) - Lower the active window behind other windows, and activate the last window that was in use | |
Win + F1 (Openbox) - Go to the first desktop instantly | |
Win + F2 (Openbox) - Go to the second desktop instantly | |
Win + F3 (Openbox) - Go to the third desktop instantly | |
Win + F4 (Openbox) - Go to the fourth desktop instantly | |
Ctrl + Alt + Left arrow (Openbox) - Open the desktop switching dialog, to go to the desktop to the left of the current one | |
Ctrl + Alt + Right arrow (Openbox) - Open the desktop switching dialog, to go to the desktop to the right of the current one | |
Ctrl + Alt + Up arrow (Openbox) - Open the desktop switching dialog, to go to the desktop above the current one (This will only be useful if you use a pager to set up a desktop layout with multiple rows) | |
Ctrl + Alt + Down arrow (Openbox) - Open the desktop switching dialog, to go to the desktop below the current one (This will only be useful if you use a pager to set up a desktop layout with multiple rows) | |
Shift + Alt + Left arrow (Openbox) - Open the desktop switching dialog, to go to the desktop to the left of the current one, and bring the active window with you | |
Shift + Alt + Right arrow (Openbox) - Open the desktop switching dialog, to go to the desktop to the right of the current one, and bring the active window with you | |
Shift + Alt + Up arrow (Openbox) - Open the desktop switching dialog, to go to the desktop above the current one, and bring the active window with you (This will only be useful if you use a pager to set up a desktop layout with multiple rows) | |
Shift + Alt + Down arrow (Openbox) - Open the desktop switching dialog, to go to the desktop below the current one, and bring the active window with you (This will only be useful if you use a pager to set up a desktop layout with multiple rows) | |
Alt + Left click (Openbox) - Move a window | |
Alt + Right click (Openbox) - Resize a window. The window is resized towards the edge that the mouse is nearest to. So use Alt + Right mouse button in the top right corner of a window to resize that corner | |
Alt + Wheel up and wheel down (Openbox) - Change desktops forward and backward | |
~/.config/openbox/ | |
======================================================================================== | |
<keyboard> | |
... | |
<keybind key="W-Left"> | |
<action name="UnmaximizeFull"/> | |
<action name="MoveResizeTo"> | |
<x>0</x> | |
<y>0</y> | |
<width>50%</width> | |
<height>97%</height> | |
</action> | |
</keybind> | |
<keybind key="W-Right"> | |
<action name="UnmaximizeFull"/> | |
<action name="MoveResizeTo"> | |
<x>1/2</x> | |
<y>0</y> | |
<width>50%</width> | |
<height>97%</height> | |
</action> | |
</keybind> | |
<keybind key="W-Down"> | |
<action name="Iconify"/> | |
</keybind> | |
<keybind key="W-Up"> | |
<action name="Maximize"/> | |
</keybind> | |
</keyboard> | |
======================================================================================== | |
$ openbox --reconfigure | |
======================================================================================== | |
Win+Left - Resize the current windows to fit in half left space of your screen | |
Win+Right - Resize the current windows to fit in half right space of your screen | |
Win+Up - Maximize your current window | |
Win+Down - Iconify your current window | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment