You are not logged in.
Pages: 1
I am attempting to disable screensaver, screen blank and screen lock via the command line. This is because the settings will be applied in an unattended install.
From my own research this appears to be possible through xorg.conf.
I have tried setting:
Section "ServerFlags"
Option "BlankTime" "0"
Option "StandbyTime" "0"
Option "OffTime" "0"
Option "SuspendTime" "0"
EndSection
Also:
Option "DPMS" "false"
in the Monitor section.
But even with these settings, when the machine is inactive for a period of time, the screen blanks and shortly after locks (password is required to disable screen blank).
Can someone please point me in the right direction?
Thanks
----------EDIT----------
Running XFCE 4.1 under Fedora 19
Last edited by dooffas (2013-09-13 09:54:43)
Offline
maybe take a look into .xscreensaver for possible settings, also new config for screesaver is in /etc/skel that should be empty with blank only afaik ...
Offline
In a last ditch effort to get this sorted, I removed the xscreensaver package. Alas, this did not solve the issue. The screen still blanks after a length of time. I have however managed to disable the 'screenblanking' with the xset utility. However cannot get it to persist after reboot.
Offline
I have however managed to disable the 'screenblanking' with the xset utility. However cannot get it to persist after reboot.
Add your xset commands to a startup script - a script can be scheduled to run during startup from Session_and_Startup-->Application_Autostart. But beyond that, check and disable the monitor settings in the preferences for xfce4-power-manager too.
Offline
Has this problem been resolved? I did all of what daggoth suggested above, but still no joy, the Screen Saver options are not being changed after restarting Xfce4.
I have created an Autostart script with xset commands for disabling screen blanking and gone into the Settings-->Session_Startup-->Application_Autostart menu and added an option to execute my Autostart script. On exiting and restarting Xfce4 and running xset -q I see the Screen Saver prefer blanking is back at 'yes'. If I go into the terminal emulator and type in 'xset s noblank' (or execute my Autostart script) and check the settings with xset -q again the prefer blanking is 'no'. So my commands are correct, but either my Autostart script is not being executed, or the order of scripts is such that there is some other script overriding my Autostart.
Can anyone give me a pointer as to how to make sure my script is the last one being executed? Or some other tip so as to stop the screen from blanking??
Offline
Ok, solved it. Create a shell in a folder of your choosing, say /home/Desktop/Autostart.sh. The file has something like:
#!/bin/bash
sleep 1; xset s off
sleep 1; xset s noblank
In Settings-->Session-->Startup--Application_Autostart create a new application (click on the + and the system generates a new line). Fill in the fields, but the important bit is in the 'Command' field, enter
zsh /home/Desktop/Autostart
Make sure you include the zsh (or sh depending on which version of Linux you are using). The other critical bit is to go to the Power Manager and enable it (not disable). Set the option for Timeout and Screen blank to 'never'. And that should do it.
I was led down the wrong path in my journey to finding the solution by reports on the internet that there was some sort of bug in Debian, Raspbian. In fact the actual problem is the apparent dearth of documentation that makes it clear just how Debain (Bananian) and Xfce work together. I hope this is of some use to others that have the same problem.
Last edited by georgeeipi (2015-04-20 03:09:28)
Offline
Go to application menu, then hover over settings. One of the options should Power Manager. In there click on display. Turn off Display Power Management.
Do Not Go Through All Settings
Last edited by joshuaesab (2022-02-21 10:41:27)
Offline
May
[quote=
xset s off
xset s noblank
=quote]
be put to ~/.initxrc?
Offline
Pages: 1
[ Generated in 0.009 seconds, 7 queries executed - Memory usage: 545.4 KiB (Peak: 546.02 KiB) ]