Wednesday, June 18, 2014

OpenBox shortcut

Problem: My screen is failing due to the abuse it has taken from the traveling lifestyle. I need to be able to invert the colors to see certain types of text, and revert to original to see pictures. I installed xcalib to give me that ability, but I wanted to hotkey the command.

Solution: With this guide, and this wiki, I succeeded.
Main Menu > Settings > Openbox > edit rc.xml
Scroll to <keyboard> - add your fancy new shortcut. Here's mine:
 <!-- Keybindings by Emily -->  
   <keybind key="W-s">  
    <action name="Execute">  
     <startupnotify>  
      <enabled>true</enabled>  
      <name>xcalib</name>  
     </startupnotify>  
     <command>xcalib -i -a</command>  
    </action>  
   </keybind>  

No comments:

Post a Comment