Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Computer suspends in 10 minutes of inactivity no matter if Configure Desktop --> Power Management --> Power Profiles --> Suspend Session is checked or not. No matter what time is set there.
Does anyone have this problem? Is it a bug? I'll hardly need the suspend feature at all.
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195
Rep:
Xsession and xorg don't have a relationship in that sense.
First try that command on the command line and see if it resolves your problem.
If it does, you can create the /etc/X11/xsession.d folder, and create a script file which executes the command. Name the script 95dpms-set and the contents is:
Code:
#! /bin/bash
xset -dpms s off
If that doesn't work, you can also put this command xset -dpms s off in /etc/rc.local and it will be run at startup. That is, in many distributions. I don't know how your distro handles this, but it is easy to google.
It seems that this method works, but only one time. After the second 10 minutes period of inactivity computer suspends. A screensaver is set to run in 4 minutes of inactivity. I don't know if it's related.
The counterpart of /etc/rc in openSUSE is possibly /etc/init.d/after.local.
Code:
# /etc/init.d/after.local
#
# script with local commands to be executed from init after all scripts
# of a runlevel have been executed.
#
# Here you should add things, that should happen directly after
# runlevel has been reached. Common environment
# variables for this are:
# RUNLEVEL -- The current system runlevel.
# PREVLEVEL -- The previous runlevel (useful after a runlevel switch).
Running Debian Squeeze on a Gateway SX-2841.
I thought I would add my experience to this 'solved' thread because the thread did not quite answer my needs. So I explored. Here is what I found ..
Code:
xset -dpms
made no difference. The problem was not solved until I set
Code:
xset s off
This sets the Screen Saver Timeout to 0. It seems that the dpms status was not related. (I do not understand why, but that's what I found.) As for a place to put the command, I chose to add a line to '.bashrc'. That would not be a good solution for someone who runs a long time without ever starting a terminal window. But in my case, I spend most of the time with the terminal up. So it works.
Thanks to everyone for the help solving this nagging issue.
Last edited by LloydRice; 12-21-2011 at 09:17 PM.
Reason: I did the [code] brackets wrong.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.