Xorg.conf – How to Change xorg.conf File with Permission

command linepermissionsxorg

I want to edit the /etc/X11/xorg.conf file but I can't save the file. It says "permission denied."

How can I edit the file?

Best Answer

Open a Terminal and then :

Open with Gedit...

gksudo gedit /etc/X11/xorg.conf

open with nano...

sudo nano /etc/X11/xorg.conf

now you can edit ..

P.D make a backup before change the file so you can revert your modification...

sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf_backup
Related Question