dconf editor power settings

Forum rules
Before you post please read how to get help
Post Reply
utopyr
Level 1
Level 1
Posts: 5
Joined: Mon Dec 19, 2011 1:40 pm

dconf editor power settings

Post by utopyr »

I switched over a month or so ago from Ubuntu, for the usual reason. Since I'm running it on a PC, not a laptop, theauto-suspend is an annoyance, not a virtue. I've checked through the forums here, and have tried adjusting the settings via dconf Editor, at org/gnome/settings-daemon/plugins/power, but changing the values there to higher numbers don't seem to have an effect. Yes, logged out & logged back in, even restarted, but no good.

I assume those numerical values are seconds. Is that so? Is there an upper limit beyond which they are ignored, or are only a re certain number of digits read, say, four places?

I tried installing Gnome-Presentation-Mode (https://github.com/RaphaelKimmig/Gnome- ... ation-Mode), as a user here has recommended on a couple of posts, but I do not find it where he says it should appear:
Gnome-Presentation-Mode is a tiny gnome-shell extension that adds a new
entry to the power indicator (the menu that opens when you click the
battery icon).
Sure would appreciate any suggestions.
utopyr
Level 1
Level 1
Posts: 5
Joined: Mon Dec 19, 2011 1:40 pm

Re: dconf editor power settings

Post by utopyr »

Since a good number of folks have read this, but none has replied, seems to be a common problem. Here's a fix which is not elegant, but seems to work. Fom the man page:

Code: Select all

SYNOPSIS
       xdg-screensaver suspend WindowID

DESCRIPTION
       xdg-screensaver provides commands to control the screensaver.

       xdg-screensaver is for use inside a desktop session only. It is not
       recommended to use xdg-screensaver as root.
To get the window ID, use this:

Code: Select all

xwininfo -int
Click in the browser, or video player, & the first line will give you an ID; then, e.g.,

Code: Select all

xdg-screensaver suspend 50331839
There has to be a better way, though. I had tried

Code: Select all

xset -dpms
xset s off
from the comand line and in .xinitrc, but that did nothing.

I'l try xdg-screensaver suspend when I watch a movie this evening & see what happens.
utopyr
Level 1
Level 1
Posts: 5
Joined: Mon Dec 19, 2011 1:40 pm

Re: dconf editor power settings

Post by utopyr »

Well, damn. That didn't do it either. Stayed undimmed for twenty minutes, up from ten, but didn't last thirty minutes. Next.
utopyr
Level 1
Level 1
Posts: 5
Joined: Mon Dec 19, 2011 1:40 pm

Re: dconf editor power settings

Post by utopyr »

Oh. Each instance will have a unique ID--duh. It dimmed because I closed the browser whose ID I had passed in the command. So, this needs to be done for any instance of a window opened. Got through a movie this evening fine.

Trying to figure out how to generalize this now. These didn't work:

Code: Select all

xdg-screensaver suspend 0
xdg-screensaver: Window 0 does not exist
xdg-screensaver suspend *
xdg-screensaver: Window acpi-support does not exist
Post Reply

Return to “MATE”