I would like to have my screen fully powered at all times, but it goes to standby once I lock my PC.
2 Answers
Open your System Settings. We need to make changes to Power and Brightness & Lock settings.
Power Settings
Change the value of Suspend when inactive for to Don't suspend.
Brightness & Lock Settings
Change the value of Turn screen off when inactive for to Never.
This should help to achieve your desired result.
-
2Thanks. For my particular issue (my speakers which were powered by the monitor would turn off when the screen gets locked) I just had to disable a setting of the display itself. Still, this answers the question I asked. Sep 25, 2013 at 13:02
I had to install additional screensaver program XScreenSaver and use it instead of default one because accepted answer had no effect for me on Ubuntu 16.04 and 17.10.
Install XScreenSaver:
sudo apt install xscreensaver
Add this command to Startup Applications:
xscreensaver -nosplash
Disable default Super+L shortcut
Install CompizConfig Settings Manager
sudo apt install compizconfig-settings-manager
Launch it and click "Ubuntu Unity Plugin"
Click the button next to "Key to lock the screen."
Disable
Add this command to enable Super+L shortcut for XScreenSaver in System Settings → Keyboard → Shortcuts → Custom Shortcuts:
xscreensaver-command -lock
-
How can I add
Super
(=Windows button
/CMD
) +L
as a custom shortcut if pressing that makes me logout directly :) when I want to set the shortcut? /// found out myself. Go to Settings --> Keyboard Shortcuts --> roughly in the middle, you find the topicSystem
, at the 3rd line, there isLog out
withSuper
+L
Shortcut. Click on it and give it something you do not need likeSuper
+;
. Then go down toCustom Shortcuts
and addSuper
+L
for the custom logout command. Feb 3, 2022 at 9:12