Portál AbcLinuxu, 9. května 2025 23:51
Zdravím,
potreboval bych poradit s nastavením rozlišení X.org. Používám Debian Etch asi 1/2 roku na svém HP nx6110 v rozlišeni 1024x768 až teď bych rád používal i nižší rozlišení 800x600 640x480 ale nějak se k tomu nemůžu dopracovat. V gnome>nastavení>rozlišení obrazovky mam na výběr jen 1024x768. X.org 6.8.2 a ted i 6.9.0. Používám i 915resolution ale výsledky se nedostavují. Zkoušel jsem se mrknout od Ubuntu které se válí na mém HDD ale to se chová úplně stejně.
X.org
# xorg.conf.dpkg-new (Xorg X Window System server configuration file) Section "Files" FontPath "unix/:7100" # local font server # if the local font server has problems, we can fall back on these FontPath "/usr/lib/X11/fonts/misc" FontPath "/usr/lib/X11/fonts/cyrillic" FontPath "/usr/lib/X11/fonts/100dpi/:unscaled" FontPath "/usr/lib/X11/fonts/75dpi/:unscaled" FontPath "/usr/lib/X11/fonts/Type1" FontPath "/usr/lib/X11/fonts/CID" FontPath "/usr/lib/X11/fonts/100dpi" FontPath "/usr/lib/X11/fonts/75dpi" EndSection Section "Module" Load "bitmap" Load "dbe" Load "ddc" Load "dri" Load "extmod" Load "freetype" Load "glx" Load "int10" Load "record" Load "type1" Load "v4l" Load "vbe" EndSection Section "InputDevice" Identifier "Generic Keyboard" Driver "keyboard" Option "CoreKeyboard" Option "XkbRules" "xorg" Option "XkbModel" "pc104" Option "XkbLayout" "us" EndSection Section "InputDevice" Identifier "Microsoft Wireless Mouse" Driver "mouse" Option "CorePointer" Option "Device" "/dev/input/mice" Option "Protocol" "ImPS/2" Option "Emulate3Buttons" "true" Option "ZAxisMapping" "4 5" EndSection Section "InputDevice" Identifier "Synaptics Touchpad" Driver "synaptics" Option "SendCoreEvents" "true" Option "Device" "/dev/psaux" Option "Protocol" "auto-dev" Option "HorizScrollDelta" "0" EndSection Section "Device" Identifier "Intel 915GM" Driver "i810" BusID "PCI:0:2:0" EndSection Section "Monitor" Identifier "LCD display" Option "DPMS" EndSection Section "Screen" Identifier "Default Screen" Device "Intel 915GM" Monitor "LCD display" DefaultDepth 24 SubSection "Display" Depth 1 Modes "1024x768" "800x600" "640x480" EndSubSection SubSection "Display" Depth 4 Modes "1024x768" "800x600" "640x480" EndSubSection SubSection "Display" Depth 8 Modes "1024x768" "800x600" "640x480" EndSubSection SubSection "Display" Depth 15 Modes "1024x768" "800x600" "640x480" EndSubSection SubSection "Display" Depth 16 Modes "1024x768" "800x600" "640x480" EndSubSection SubSection "Display" Depth 24 Modes "1024x768" "800x600" "640x480" EndSubSection EndSection Section "ServerLayout" Identifier "Default Layout" Screen "Default Screen" InputDevice "Generic Keyboard" InputDevice "Microsoft Wireless Mouse" InputDevice "Synaptics Touchpad" EndSection Section "DRI" Mode 0666 EndSection915resolution
# 915resolution default # # find free modes by /usr/sbin/915resolution -l # and set it to MODE # MODE=50 # # and set resolutions for the mode. # XRESO=640 YRESO=480 #Nemáte někdo návrh jak na to?
xrandr -o čísloKde to číslo zjistíte ze samotného příkazu xrandr (mě to nejede a ovladač mi na tom padá), nebo potom ještě příkazem :
xrandr -s 800x600Zdar Max
Jé kdyby to bylo tak jednoduchý. Kdyz v xorg.conf umazu vsude "1024x768" tak se stejne x-server spustí v 1024x768.
A xrandr vraci
SZ: Pixels Physical Refresh *0 1024 x 768 ( 302mm x 222mm ) *60 Current rotation - normal Current reflection - none Rotations possible - normal Reflections possible - noneNevíte v čem je problém?
/etc/X11/xorg.conf
/etc/default/915resolution
"1024x768" "800x600" "640x480" tohle "1024x768 800x600 640x480"Zdar Max
Zkusil jsem to upravit ale zádný rozdíl jsem nezaznamenal. Přijde mi hlavně divný ze xrandr vypíše jen to jedno rozlišení.
Section "Screen" Identifier "Default Screen" Device "Intel 915GM" Monitor "LCD display" DefaultDepth 16 SubSection "Display" Depth 8 Modes "1024x768 800x600 640x480" EndSubSection SubSection "Display" Depth 16 Modes "1024x768 800x600 640x480" EndSubSection SubSection "Display" Depth 24 Modes "1024x768 800x600 640x480" EndSubSection EndSectionMožná totiž bude problém s tou barevnou hloubkou :-/
tady a tadyZdar Max
Žádná změna, ten prvni odkaz to popisuje celkem presne. S pouzitím vesa ovladače změna rozlišení funguje ale není to zrovna vhodné řešení. 915resolution správně rozezná všechny rozlišení.
tuším že by to mělo rovnou změnit rozlišení ale vrací tohle:
sewi@Mobile-bell:~$ xrandr -s 800x600 usage: xrandr [options] where options are: -display <display> or -d <display> -help -o .... -q or --query -s <size>/<width>x<height> or --size <size>/<width>x<height> -r <rate> or --rate <rate> -v or --version -x (reflect in x) -y (reflect in y) --screen <screen> --verbose sewi@Mobile-bell:~$
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.