Take a look at our
ThinkPads.com HOME PAGE
For those who might want to contribute to the blog, start here: Editors Alley Topic
Then contact Bill with a Private Message

xscreensaver eating Fn-4 (suspend) keypress

Linux on ThinkPads
Post Reply
Message
Author
jana_kazakh
Posts: 4
Joined: Wed Nov 23, 2005 9:27 am

xscreensaver eating Fn-4 (suspend) keypress

#1 Post by jana_kazakh » Fri Jan 04, 2019 3:24 am

Hello,

I have an X250 running Arch Linux & XFCE, which is configured to lock the screen with xscreensaver when the Fn-4 key combination is pressed, and suspend the machine. The machine wakes correctly when any key is pressed or the lid is opened, and displays the xscreensaver password prompt. I am unable to put the machine directly back into suspend mode by pressing Fn-4, because the keypress is captured by xscreensaver instead. I have to unlock the screen before pressing Fn-4 instead.

Is there a way of telling xscreensaver to ignore/pass along specific keypresses such as Fn-4 to the system?

The best workaround I've thought of so far would be to call xscreensaver via a script that dramatically reduces the suspend timeout before running xscreensaver, and restores it after the screen is unlocked

Post Reply

Return to “Linux Questions”

Who is online

Users browsing this forum: Lister and 3 guests