Monday, November 30, 2026

 Turn off screen on Ubuntu 24 (Wayland) without sudo:

    Using a terminal: 

Read me: The number 3 is in seconds, and this will change basically the same settings you can configure under GUI (Graphical User Interface) under /Settings /Privacy &Security /Screen Lock /Blank Screen Delay. Meaning it will turn off the screen every 3 seconds or whatever timing you put. You deactivate with the same command but 0

gsettings set org.gnome.desktop.session idle-delay 3 

gsettings set org.gnome.desktop.session idle-delay 0 

 

 You can configure a keyboard shortcut as well with the same commands in: /Settings /Keyboard /View and Customize Shortcuts /+(Add a new shortcut). You will be able to set up all this with keyboard shortcuts.

Enjoy! 

 

No comments: