I need to edit my xorg.conf file.
I can navigate to it in Terminal but do not know how to open it.
If I navigate to it outside of terminal I can change it but cannot save the changes (not allowed)
I can't seem to find a "how to" for this.
Any help please?
(Debian 504 on a Toshiba laptop)
Chris
Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
How do I edit a file?
Re: How do I edit a file?
using the terminal is one way
su
nano /etc/X11/xorg.conf
using gksudo to run a editor with root privys is another
su
nano /etc/X11/xorg.conf
using gksudo to run a editor with root privys is another
- craigevil
- Posts: 5391
- Joined: 2006-09-17 03:17
- Location: heaven
- Has thanked: 28 times
- Been thanked: 39 times
Re: How do I edit a file?
You need to be root.
Try su nano /etc/X11/xorg.conf
or gksu gedit /etc/X11/xorg.conf if you prefer a GUI text editor
Or set-up sudo using visudo.
Some file managers have an option to run as root. I use pcmanfm, Under Tools> Open Current Folder as Root
Nautilus has a similar option if you have the package nautilus-gksu installed.
Try su nano /etc/X11/xorg.conf
or gksu gedit /etc/X11/xorg.conf if you prefer a GUI text editor
Or set-up sudo using visudo.
Some file managers have an option to run as root. I use pcmanfm, Under Tools> Open Current Folder as Root
Nautilus has a similar option if you have the package nautilus-gksu installed.
Raspberry PI 400 Distro: Raspberry Pi OS Base: Debian Sid Kernel: 5.15.69-v8+ aarch64 DE: MATE Ram 4GB
Debian - "If you can't apt install something, it isn't useful or doesn't exist"
My Giant Sources.list
Debian - "If you can't apt install something, it isn't useful or doesn't exist"
My Giant Sources.list