Difference between revisions of "Openbox"

735 bytes added ,  11 years ago
no edit summary
imported>Verityproductions
imported>Verityproductions
Line 33: Line 33:
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:
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 +10</command>
         <command>xbacklight +10</command>
</action>
      </action>
</keybind>
    </keybind>
<keybind key="XF86MonBrightnessDown">
    <keybind key="XF86MonBrightnessDown">
<action name="Execute">
      <action name="Execute">  
         <command>xbacklight -10</command>
         <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 to use the ''find'' or ''Search'' functions provided by Gedit or Leafpad. Otherwise - if using nano - it will be necessary to manually scroll down to about the mid-way point (perhaps using the ''Page-Down'' key) to locate the following code:
</keyboard>
The overall section of the code should look like this:
    </keybind>
  '''</keyboard>'''
  <mouse>


{{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
Once located, the new code above can be inserted between the </keybind> and </keyboard> codes. Press <enter> after the </keybind> code to provide a space to do so. Below is an example where this has taken place. The new code inserted has been <font color="green">'''highlighted in green'''</font color> for illustrative purposes: