You are not logged in.

#1 2012-10-28 11:36:54

kaipee
Member
From: Belfast, UK
Registered: 2012-07-07
Posts: 214

Can't disable screen dimming

I'm using Gnome Shell and can't seem to find a way to completely disable screen dimming on my desktop. It seems to disable roughly after 1 hour, which is really annoying when watching movies in XBMC.
I have set DPMS to off but this doesn't seem to have any effect.

Offline

#2 2012-10-28 11:53:28

flipper T
Member
Registered: 2012-09-14
Posts: 419

Re: Can't disable screen dimming

i use a combo of commands to ensure no dimming:

xset s off
xset s noblank
xset -dpms


...works for me


If I'm curt with you it's because time is a factor. I think fast, I talk fast and I need you guys to act fast if you wanna get out of this. So, pretty please... with sugar on top. Clean the [censored] car. -The Wolf

Offline

#3 2012-10-28 12:52:03

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Can't disable screen dimming

Please post the output of 'xset -q'.

Offline

#4 2012-10-28 12:55:36

kaipee
Member
From: Belfast, UK
Registered: 2012-07-07
Posts: 214

Re: Can't disable screen dimming

[kaipee@zoostorm-arch ~]$ xset -q
Keyboard Control:
  auto repeat:  on    key click percent:  0    LED mask:  00000002
  XKB indicators:
    00: Caps Lock:   off    01: Num Lock:    on     02: Scroll Lock: off
    03: Compose:     off    04: Kana:        off    05: Sleep:       off
    06: Suspend:     off    07: Mute:        off    08: Misc:        off
    09: Mail:        off    10: Charging:    off    11: Shift Lock:  off
    12: Group 2:     off    13: Mouse Keys:  off
  auto repeat delay:  500    repeat rate:  33
  auto repeating keys:  00ffffffdffffbbf
                        fadfffefffedffff
                        9fffffffffffffff
                        fff7ffffffffffff
  bell percent:  50    bell pitch:  400    bell duration:  100
Pointer Control:
  acceleration:  2/1    threshold:  4
Screen Saver:
  prefer blanking:  yes    allow exposures:  yes
  timeout:  0    cycle:  0
Colors:
  default colormap:  0x20    BlackPixel:  0x0    WhitePixel:  0xffffff
Font Path:
  /usr/share/fonts/misc/,/usr/share/fonts/TTF/,/usr/share/fonts/Type1/,/usr/share/fonts/100dpi/,/usr/share/fonts/75dpi/,built-ins
DPMS (Energy Star):
  Standby: 0    Suspend: 0    Off: 0
  DPMS is Enabled
  Monitor is On

Offline

#5 2012-10-28 13:28:50

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Can't disable screen dimming

Next to last line says 'DPMS is Enabled'. Turn it off and see if it helps.
flipper T provided nice options (xset -dpms), read the wiki if you need more info: https://wiki.archlinux.org/index.php/Di … _Signaling

Offline

#6 2012-10-28 13:38:07

kaipee
Member
From: Belfast, UK
Registered: 2012-07-07
Posts: 214

Re: Can't disable screen dimming

Thanks karol , though I know I set it to disabled before, wierd lol

I'll not change this to SOLVED until I get a chance to test it with XBMC later

Offline

#7 2012-10-28 16:00:20

flipper T
Member
Registered: 2012-09-14
Posts: 419

Re: Can't disable screen dimming

"xset -dpms" is not persistant & does not survive a reboot.

"weirdness" solved.

Last edited by flipper T (2012-10-28 16:01:31)


If I'm curt with you it's because time is a factor. I think fast, I talk fast and I need you guys to act fast if you wanna get out of this. So, pretty please... with sugar on top. Clean the [censored] car. -The Wolf

Offline

#8 2012-10-28 16:03:43

kaipee
Member
From: Belfast, UK
Registered: 2012-07-07
Posts: 214

Re: Can't disable screen dimming

aah that would be why lol
How do I set it to be persistent? Or how do I persistently disable dimming?

Offline

#9 2012-10-28 16:08:07

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Can't disable screen dimming

You can put it e.g. in ~/.xinitrc.

Offline

#10 2012-10-28 16:09:17

kaipee
Member
From: Belfast, UK
Registered: 2012-07-07
Posts: 214

Re: Can't disable screen dimming

I'm native systemd, am I right in that ~/.xinitrc isn't used with systemd?

Offline

#11 2012-10-28 16:14:48

flipper T
Member
Registered: 2012-09-14
Posts: 419

Re: Can't disable screen dimming

create a text document called .xprofile in you home directory.

in it put the command, save, reboot, smile.

ps i have the 3 commands previously posted in mine.

Last edited by flipper T (2012-10-28 16:15:46)


If I'm curt with you it's because time is a factor. I think fast, I talk fast and I need you guys to act fast if you wanna get out of this. So, pretty please... with sugar on top. Clean the [censored] car. -The Wolf

Offline

#12 2012-10-28 16:18:16

kaipee
Member
From: Belfast, UK
Registered: 2012-07-07
Posts: 214

Re: Can't disable screen dimming

So I have ~/.xprofile and it will look like:

xset s off
xset s noblank
xset -dpms

correct? do I need the #!/bin/sh ?

Offline

