|
|
|
![]() |
|
Strumenti |
![]() |
#1 |
Senior Member
Iscritto dal: Jun 2005
Città: CH
Messaggi: 1058
|
[ubuntu] Terminale
ho una domanda dovrei modoficare il file xorg.conf ma mi dice che nn ho i diritti, come faccio a modificare il file da terminale che li mi riesco a dare i diritti?
Thx |
![]() |
![]() |
![]() |
#2 |
Member
Iscritto dal: Mar 2007
Messaggi: 271
|
quando ti dice che non hai i diritti sufficienti devi diventare root, mettendo 'sudo' davanti al comando da eseguire.
sudo nano /etc/X11/xorg.conf oppure sudo gedit /etc/X11/xorg.conf oppure per fare tutto tramite interfaccia grafica puoi aggiungere un pulsante sul pannello del desktop e fargli eseguire questo comando: gksudo nautilus cosi hai nautilus in modalita amministratore e puoi modificare tutti i file senza dover usare la console. Ultima modifica di pfinet : 22-03-2007 alle 14:30. |
![]() |
![]() |
![]() |
#3 | |
Senior Member
Iscritto dal: Mar 2006
Messaggi: 2516
|
Quote:
per avere i privilegi o metti sudo davanti al comando che devi dare o fai sudo -s |
|
![]() |
![]() |
![]() |
#4 |
Senior Member
Iscritto dal: Dec 2004
Città: Trieste
Messaggi: 1138
|
sudo nano /etc/X11/xorg.conf
oppure sudo jed /etc/X11/xorg.conf
__________________
Cos'è Linux - Prima di installare Linux - Decalogo Linux - Introduzione a Linux - Linux How To A cosa serve Dio se c'è google? In ogni gruppo o comunità c'è un imbecille: se nella tua cerchia di amici non ne vedi, comincia a preoccuparti. |
![]() |
![]() |
![]() |
#5 |
Senior Member
Iscritto dal: Jun 2005
Città: CH
Messaggi: 1058
|
una domanda nel file xorg.conf cera "1024x768" "..." ec..
io ho modificato e messo anche un "1280x1024" ma poi se vado su resolution screen nn ce nessuno 1280x1024 nn basta solo modificare il file? (ho riavviato il pc...) ![]() |
![]() |
![]() |
![]() |
#6 |
Member
Iscritto dal: Mar 2007
Messaggi: 271
|
si, basta modificare xorg.conf e riavviare X. forse l'hai scritto nel punto sbagliato, prova a copiarlo qua.
Ultima modifica di pfinet : 22-03-2007 alle 14:48. |
![]() |
![]() |
![]() |
#7 |
Senior Member
Iscritto dal: Jun 2005
Città: CH
Messaggi: 1058
|
# /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 "dri" Load "extmod" Load "freetype" Load "glx" Load "int10" Load "type1" Load "vbe" EndSection Section "InputDevice" Identifier "Generic Keyboard" Driver "kbd" Option "CoreKeyboard" Option "XkbRules" "xorg" Option "XkbModel" "pc105" Option "XkbLayout" "ch" Option "XkbOptions" "lv3:ralt_switch" Option "XkbVariant" "fr" 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 # /dev/input/event # for USB Option "Type" "stylus" Option "ForceDevice" "ISDV4" # Tablet PC ONLY EndSection Section "InputDevice" Driver "wacom" Identifier "eraser" Option "Device" "/dev/wacom" # Change to # /dev/input/event # for USB Option "Type" "eraser" Option "ForceDevice" "ISDV4" # Tablet PC ONLY EndSection Section "InputDevice" Driver "wacom" Identifier "cursor" Option "Device" "/dev/wacom" # Change to # /dev/input/event # for USB Option "Type" "cursor" Option "ForceDevice" "ISDV4" # Tablet PC ONLY EndSection Section "Device" Identifier "NVIDIA Corporation NVIDIA Default Card" Driver "nv" BusID "PCI:1:0:0" EndSection Section "Monitor" Identifier "Generic Monitor" Option "DPMS" HorizSync 28-51 VertRefresh 43-60 EndSection Section "Screen" Identifier "Default Screen" Device "NVIDIA Corporation NVIDIA Default Card" Monitor "Generic Monitor" 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 "1280x1024" "1024x768" "800x600" EndSubSection SubSection "Display" Depth 24 Modes "1280x1024" "1024x768" "800x600" EndSubSection EndSection Section "ServerLayout" Identifier "Default Layout" Screen "Default Screen" InputDevice "Generic Keyboard" InputDevice "Configured Mouse" InputDevice "stylus" "SendCoreEvents" InputDevice "cursor" "SendCoreEvents" InputDevice "eraser" "SendCoreEvents" EndSection Section "DRI" Mode 0666 EndSection |
![]() |
![]() |
![]() |
#8 |
Member
Iscritto dal: Mar 2007
Messaggi: 271
|
sembra corretto... che scheda video hai? hai controllato se il monitor e la scheda video supportano quella risoluzione?
PS: nella sezione Monitor sostituisci Vertrefresh 43-60 con 43-85 (o il refresh massimo che il tuo monitor supporta, guarda sul manuale se ce l'hai): Section "Monitor" Identifier "Generic Monitor" Option "DPMS" HorizSync 28-51 <-- qua puoi mettere 70... VertRefresh 43-60 <-- metti almeno 85 EndSection poi premi CTRL+ALT+BACKSPACE per riavviare solo X (il server grafico) e controlla se puoi inserire la nuova risoluzione. Ultima modifica di pfinet : 22-03-2007 alle 15:02. |
![]() |
![]() |
![]() |
#9 |
Senior Member
Iscritto dal: Jun 2005
Città: CH
Messaggi: 1058
|
ho un notebook asus con nvidea goforce 7300
.. nn va?? mi aggiunge xò un 835x600 che manco ho messo... Ultima modifica di Pro7on : 22-03-2007 alle 15:10. |
![]() |
![]() |
![]() |
#10 |
Member
Iscritto dal: Mar 2007
Messaggi: 271
|
hai settato horizrefresh e vertrefresh con dei valori piu alti?
ci deve'essere qualche impostazione da qualche parte da sistemare... prova a eseguire: sudo dpkg-reconfigure xserver-xorg una procedura guidata ti fara una serie di domande per configurare la scheda video (è probabile che le prime volte sbagli qualcosa, per cui probabilmente ti tocchera farla piu di una volta...). prima pero fa una copia del file xorg.conf che funziona, in caso non ti capisci basta che rimetti quello (esegui sudo nautilus per farlo comodamente con la GUI). nb: puoi anche installare i driver ufficiali nvidia, qua c'è la guida: http://wiki.ubuntu-it.org/NvidiaDriver ti consiglio il secondo metodo, "Installazione dei drivers di Ubuntu". |
![]() |
![]() |
![]() |
#11 |
Senior Member
Iscritto dal: Mar 2005
Città: Ravenna
Messaggi: 1937
|
Ha un Notebook, indi è altamente improbabile che il suo Lcd supporti valori di refresh maggiori, quasi sicuramente dipende dai driver video non installati o non configurati.
__________________
Dell Inspiron 1720 Ice White Windows 7 Pro/Archlinux x86_64 - 3.0.x -Gnome3 Msi Wind U100 Windows Xp/Ubuntu 11.04 - Gnome3 |
![]() |
![]() |
![]() |
#12 | |
Senior Member
Iscritto dal: Mar 2006
Messaggi: 2516
|
Quote:
questo è il mio xorg.conf Codice:
# nvidia-xconfig: X configuration file generated by nvidia-xconfig # nvidia-xconfig: version 1.0 (buildmeister@builder3) Fri Dec 15 10:12:14 PST 2006 # /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 "ServerLayout" Identifier "Default Layout" Screen "Default Screen" 0 0 InputDevice "Generic Keyboard" InputDevice "Configured Mouse" InputDevice "stylus" "SendCoreEvents" InputDevice "cursor" "SendCoreEvents" InputDevice "eraser" "SendCoreEvents" EndSection Section "Files" # path to defoma fonts 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" FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType" EndSection Section "Module" Load "i2c" Load "bitmap" Load "ddc" Load "extmod" Load "freetype" Load "glx" Load "int10" Load "type1" Load "vbe" EndSection Section "InputDevice" Identifier "Generic Keyboard" Driver "kbd" Option "CoreKeyboard" Option "XkbRules" "xorg" Option "XkbModel" "pc105" Option "XkbLayout" "it" 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" # /dev/input/event # for USB Identifier "stylus" Driver "wacom" Option "Device" "/dev/wacom" # Change to Option "Type" "stylus" Option "ForceDevice" "ISDV4" # Tablet PC ONLY EndSection Section "InputDevice" # /dev/input/event # for USB Identifier "eraser" Driver "wacom" Option "Device" "/dev/wacom" # Change to Option "Type" "eraser" Option "ForceDevice" "ISDV4" # Tablet PC ONLY EndSection Section "InputDevice" # /dev/input/event # for USB Identifier "cursor" Driver "wacom" Option "Device" "/dev/wacom" # Change to Option "Type" "cursor" Option "ForceDevice" "ISDV4" # Tablet PC ONLY EndSection Section "Monitor" Identifier "Generic Monitor" HorizSync 28.0 - 60.0 VertRefresh 43.0 - 60.0 Option "DPMS" EndSection Section "Device" Identifier "NVIDIA Corporation NVIDIA Default Card" Driver "nvidia" Option "NoLogo" "true" EndSection Section "Screen" Identifier "Default Screen" Device "NVIDIA Corporation NVIDIA Default Card" Monitor "Generic Monitor" DefaultDepth 24 Option "RenderAccel" "True" Option "AllowGLXWithComposite" "True" Option "AddARGBGLXVisuals" "True" SubSection "Display" Depth 1 Modes "1280x800" "1024x768" "800x600" "640x480" EndSubSection SubSection "Display" Depth 4 Modes "1280x800" "1024x768" "800x600" "640x480" EndSubSection SubSection "Display" Depth 8 Modes "1280x800" "1024x768" "800x600" "640x480" EndSubSection SubSection "Display" Depth 15 Modes "1280x800" "1024x768" "800x600" "640x480" EndSubSection SubSection "Display" Depth 16 Modes "1280x800" "1024x768" "800x600" "640x480" EndSubSection SubSection "Display" Depth 24 Modes "1280x800" "1024x768" "800x600" "640x480" EndSubSection EndSection Section "Extensions" Option "Composite" "Enable" EndSection per installare i driver nvidia Codice:
sudo apt-get nvidia-glx |
|
![]() |
![]() |
![]() |
#13 |
Senior Member
Iscritto dal: Jun 2005
Città: CH
Messaggi: 1058
|
si si avevo il probblema sotto il naso e mi è sfuggito,...iam sorry
![]() ![]() sono andato sul sito della asus e ho notato che era 1280x800 ![]() ![]() thx a tutti ![]() |
![]() |
![]() |
![]() |
#14 |
Senior Member
Iscritto dal: Jun 2005
Città: CH
Messaggi: 1058
|
Un'altra domanda ho messo ubuntu in un'altro pc che ha un monitor piatto (HP 1955) solo che si vedono delle righe verticali blu sul monitor e ho notato che più abbasso la Frequenza d'aggiornamento ... piu sono grandi ste righe ma il probblema e che nn posso mettere piu di 70 Hz... per modificare ciò e sempre nel file xorg.conf ne?
dove lo dico xò? Ultima modifica di Pro7on : 29-03-2007 alle 14:31. |
![]() |
![]() |
![]() |
Strumenti | |
|
|
Tutti gli orari sono GMT +1. Ora sono le: 19:39.