#! /bin/sh # Xstartup - run as root before session starts PATH="$PATH:/usr/bin/X11" if [ -e /etc/nologin ]; then # always display the nologin message, if possible if [ -s /etc/nologin ] && which xmessage > /dev/null 2>&1; then xmessage -file /etc/nologin -geometry 640x480 fi if [ "$(id -u)" != "0" ] && \ ! grep -qs '^ignore-nologin' /etc/kde3/kdm/kdm.options; then exit 1 fi fi if grep -qs '^use-sessreg' /etc/kde3/kdm/kdm.options && \ which sessreg > /dev/null 2>&1; then exec sessreg -a -l "$DISPLAY" -u /var/run/utmp \ -h "`echo $DISPLAY | cut -d: -f1`" "$USER" # NOTREACHED fiEst-ce que je peux remplacer sans risque la ligne
parCitation
xmessage -file /etc/nologin -geometry 640x480
@4 Quid de mon clavier? Comment faire pour qu'il soit en azerty dès le démarrage?Citation
xmessage -file /etc/nologin -geometry 1024x768
(...) Section "screen" # identifier "screen1" device "device1" defaultdepth 24 monitor "monitor1" SubSection "Display" depth 24 modes "640x480@60" EndSubSection EndSection Section "monitor" # identifier "monitor1" vendorname "Plug 'n' Play" modelname "Plug 'n' Play" modeline "640x480@60" 25.2 640 656 752 800 480 490 492 525 -vsync -hsync gamma 1.0 EndSection (...)
Section "screen" # identifier "screen1" device "device1" defaultdepth 24 monitor "monitor1" SubSection "Display" depth 24 modes "640x480@60" EndSubSection
Une ATI Radeon 9200 SECitation
Triangle
Quelle est ta carte graphique?
Donc si je remplace 640x480@60 par 1024x768@85 (la résolution de mon bureau, qui fonctionne très bien), ça doit marcher? Il n'y a pas de risque de se retrouver avec un écran noir ou un plantage quelconque? (c'est que j'aime pas trop tripatouiller quand je sais pas ce que je fais...)Citation
diancech
Section "screen" # identifier "screen1" device "device1" defaultdepth 24 monitor "monitor1" SubSection "Display" depth 24 modes "640x480@60" EndSubSection
Xorg fait ce qui est dit dans son fichier de
config, Là il mets la résolution en 640*480 à 60
hz.
Donc je dois aussi changer la ligneCitation
diancech
Oui mais moi je n'utilise pas la fréquence dans la
ligne de modes ce que je fais en général je mets
uniquement la résolution dans la ligne mode et les
plages de fréquence dans la section "Monitor".
dans la section "monitor", mais je ne sais pas par quoi remplacer toutes ces valeurs (bon, pour faire simple, sans changer la fréquence, on va pas se casser la tête) Est-ce qu'elles ça se rapportent uniquement à la fréquence (donc je les change pas si je laisse 60Hz), ou bien aussi à la résolution (et là je suis bien embêté...)?Citation
modeline "640x480@60" 25.2 640 656 752 800 480 490 492 525 -vsync -hsync
# /etc/X11/xorg.conf (xorg 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 /etc/X11/xorg.conf manual page. # (Type "man /etc/X11/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 "Files" FontPath "/usr/share/X11/fonts/misc" FontPath "/usr/share/X11/fonts/cyrillic" FontPath "/usr/share/X11/fonts/100dpi/:unscaled" FontPath "/usr/share/X11/fonts/75dpi/:unscaled" FontPath "/usr/share/X11/fonts/Type1" FontPath "/usr/share/X11/fonts/100dpi" FontPath "/usr/share/X11/fonts/75dpi" FontPath "/usr/share/fonts/X11/misc" # path to defoma fonts FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType" EndSection Section "Module" Load "i2c" Load "bitmap" Load "ddc" Load "extmod" Load "freetype" Load "int10" Load "type1" Load "vbe" load "glx" load "GLcore" load "dri" load "v4l" EndSection Section "InputDevice" Identifier "Generic Keyboard" Driver "kbd" option "CoreKeyboard" option "XkbRules" "xorg" option "XkbModel" "pc105" option "XkbLayout" "fr" option "XkbOptions" "lv3:ralt_switch" option "XkbModel" "pc105" option "XkbLayout" "fr" option "XkbOptions" "lv3:ralt_switch" EndSection Section "InputDevice" Identifier "Configured Mouse" Driver "mouse" option "CorePointer" option "Device" "/dev/input/mice" option "Protocol" "ExplorerPS/2" option "ZAxisMapping" "4 5" option "Emulate3Buttons" "true" EndSection Section "InputDevice" Driver "wacom" Identifier "stylus" option "Device" "/dev/wacom"# Change to option "Type" "stylus" option "ForceDevice" "ISDV4"# Tablet PC ONLY # /dev/input/event # for USB EndSection Section "InputDevice" Driver "wacom" Identifier "eraser" option "Device" "/dev/wacom"# Change to option "Type" "eraser" option "ForceDevice" "ISDV4"# Tablet PC ONLY # /dev/input/event # for USB EndSection Section "InputDevice" Driver "wacom" Identifier "cursor" option "Device" "/dev/wacom"# Change to option "Type" "cursor" option "ForceDevice" "ISDV4"# Tablet PC ONLY # /dev/input/event # for USB EndSection Section "Device" identifier "ATI Technologies, Inc. RV280 [Radeon 9200 SE]" boardname "ATI Radeon (fglrx)" busid "PCI:1:5:0" driver "ati" screen 0 vendorname "ATI" option "MergedFB" "off" EndSection Section "Monitor" identifier "LS702U" vendorname "Iiyama" modelname "Iiyama S702GT, VisionMaster 400" HorizSync 27.0-96.0 VertRefresh 50.0-160.0 modeline "640x480@60" 25.2 640 656 752 800 480 490 492 525 -vsync -hsync modeline "640x480@72" 31.5 640 664 704 832 480 489 491 520 -vsync -hsync modeline "640x480@75" 31.5 640 656 720 840 480 481 484 500 -vsync -hsync modeline "640x480@85" 36.0 640 696 752 832 480 481 484 509 -vsync -hsync modeline "800x600@56" 36.0 800 824 896 1024 600 601 603 625 +hsync +vsync modeline "800x600@72" 50.0 800 856 976 1040 600 637 643 666 +hsync +vsync modeline "800x600@75" 49.5 800 816 896 1056 600 601 604 625 +hsync +vsync modeline "800x600@85" 56.3 800 832 896 1048 600 601 604 631 +hsync +vsync modeline "800x600@60" 40.0 800 840 968 1056 600 601 605 628 +hsync +vsync modeline "832x624@75" 57.284 832 864 928 1152 624 625 628 667 -vsync -hsync modeline "1024x768@85" 94.5 1024 1072 1168 1376 768 769 772 808 +hsync +vsync modeline "1024x768@75" 78.8 1024 1040 1136 1312 768 769 772 800 +hsync +vsync modeline "1024x768@70" 75.0 1024 1048 1184 1328 768 771 777 806 -vsync -hsync modeline "1024x768@60" 65.0 1024 1048 1184 1344 768 771 777 806 -vsync -hsync modeline "1024x768@43" 44.9 1024 1032 1208 1264 768 768 776 817 +hsync interlace +vsync modeline "1152x864@75" 108.0 1152 1216 1344 1600 864 865 868 900 +hsync +vsync modeline "1280x1024@75" 135.0 1280 1296 1440 1688 1024 1025 1028 1066 +hsync +vsync modeline "1280x960@60" 102.1 1280 1360 1496 1712 960 961 964 994 -hsync +vsync modeline "1280x960@85" 148.5 1280 1344 1504 1728 960 961 964 1011 +hsync +vsync modeline "1280x1024@85" 157.5 1280 1344 1504 1728 1024 1025 1028 1072 +hsync +vsync modeline "1280x1024@60" 108.0 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync modeline "1280x960@75" 129.86 1280 1368 1504 1728 960 961 964 1002 -hsync +vsync modeline "1400x1050@60" 122.61 1400 1488 1640 1880 1050 1051 1054 1087 -hsync +vsync modeline "1400x1050@75" 155.85 1400 1496 1648 1896 1050 1051 1054 1096 -hsync +vsync modeline "1600x1200@65" 175.5 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync modeline "1600x1200@60" 162.0 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync modeline "1600x1200@75" 202.5 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync modeline "1600x1200@70" 189.0 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync modeline "1792x1344@60" 204.8 1792 1920 2120 2448 1344 1345 1348 1394 -hsync +vsync modeline "1856x1392@60" 218.3 1856 1952 2176 2528 1392 1393 1396 1439 -hsync +vsync modeline "1920x1440@60" 234.0 1920 2048 2256 2600 1440 1441 1444 1500 -hsync +vsync modeline "2048x1536@60" 266.95 2048 2200 2424 2800 1536 1537 1540 1589 -hsync +vsync gamma 1.5 EndSection Section "Screen" Identifier "Default Screen" Device "ATI Technologies, Inc. RV280 [Radeon 9200 SE]" Monitor "LS702U" DefaultDepth 24 SubSection "Display" depth 24 virtual 2048 1536 modes "1024x768@85" "1024x768@75" "832x624@75" "1024x768@70" "800x600@60" "1024x768@60" "800x600@85" "1024x768@43" "800x600@75" "1152x864@75" "800x600@72" "1280x1024@75" "800x600@56" "1280x960@60" "640x480@85" "1280x960@85" "640x480@75" "1280x1024@85" "640x480@72" "1280x1024@60" "640x480@60" "1280x960@75" "1400x1050@60" "1400x1050@75" "1600x1200@65" "1600x1200@60" "1600x1200@75" "1600x1200@70" "1792x1344@60" "1856x1392@60" "1920x1440@60" "2048x1536@60" EndSubSection EndSection Section "ServerLayout" Identifier "Default Layout" screen 0 "Default Screen" 0 0 InputDevice "Generic Keyboard" InputDevice "Configured Mouse" InputDevice "stylus" "SendCoreEvents" InputDevice "cursor" "SendCoreEvents" InputDevice "eraser" "SendCoreEvents" EndSection Section "DRI" Mode 0666 EndSection Section "device" # identifier "device1" boardname "ATI Radeon (fglrx)" busid "PCI:1:5:0" driver "ati" screen 1 vendorname "ATI" option "MergedFB" "off" EndSection Section "screen" # identifier "screen1" device "device1" defaultdepth 24 monitor "monitor1" SubSection "Display" depth 24 modes "1024x768@85" EndSubSection EndSection Section "monitor" # identifier "monitor1" vendorname "Plug 'n' Play" modelname "Plug 'n' Play" modeline "1024x768@85" 94.5 1024 1072 1168 1376 768 769 772 808 +hsync +vsync gamma 1.0 EndSection Section "ServerFlags" EndSection
Section "device" # identifier "device1" boardname "ATI Radeon (fglrx)" busid "PCI:1:5:0" driver "ati" screen 1 vendorname "ATI" option "MergedFB" "off" EndSection Section "screen" # identifier "screen1" device "device1" defaultdepth 24 monitor "monitor1" SubSection "Display" depth 24 modes "1024x768@85" EndSubSection EndSection Section "monitor" # identifier "monitor1" vendorname "Plug 'n' Play" modelname "Plug 'n' Play" modeline "1024x768@85" 94.5 1024 1072 1168 1376 768 769 772 808 +hsync +vsync gamma 1.0 EndSection
modeline "640x480@60" 25.2 640 656 752 800 480 490 492 525 -vsync -hsync modeline "640x480@72" 31.5 640 664 704 832 480 489 491 520 -vsync -hsync modeline "640x480@75" 31.5 640 656 720 840 480 481 484 500 -vsync -hsync modeline "640x480@85" 36.0 640 696 752 832 480 481 484 509 -vsync -hsync modeline "800x600@56" 36.0 800 824 896 1024 600 601 603 625 +hsync +vsync modeline "800x600@72" 50.0 800 856 976 1040 600 637 643 666 +hsync +vsync modeline "800x600@75" 49.5 800 816 896 1056 600 601 604 625 +hsync +vsync modeline "800x600@85" 56.3 800 832 896 1048 600 601 604 631 +hsync +vsync modeline "800x600@60" 40.0 800 840 968 1056 600 601 605 628 +hsync +vsync modeline "832x624@75" 57.284 832 864 928 1152 624 625 628 667 -vsync -hsync modeline "1024x768@85" 94.5 1024 1072 1168 1376 768 769 772 808 +hsync +vsync modeline "1024x768@75" 78.8 1024 1040 1136 1312 768 769 772 800 +hsync +vsync modeline "1024x768@70" 75.0 1024 1048 1184 1328 768 771 777 806 -vsync -hsync modeline "1024x768@60" 65.0 1024 1048 1184 1344 768 771 777 806 -vsync -hsync modeline "1024x768@43" 44.9 1024 1032 1208 1264 768 768 776 817 +hsync interlace +vsync modeline "1152x864@75" 108.0 1152 1216 1344 1600 864 865 868 900 +hsync +vsync modeline "1280x1024@75" 135.0 1280 1296 1440 1688 1024 1025 1028 1066 +hsync +vsync modeline "1280x960@60" 102.1 1280 1360 1496 1712 960 961 964 994 -hsync +vsync modeline "1280x960@85" 148.5 1280 1344 1504 1728 960 961 964 1011 +hsync +vsync modeline "1280x1024@85" 157.5 1280 1344 1504 1728 1024 1025 1028 1072 +hsync +vsync modeline "1280x1024@60" 108.0 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync modeline "1280x960@75" 129.86 1280 1368 1504 1728 960 961 964 1002 -hsync +vsync modeline "1400x1050@60" 122.61 1400 1488 1640 1880 1050 1051 1054 1087 -hsync +vsync modeline "1400x1050@75" 155.85 1400 1496 1648 1896 1050 1051 1054 1096 -hsync +vsync modeline "1600x1200@65" 175.5 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync modeline "1600x1200@60" 162.0 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync modeline "1600x1200@75" 202.5 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync modeline "1600x1200@70" 189.0 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync modeline "1792x1344@60" 204.8 1792 1920 2120 2448 1344 1345 1348 1394 -hsync +vsync modeline "1856x1392@60" 218.3 1856 1952 2176 2528 1392 1393 1396 1439 -hsync +vsync modeline "1920x1440@60" 234.0 1920 2048 2256 2600 1440 1441 1444 1500 -hsync +vsync modeline "2048x1536@60" 266.95 2048 2200 2424 2800 1536 1537 1540 1589 -hsync +vsync
virtual 2048 1536
modes "1024x768@85" "1024x768@75" "832x624@75" "1024x768@70" "800x600@60" "1024x768@60" "800x600@85" "1024x768@43" "800x600@75" "1152x864@75" "800x600@72" "1280x1024@75" "800x600@56" "1280x960@60" "640x480@85" "1280x960@85" "640x480@75" "1280x1024@85" "640x480@72" "1280x1024@60" "640x480@60" "1280x960@75" "1400x1050@60" "1400x1050@75" "1600x1200@65" "1600x1200@60" "1600x1200@75" "1600x1200@70" "1792x1344@60" "1856x1392@60" "1920x1440@60" "2048x1536@60"
modes "1280x1024" "1152x864" "1024x768" "800x600" "640x480"