#13 2012-10-28 16:19:52

flipper T
Member
Registered: 2012-09-14
Posts: 419

Re: Can't disable screen dimming

no. that's fine.

you are good to go.

Last edited by flipper T (2012-10-28 16:20:24)


If I'm curt with you it's because time is a factor. I think fast, I talk fast and I need you guys to act fast if you wanna get out of this. So, pretty please... with sugar on top. Clean the [censored] car. -The Wolf

Offline

#14 2012-10-28 16:20:52

kaipee
Member
From: Belfast, UK
Registered: 2012-07-07
Posts: 214

Re: Can't disable screen dimming

Great, thanks flipper T.
I'll reboot and leave until later before I mark solved smile

Offline

#15 2012-10-28 20:02:26

kaipee
Member
From: Belfast, UK
Registered: 2012-07-07
Posts: 214

Re: Can't disable screen dimming

OK so I rebooted, went shopping, came back and the screen was black (kind of like when locked, but wasn't locked)

Offline

#16 2012-10-28 21:09:17

flipper T
Member
Registered: 2012-09-14
Posts: 419

Re: Can't disable screen dimming

not your day, is it ? smile

take another look at xset -q.

if changes to screensaver & dpms have been made, i'm out of ideas.


If I'm curt with you it's because time is a factor. I think fast, I talk fast and I need you guys to act fast if you wanna get out of this. So, pretty please... with sugar on top. Clean the [censored] car. -The Wolf

Offline

#17 2012-10-28 23:08:46

kaipee
Member
From: Belfast, UK
Registered: 2012-07-07
Posts: 214

Re: Can't disable screen dimming

It never seems to be my day with Arch lol. Have a look at my other issues tongue

For some reason, standby and suspend seem to have reverted to 600 (though DPMS does seem to have kept itself disabled)

[kaipee@zoostorm-arch ~]$ xset -q
Keyboard Control:
  auto repeat:  on    key click percent:  0    LED mask:  00000002
  XKB indicators:
    00: Caps Lock:   off    01: Num Lock:    on     02: Scroll Lock: off
    03: Compose:     off    04: Kana:        off    05: Sleep:       off
    06: Suspend:     off    07: Mute:        off    08: Misc:        off
    09: Mail:        off    10: Charging:    off    11: Shift Lock:  off
    12: Group 2:     off    13: Mouse Keys:  off
  auto repeat delay:  500    repeat rate:  33
  auto repeating keys:  00ffffffdffffbbf
                        fadfffefffedffff
                        9fffffffffffffff
                        fff7ffffffffffff
  bell percent:  50    bell pitch:  400    bell duration:  100
Pointer Control:
  acceleration:  2/1    threshold:  4
Screen Saver:
  prefer blanking:  no    allow exposures:  yes
  timeout:  0    cycle:  0
Colors:
  default colormap:  0x20    BlackPixel:  0x0    WhitePixel:  0xffffff
Font Path:
  /usr/share/fonts/misc/,/usr/share/fonts/TTF/,/usr/share/fonts/Type1/,/usr/share/fonts/100dpi/,/usr/share/fonts/75dpi/,built-ins
DPMS (Energy Star):
  Standby: 600    Suspend: 600    Off: 600
  DPMS is Disabled

Offline

#18 2012-10-28 23:19:57

flipper T
Member
Registered: 2012-09-14
Posts: 419

Re: Can't disable screen dimming

i think that the standby / suspend values are not relevant if dpms is disabled.

what desktop environment are you using?

could it be a DE specific setting / screensaver?

(you have probably guessed that i'm no expert, just suggest stuff that worked for me)


If I'm curt with you it's because time is a factor. I think fast, I talk fast and I need you guys to act fast if you wanna get out of this. So, pretty please... with sugar on top. Clean the [censored] car. -The Wolf

Offline

#19 2012-10-28 23:22:28

kaipee
Member
From: Belfast, UK
Registered: 2012-07-07
Posts: 214

Re: Can't disable screen dimming

Using Gnome Shell
Brightness and Lock (settings) is configured to turn off screen when inactive for 1 hour - though there is no option to disable it.

Also have noticed that gconf settings I change manually don't keep after a reboot

Offline

#20 2012-10-28 23:29:04

kaipee
Member
From: Belfast, UK
Registered: 2012-07-07
Posts: 214

Re: Can't disable screen dimming

Well, looky what I found smile
Gnome Shell plugin

I'll test and see how it works

Offline

#21 2012-11-10 19:17:40

kaipee
Member
From: Belfast, UK
Registered: 2012-07-07
Posts: 214

Re: Can't disable screen dimming

OK so this plugin doesn't work with Gnome 3.6 (which I now stupidly have on my laptop)

So I need to come back to finding a solution to preventing the display from sleeping. (also noticed I cannot stop the suspend mode when closing laptop lid - nothing works)

Offline

#22 2015-03-28 16:53:45

r10t
Member
Registered: 2015-03-28
Posts: 1

Re: Can't disable screen dimming

might be some monitor mode, my LG always dims when set to movie mode.

Offline

#23 2015-03-28 18:38:22

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Can't disable screen dimming

Please don't necrobump old threads: https://wiki.archlinux.org/index.php/Fo … bumping.22



Closing


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB