The i3 FAQ has migrated to All content here is read-only.
Ask Your Question

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

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


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.

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

Question Tools


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

Seen: 673 times

Last updated: Feb 20