Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

[Solved] How to assign hot key for xset

User discussion about Debian Development, Debian Project News and Announcements. Not for support questions.
Post Reply
Message
Author
Eugene
Posts: 12
Joined: 2012-07-20 08:44

[Solved] How to assign hot key for xset

#1 Post by Eugene »

I have Super+b assigned with xset dpms force off command to make screen blank. It works from terminal but with hotkey the screen goes blank but then something make it on again.
What it can be?
Last edited by Eugene on 2012-09-19 06:32, edited 1 time in total.

User avatar
plasma
Posts: 25
Joined: 2012-09-03 18:35

Re: How to assign hot key for xset

#2 Post by plasma »

Try to bind that key combination to a script, something like this:

Code: Select all

#!/bin/bash
sleep 0.1 && xset dpms force off
First result when searching with a search phrase like this (typo included):

Code: Select all

"xset dpms force off" does not wotk as hot key
http://unix.stackexchange.com/questions ... -force-off

More clues there if that script doesn't work.

Eugene
Posts: 12
Joined: 2012-07-20 08:44

Re: How to assign hot key for xset

#3 Post by Eugene »

Thanks, with delay it works.

Post Reply