I looking for a method to turn-off the screensaver and powermanager but from the command line.
I'm aware this can be done via the GUI screen - but can this be done via the command line or via some configuration editor?

|
I looking for a method to turn-off the screensaver and powermanager but from the command line. I'm aware this can be done via the GUI screen - but can this be done via the command line or via some configuration editor?
|
||||
|
|
For 11.10Disable the GNOME Settings Deamon's power plugin from the command line:
Alternatively, using
For the screensaver:
Or again via
|
|||||
|
|
Make a plain text doc in your home folder and copy this into it.
Save the document as "screensaver_off.sh" (without quotes), then open a terminal and enter
Then open up startup applications from the dash, click on the add button, name your start up application, and enter your command as:
replacing "david" with your home folders name, then add a description and click add, reboot and your done, No more screen blanking. You will have to do this per each user as default settings revert after logout or reboot.
|
|||
|
|
|
You can go to System preferences. There is a program called "Brightnes and lock" (Im not shure how it is called in english. Look at my screenshot) In this menu you can define, when the screenlock is activatet.
|
|||
|
Here is a solution that worked for me .. The problem I had was as I upgraded my Ubuntu 12.04 to 12.10 and to Gnome 3.6 the screen went black when idle for like 5 minutes even if I did not have any conventional settings for an active screen saver, needless to say it was sickeningly annoying .. Here is the solution I used and it worked (and I have tried a lot of different things, spending too much time searching on startpage.com (google) Scroll down to 'No screensaver in GNOME 3.2'. http://www.webupd8.org/2011/10/things-to-tweak-after-installing-ubuntu.html |
|||
|
|
You might find that the above solution is necessary, but not sufficient. The screen might still be blanking after 10 minutes. This is a default setting compiled into Xorg. To disabled it for the current session, run:
You can put this in your |
|||
|
|