PDA

View Full Version : [xubuntu] [SOLVED] something wrong with xorg.conf



im new here
July 29th, 2008, 01:49 PM
every time i try to edit xorg.conf when i try to save the changes it says Can't open file to write when using mousepad
and Writing error when attempting to save /etc/X11/xorg.conf when using when using abiword

so what is the solution ? remember that im using xununtu with xfce desktop

thanks

northern lights
July 29th, 2008, 01:54 PM
You can't save it cause you don't have permission to.

Open it as root
gksu abiword /etx/X11/xorg.conf
and you'll be allowed to save it.

N.B. that protection isn't meant as a nuisance but rather because you can screw up rather quickly by editing that file. Make sure you know what you're doing.

I'd rather advise you not to.

im new here
July 29th, 2008, 02:10 PM
well northern lights when i entered "gksu abiword /etx/X11/xorg.conf"

it opened an untiled abiword file so .......... ?

coffeecat
July 29th, 2008, 02:11 PM
gksu abiword /etx/X11/xorg.conf

Why advise him to use Abiword, when a simple text editor will do the job perfectly, and he may not have Abiword installed?


gksu mousepad /etc/X11/xorg.conf... should do.

Oh, and it's /etc, not /etx

northern lights
July 29th, 2008, 02:22 PM
Why advise him to use Abiword, when a simple text editor will do the job perfectly, and he may not have Abiword installed

compare


every time i try to edit xorg.conf when i try to save the changes it says Can't open file to write when using mousepad
and Writing error when attempting to save /etc/X11/xorg.conf when using when using abiword

etc/etx typo.

I'd use nano, for the sake of completion.

im new here
July 29th, 2008, 02:22 PM
well coffecat gksu abiword /etx/X11/xorg.conf also opened a mousepad empty page ????


and i have abiword installed and i corrected the mistake in the line before typing it

im new here
July 29th, 2008, 02:24 PM
any solutions ? ?

eightmillion
July 29th, 2008, 02:45 PM
How about,


sudo nano /etc/X11/xorg.conf

Remember, this is case sensitive. Make sure that first X is capitalized.

stevoo
July 29th, 2008, 02:49 PM
or ... try this

type
sudo gedit /etc/X11/xo
and the press tab ....
it should fill it up and press enter.
If it doesnt, then try double tapping see if the the file is there

im new here
July 29th, 2008, 02:51 PM
also blank in terminal

eightmillion
July 29th, 2008, 02:53 PM
Can you post the output of this command?

ls -l /etc/X11/

coffeecat
July 29th, 2008, 03:00 PM
well coffecat gksu abiword /etx/X11/xorg.conf also opened a mousepad empty page ????


and i have abiword installed and i corrected the mistake in the line before typing it

Apologies for missing the Abiword bit, but your problem stems from:


/etx/X11/xorg.conf
It should be:


/etc/X11/xorg.conf

Edit: You got it right in your first post (except for the gksu bit) but a typo crept into the thread somewhere. Repeat, that's 'x', not 'c' in etc.

im new here
July 29th, 2008, 03:05 PM
dosent any body have a solution here? ?? ? ?

eightmillion
July 29th, 2008, 03:07 PM
im new here, Can you please post the output of this command?

ls -l /etc/X11/

im new here
July 29th, 2008, 03:07 PM
ok 8000000 ill post it just a sec

im new here
July 29th, 2008, 03:14 PM
how could i copy and paste the out put here ?

im new here
July 29th, 2008, 03:33 PM
any sloutions here ?
hello

phidia
July 29th, 2008, 03:48 PM
Sometimes it easier to cd to the directory with the file you want to edit-well it's just a preference; cd stands for change directory so in a terminal window type:

cd /etc/X11 and press enter. Note command line completion works so you only have to type the X and press tab and it should fill in the rest for you.
when you are in the /etc/X11 directory type "ls" that should show a bunch of files one of which will be xorg.conf
Type
sudo nano xo and press tab or use gksu abiword if you like that better. Just let the terminal complete the line for you because then you will know the file is there-if it doesn't auto fill when pressing the tab key the file isn't there/you are typing the wrong letters.

philinux
July 29th, 2008, 03:53 PM
sudo gedit /etc/X11/xorg.conf


Dont type it but Copy and paste the command in a terminal.

im new here
July 29th, 2008, 04:38 PM
i got this sudo : gedit : command not found

im new here
July 29th, 2008, 04:39 PM
does every body here notice that im using xubuntu

northern lights
July 29th, 2008, 04:49 PM
sudo gedit /etc/X11/xorg.conf
I hate to be persnickety, but please run graphical apps with 'gksu' if you must run them as root.


gksu gedit /etc/X11/xorg.conf

https://help.ubuntu.com/community/RootSudo


@"i am new here":
instead of gedit, insert any text editor - evim, ed, emacs, your initial abiword, whatever you have installed...

philinux
July 29th, 2008, 04:53 PM
You're right gksudo for gedit I need more coffee.

philinux
July 29th, 2008, 07:26 PM
does every body here notice that im using xubuntu

Arrrggghh


gksudo mousepad /etc/X11/xorg.conf

northern lights
July 29th, 2008, 10:45 PM
Arrrggghh
More coffee 2morrow...
;)

im new here
July 29th, 2008, 10:50 PM
gksu gedit /etc/X11/xorg.conf

this one worked finally thanks alot