![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.
|
|
General Help All your general support questions for Ubuntu, Kubuntu, Edubuntu and Xubuntu. |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
A Carafe of Ubuntu
![]() Join Date: Sep 2006
Beans: 99
|
help? how do i edit xorg.conf from commandline?
i sort of messed things up messing around a little and i need to fix my xorg.conf now, but i dont know how to edit it from commandline! i thought that removing xserver-xorg-core would remove all the config and put it back to how it was, then just reinstall the nvidia driver but that didnt work! this all happened when i changed it from nv to nvidia and restarted. i just need to change that back i think...
i can see the file in windows with explore2fs but i cannot make changes to it, pretty frustrating! Last edited by Huzudra; April 24th, 2007 at 05:25 PM.. |
|
|
|
|
|
#2 |
|
Just Give Me the Beans!
![]() Join Date: Oct 2005
My beans are hidden!
Ubuntu 8.04 Hardy Heron
|
Re: help? how do i edit xorg.conf from commandline?
Hey, just do something like:
Code:
sudo nano /etc/X11/xorg.conf |
|
|
|
|
|
#3 | |
|
Ubuntu Extra Shot
![]() Join Date: Dec 2006
Location: Oxford and Jyvaskyla
Beans: 359
Ubuntu 9.10 Karmic Koala
|
Re: help? how do i edit xorg.conf from commandline?
Try:
Quote:
__________________
Resuscitating metaphysics from the graveyard of logical positivism, in time for tea. |
|
|
|
|
|
|
#4 |
|
Ubuntu Extra Shot
![]() Join Date: Dec 2006
Location: Oxford and Jyvaskyla
Beans: 359
Ubuntu 9.10 Karmic Koala
|
Re: help? how do i edit xorg.conf from commandline?
I'll second that then, lol!
__________________
Resuscitating metaphysics from the graveyard of logical positivism, in time for tea. |
|
|
|
|
|
#5 |
|
A Carafe of Ubuntu
![]() Join Date: Sep 2006
Beans: 99
|
Re: help? how do i edit xorg.conf from commandline?
thanks to both of you, i'll try this once i've downloaded the new image and burned it to CD just incase i cant get it fixed, i'll just format/reinstall. there was nothing on there that was special, i just booted to it to check email/browse/chat on gaim.
|
|
|
|
|
|
#6 |
|
A Carafe of Ubuntu
![]() Join Date: Sep 2006
Beans: 99
|
Re: help? how do i edit xorg.conf from commandline?
while i appreciate the help, it didnt work out, says the file is empty or doesnt exist when i try nano, but i can SEE it when in windows or booted to the cdrom and its there and not empty!!! but i cant write to it from either so im just going to reinstall. now heres a good one, how come im having install problems now!
i formatted the partition it was on to ext3 again but it says theres no root file system installed? or am i mistooken and it should be ext2? nevermind, i need to learn to read whats on my screen! its just one of those days! Last edited by Huzudra; April 24th, 2007 at 09:57 PM.. |
|
|
|
|
|
#7 |
|
Chocolate Ubuntu Mocha Blend
![]() Join Date: Jun 2006
Beans: 1,736
Ubuntu 8.04 Hardy Heron
|
Re: help? how do i edit xorg.conf from commandline?
The terminal is case sensitive. Make sure the "X" in "X11" is capitalized. /etc/X11/xorg.conf
|
|
|
|
|
|
#8 |
|
A Carafe of Ubuntu
![]() Join Date: Sep 2006
Beans: 99
|
Re: help? how do i edit xorg.conf from commandline?
thats good to know! i just reinstalled, reinstalled the nvidia-glx, enabled it, same problem again! yargh this is getting on my nerves now! i really dont like a 60hz refresh rate so i'd like to get this working!
so i wrote down the backup, tried to do it, it cant stat the backup file, no directory found!? is that case sensitive too? i think i got it down right, it should go like... cp /var/backups/xorg/xorg.cong.2007-04-24-22:22:15 /etc/X11/xorg.conf correct? it says it cant find the backup file im pointing at, but now that i know the X11 part is case sensitive i think i can edit the config back to having the driver disabled so atleast i can use it again. but why am i having it break each time i enable the nvidia-glx driver? i dont think i need the legacy driver just yet, its an fx5700. i am soo very confused here! i'd never had the driver enabled under edgy, it wouldnt let me saying something about how i had to manually edit it, i never got around to it. edit, backup didnt work because thats not a 1, its a 4!!! i cant see straight today. guys i swear im not usually this mr magoo about things. really the root issue, besides my ineptitudes today, is that whenever i enable the nvidia-glx xserver tosses itself out the window with a short rope around its neck. i think the error is no device found or no monitor found. back onto linux, got it updated. it looks like the nvidia-glx when enabled points to a pci device, where as this system has an agp card installed? i'm pretty lost on this one, i dont know that much yet. how do i fix this? 60hertz hertz my eyes. heres the bit from the config Section "Device" Identifier "nVidia Corporation NV36.2 [GeForce FX 5700]" Driver "nv" BusID "PCI:1:0:0" EndSection Last edited by Huzudra; April 25th, 2007 at 12:19 AM.. |
|
|
|
|
|
#9 |
|
A Carafe of Ubuntu
![]() Join Date: Sep 2006
Beans: 99
|
Re: help? how do i edit xorg.conf from commandline?
any thoughts on the nvidia-glx issue? or should i start a new thread about this topic?
![]() |
|
|
|
|
|
#10 | |
|
Chocolate Ubuntu Mocha Blend
![]() Join Date: Jun 2006
Beans: 1,736
Ubuntu 8.04 Hardy Heron
|
Re: help? how do i edit xorg.conf from commandline?
Read my whole post.
When you're typing directories & commands in terminal you can hit tab twice to show you all of the items in the directory you're pointing at. You can also type it and hit tab & it will complete the name for you. This way you avoid typos and the like. You'll have to use "sudo cp" instead of just "cp" to copy root files. Quote:
Code:
sudo cp /var/backups/xorg/xorg.conf.2007-04-24-22:22:15 /etc/X11/xorg.conf |
|
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|