View Full Version : [ubuntu] Keyboard Shortcut

June 13th, 2011, 07:17 PM
i created a shell file to manage a problem with brightness in ubuntu 11.04! I can make it work without asking a password the only i can't do (and this can sound stupid) is to create a key shortcut to launch it in the terminal

if anyone could help me i would grateful

June 13th, 2011, 09:35 PM
1. Let's assume you have the file brightness.sh in your home folder.

2. Make sure it is executable.

3. Now go to system ->Preferences ->Keyboard shortcuts, and click on add.

4. In name box call it Brightness; in command box type /home/username/brightness.sh and click Apply button.

5. Right click on the new custom shortcut at the bottom of the list and press the keys you want to use, eg Ctrl+Alt+B, and they should appear in the listing, as long as they are still available for use and don't conflict with anything already in use somewhere else.

June 14th, 2011, 03:19 PM
i was doing exactly that
and i don't know why but it wasn't working
i think maybe i was writing wrong something, because when i just copied the path it started working
i don't know how i miss something but i don't care now it works

thanks for your help
regards ;)

June 14th, 2011, 03:46 PM

Can you mark as solved please.