View Full Version : [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
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.
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
sudo gedit /etc/X11/xorg.conf
per avere i privilegi o metti sudo davanti al comando che devi dare o fai sudo -s
sudo nano /etc/X11/xorg.conf
oppure
sudo jed /etc/X11/xorg.conf
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...):help:
si, basta modificare xorg.conf e riavviare X. forse l'hai scritto nel punto sbagliato, prova a copiarlo qua.
# /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
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.
ho un notebook asus con nvidea goforce 7300
.. nn va?? mi aggiunge xò un 835x600 che manco ho messo...
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".
hai settato horizrefresh e vertrefresh con dei valori piu alti?
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.
ho un notebook asus con nvidea goforce 7300
.. nn va?? mi aggiunge xò un 835x600 che manco ho messo...
hai il mio stesso computer probabilmente, un asus z92j con core duo 1.83 ghz, nvidia 7300
questo è il mio xorg.conf
# 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
devi installare pero prima i driver nvidia altrimenti non partira un bel niente. fai prima una copia del vecchio file
per installare i driver nvidia
sudo apt-get nvidia-glx
ovviamente devi avere abilitato i repository universe e multiverse(google)
si si avevo il probblema sotto il naso e mi è sfuggito,...iam sorry:D :D
sono andato sul sito della asus e ho notato che era 1280x800 ;) e in efetti funziona :D
thx a tutti ;)
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ò?
vBulletin® v3.6.4, Copyright ©2000-2025, Jelsoft Enterprises Ltd.