The i3 FAQ has migrated to https://www.reddit.com/r/i3wm/. All content here is read-only.
Ask Your Question
0

Prevent xautolock from locking while being in fullscreen

asked 2015-02-20 20:57:42 +0000

Clerius gravatar image

Is there any way to prevent xautolock from locking while watching videos (either in browser or mplayer/vlc) or being in fullscreen mode?

I know there is the option -corners that prevents xautolock from locking if the mouse cursor is in that corner, but that would need me to remind this every time I'm in fullscreen.

It would be suitable for me if there is any other program with similar functionality as xautolock offers, and does not lock when in fullscreen mode or watching fullscreen videos.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2015-02-20 23:49:45 +0000

cee gravatar image

An easy hack would be to automatically move the mouse pointer to the corner when watching a video;

xdotool mousemove 0 0

edit flag offensive delete link more

Comments

Sounds good. Already found a way to do this on pressing $mod+f for fullscreen: (question: 2-actions-one-binding) Also found a bash script that I could adopt to use xdotool whenever a player or youtube is in fullscreen. Will post an answer when I have it running. https://github.com/iye/lightsOn

Clerius gravatar imageClerius ( 2015-02-23 10:55:21 +0000 )edit

Question Tools

Stats

Asked: 2015-02-20 20:57:42 +0000

Seen: 673 times

Last updated: Feb 20