Hello,
I am trying to create a global keyboard shortcut to quickly blank out my monitor. I've found I can use the command "sleep 1 && xset dpms force off" to do this. I can run this perfectly fine from the terminal and it does exactly what I need.
I then go into gconf-editor to set up the key bindings. I assign the command under the keybinding_commands and then create a binding under the appropriate global_keybindings. However, the command doesn't seem to execute when I press the hot keys.
I've tried switching around the hot keys to various options. I have also tried creating a bash script containing the command (which runs fine in the console) and then assigning it in gconf-editor. But, nothing wants to work.
Any help would be appreciated.
2009/3/13 David Moran david@waveproductions.net:
Hello,
I am trying to create a global keyboard shortcut to quickly blank out my monitor.
Oh? I've found it easier just to not browse those kind of websites at work...
Any help would be appreciated.
Assuming your screensaver isn't pornographic too, can you not just hit whatever screen combination locks your screen? CTRL-ALT-L is the Gnome default.
I have Scroll Lock bound to lock my screen for when the boss wanders over and my screensaver is set to a blank screen.
On Fri, Mar 13, 2009 at 12:52 AM, Sharpe, Sam J sam.sharpe+lists.redhat@gmail.com wrote:
2009/3/13 David Moran david@waveproductions.net:
Hello,
I am trying to create a global keyboard shortcut to quickly blank out my monitor.
Oh? I've found it easier just to not browse those kind of websites at work...
Any help would be appreciated.
Assuming your screensaver isn't pornographic too, can you not just hit whatever screen combination locks your screen? CTRL-ALT-L is the Gnome default.
I have Scroll Lock bound to lock my screen for when the boss wanders over and my screensaver is set to a blank screen.
-- Sam
CTRL+ALT+L does work to lock the screen, but it requires a password to get back in. I just wish to turn off the monitor.
David Moran wrote:
CTRL+ALT+L does work to lock the screen, but it requires a password to get back in. I just wish to turn off the monitor.
You could always create a desktop item that you can simply click on to do that.... And there is always the power button on the display itself.
On Fri, 2009-03-13 at 07:52 +0000, Sharpe, Sam J wrote:
Oh? I've found it easier just to not browse those kind of websites at work...
;-) I notice the lack of denial...
Another option could be to use a hotkey to switch to a different workspace. One screen for the human wildlife, another screen for your whatever.
Tim wrote:
On Fri, 2009-03-13 at 07:52 +0000, Sharpe, Sam J wrote:
Oh? I've found it easier just to not browse those kind of websites at work...
;-) I notice the lack of denial...
Another option could be to use a hotkey to switch to a different workspace. One screen for the human wildlife, another screen for your whatever.
Actually that doesn't work for me. It (CTRL-ALT-RARROW) only flips the workspace on your current X screen, but my 4 displays are split into two screens so if I was watching wide-screen wildlife videos on one set and browsing the web on the other, when I hit the hotkey it would probably hide only my web browsing, which might have somewhat embarrassing consequences.
I went with screen locking, because typing a password to get back in is no bad thing. If you just blank the display, sometimes mouse movement wakes it up - which is something most people would want to avoid in this hypothetical situation. Also, I've never really had a use for my scroll-lock key and it's easy to remember that the padlock symbol on it means it will lock my workstation...
-- Sam
On Fri, Mar 13, 2009 at 1:57 AM, Ed Greshko Ed.Greshko@greshko.com wrote:
You could always create a desktop item that you can simply click on to do that.... And there is always the power button on the display itself.
Desktop shortcut would work, but I would prefer a keyboard shortcut. Also, my monitor acts as a USB hub. If I power it off, everything plugged into it loses power. I would prefer that not happen.
I guess now I am more intrigued on why this particular command doesn't want to work when assigned to the keyboard. I have plenty of other commands assigned through gconf-editor that work just fine...
On Fri, Mar 13, 2009 at 4:50 AM, Tim ignored_mailbox@yahoo.com.au wrote:
;-) I notice the lack of denial...
Another option could be to use a hotkey to switch to a different workspace. One screen for the human wildlife, another screen for your whatever.
No, nothing pornographic involved. Besides, I think my boss would find it stranger if I were staring at a blank screen than if I were bored and looking at eye candy :).
-- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines