Difference between revisions of "Openbox"
Views
Actions
Namespaces
Variants
Tools
no edit summary
imported>Verityproductions |
imported>Verityproductions |
||
Line 8: | Line 8: | ||
=Step 1: Opening the ''rc.xml'' File= | =Step 1: Opening the ''rc.xml'' File= | ||
{{Note|It is not necessary to use the 'sudo' or 'gksu' commands, as you already have full permission to edit and amend the ''rc.xml'' file.}} | {{Note|It is not necessary to use the 'sudo' or 'gksu' commands, as you already have full permission to edit and amend the ''rc.xml'' file. It is also strongly recommended to use a text editor to amend the file, as it is quite large, and they provide search functions.}} | ||
Line 31: | Line 31: | ||
Once the file has been opened, you will be presented with a substantial amount of commands contained within it. Don't worry about this, as you will only need to add a new block of code, rather than amend anything that is there. The code that must be added to enable full control over the screen brightness is as follows: | Once the file has been opened, you will be presented with a substantial amount of commands contained within it. Don't worry about this, as you will only need to add a new block of code, rather than amend anything that is there. The code that must be added to enable full manual control over the screen brightness is as follows: | ||
<keybind key="XF86MonBrightnessUp"> | <keybind key="XF86MonBrightnessUp"> | ||
<action name="Execute"> | <action name="Execute"> | ||
<command>xbacklight + | <command>xbacklight +10</command> | ||
</action> | </action> | ||
</keybind> | </keybind> | ||
<keybind key="XF86MonBrightnessDown"> | <keybind key="XF86MonBrightnessDown"> | ||
<action name="Execute"> | <action name="Execute"> | ||
<command>xbacklight - | <command>xbacklight -10</command> | ||
</action> | </action> | ||
</keybind> | </keybind> | ||
{{warning|This code cannot just be placed anywhere in the file. It must be placed in a particular section in order to work. Please follow the instructions below to do so.}} | |||
To find the correct place in order to insert the above commands, it is recommended |