Portál AbcLinuxu, 8. prosince 2025 21:18
Řešení dotazu:
Co xset ...
# xset
usage: xset [-display host:dpy] option ...
...
To control Energy Star (DPMS) features:
-dpms Energy Star features off
+dpms Energy Star features on
dpms [standby [suspend [off]]]
force standby
force suspend
force off
force on
(also implicitly enables DPMS features)
a timeout value of zero disables the mode
...
For screen-saver control:
s [timeout [cycle]] s default s on
s blank s noblank s off
s expose s noexpose
s activate s reset
For status information: q
usage: xset [-display host:dpy] option ...
To turn bell off:
-b b off b 0
To set bell volume, pitch and duration:
b [vol [pitch [dur]]] b on
To disable bug compatibility mode:
-bc
To enable bug compatibility mode:
bc
To turn keyclick off:
-c c off c 0
To set keyclick volume:
c [0-100] c on
To control Energy Star (DPMS) features:
-dpms Energy Star features off
+dpms Energy Star features on
dpms [standby [suspend [off]]]
force standby
force suspend
force off
force on
(also implicitly enables DPMS features)
a timeout value of zero disables the mode
To control font cache:
fc [hi-mark [low-mark [balance]]]
both mark values spcecified in KB
balance value spcecified in percent (10 - 90)
Show font cache statistics:
fc s
To control Xprint features:
rehashprinterlist Recomputes the list of available printers
To set the font path:
fp= path[,path...]
To restore the default font path:
fp default
To have the server reread font databases:
fp rehash
To remove elements from font path:
-fp path[,path...] fp- path[,path...]
To prepend or append elements to font path:
+fp path[,path...] fp+ path[,path...]
To set LED states off or on:
-led [1-32] led off
led [1-32] led on
To set mouse acceleration and threshold:
m [acc_mult[/acc_div] [thr]] m default
To set pixel colors:
p pixel_value color_name
To turn auto-repeat off or on:
-r [keycode] r off
r [keycode] r on
r rate [delay [rate]]
For screen-saver control:
s [timeout [cycle]] s default s on
s blank s noblank s off
s expose s noexpose
s activate s reset
For status information: q
Jéé, hele, klasik ...
Chlape, umíš číst? Co tě zajímá? Video/LCD/cotoje screensaver. Tak proč to sem dáváš celé? Výstup xset q by stačil ... jestli tam máš taky "screensaver off" nebo jinak.
Tak jo. "xset" je program. Jednim z parametrů je "q". Takže když zadáš "xset q", tak bys měl vidět, zda máš screensaver nastavený.
Keyboard Control:
auto repeat: on key click percent: 0 LED mask: 00000000
auto repeat delay: 660 repeat rate: 25
auto repeating keys: 00ffffffdffffbbf
fadfffefffedffff
9fffffffffffffff
fff7ffffffffffff
bell percent: 50 bell pitch: 400 bell duration: 100
Pointer Control:
acceleration: 5/2 threshold: 10
Screen Saver:
prefer blanking: yes allow exposures: yes
timeout: 0 cycle: 0
Colors:
default colormap: 0x20 BlackPixel: 0 WhitePixel: 16777215
Font Path:
/usr/share/fonts/misc:unscaled,/usr/share/fonts/truetype/,/usr/share/fonts/Type1/,/usr/share/fonts/100dpi:unscaled,/usr/share/fonts/75dpi:unscaled,built-ins
DPMS (Energy Star):
Standby: 0 Suspend: 0 Off: 0
DPMS is Enabled
Monitor is On
Font cache:
Server does not have the FontCache Extension
Pokud by to dělalo tohle (xset aspol) a chápu "expose" dobře, tak xset s noexpose by mělo splnit funkci?
A) je teď stav v "xset q" jiný? B) stále se vypíná displej po 15 minutách? A je to po 15 minutách nečinnosti?
Section "ServerFlags" Option "BlankTime" "0" Option "StandbyTime" "0" Option "SuspendTime" "0" Option "OffTime" "0" EndSection
V "/etc/X11" by měl bejt, pokud neni, jednou z cest, jak ho vytvořit, je bez Xek spustit "X -configure".
gconftool-2 -R /apps/gnome-power-manager | grep display
sleep_display_ac = 0 sleep_display_battery = 0 sleep_display_ups = 600
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.