Strona 1 z 1

[+] Ustawienie usypiania monitora w Gnome

: 27 lipca 2009, 21:34
autor: dogen kigen
Zawsze w ustawieniach gnome miałem opcję wyłączania monitora po 5 minutach bezczynności. Niestety od jakiegoś czasu monitor przestał się wyłączać. Nie mam nawet pomysłu jaka może być tego przyczyna. W razie czego przedstawiam mojego /etc/X11/xorg.conf:

Kod: Zaznacz cały

# xorg.conf (X.Org X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "InputDevice"
	Identifier	"Generic Keyboard"
	Driver		"kbd"
	Option		"XkbRules"	"xorg"
	Option		"XkbModel"	"pc105"
	Option		"XkbLayout"	"pl"
EndSection

Section "InputDevice"
	Identifier	"Configured Mouse"
	Driver		"mouse"
EndSection

Section "Device"
	Identifier	"Configured Video Device"
EndSection

Section "Monitor"
	Identifier	"Configured Monitor"
	Option          "DPMS"
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Monitor		"Configured Monitor"
        SubSection "Display"
                Viewport  0 0
                Depth     24
                Modes     "1024x768"
        EndSubSection
EndSection

: 27 lipca 2009, 23:43
autor: sigo
W Twoim pliku konfiguracyjnym nie występuje żadna opcja konfigurująca czas usypiania monitora.

W gnome za tę czynność odpowiada gnome-power-manager konfiguracji dokonujesz w gnome-power-preferences. Można to oczywiście uniezależnić od środowiska graficznego czy menedżera okien, dodając odpowiednie wpisy w konfiguracji xorg-a.

: 28 lipca 2009, 10:09
autor: MMW
Gnome-power-manager u mnie nie działa, a na dodatek konfliktuje z wpisami w X-ach. Rozwiązanie: dopisać do programów startowych GNOME:

Kod: Zaznacz cały

xset dpms 300 300 300

: 29 lipca 2009, 13:40
autor: dogen kigen
Dzieki MMW. Problem rozwiązany ; ]

: 01 września 2009, 20:09
autor: skynet
Ten sam problem wystąpił u mnie, ale rozwiązałem go trochę inaczej, w xorg.conf w sekcji monitor potrzebny jest wpis:

Kod: Zaznacz cały

        Option          "DPMS"
a w sekcji "ServerLayout":

Kod: Zaznacz cały

#        Option          "BlankTime"     "4"
#        Option          "StandbyTime"   "0"
#        Option          "SuspendTime"   "0"
        Option          "OffTime"       "10"
Wartości są w minutach.

źródło: http://www.shallowsky.com/linux/x-screen-blanking.html