You are not logged in.

#1 2017-09-13 19:52:36

UnaffiliatedScholar
Member
Registered: 2017-07-25
Posts: 9

Unable to edit, /etc/X11/xorg.conf.d/10-monitor.conf

I am installing Arch for the second time and am attempting to set up my  10-monitor.conf file

whenever i go to save the file in nano i get the output "error writing /etc/X11/xorg.conf.d/10-monitor.conf: is a directory"

Offline

#2 2017-09-13 20:03:58

loqs
Member
Registered: 2014-03-06
Posts: 2,923

Re: Unable to edit, /etc/X11/xorg.conf.d/10-monitor.conf

What is the output of

$ ls -la /etc/X11/xorg.conf.d/

Offline

#3 2017-09-14 04:28:55

UnaffiliatedScholar
Member
Registered: 2017-07-25
Posts: 9

Re: Unable to edit, /etc/X11/xorg.conf.d/10-monitor.conf

total 12
drwxr-xr-x 3 root root 4096 Sep 12 19:04 .
drwxr-xr-x 4 root root 4096 Sep 12 07:57 ..
drwxr-xr-x 2 root root 4096 Sep 13 19:30 10-monitor.conf

Offline

#4 2017-09-14 06:48:33

seth
Member
Registered: 2012-09-03
Posts: 4,636

Re: Unable to edit, /etc/X11/xorg.conf.d/10-monitor.conf

drwxr-xr-x 2 root root 4096 Sep 13 19:30 10-monitor.conf

So the error message is correct.

Offline

#5 2017-09-17 00:01:06

UnaffiliatedScholar
Member
Registered: 2017-07-25
Posts: 9

Re: Unable to edit, /etc/X11/xorg.conf.d/10-monitor.conf

What does that mean?

Offline

#6 2017-09-17 00:02:38

loqs
Member
Registered: 2014-03-06
Posts: 2,923

Re: Unable to edit, /etc/X11/xorg.conf.d/10-monitor.conf

UnaffiliatedScholar wrote:

What does that mean?

/etc/X11/xorg.conf.d/10-monitor.conf: is a directory
Is that not clear?

Offline

#7 2017-09-17 01:58:42

UnaffiliatedScholar
Member
Registered: 2017-07-25
Posts: 9

Re: Unable to edit, /etc/X11/xorg.conf.d/10-monitor.conf

So I can not write a .config file to a directory?

Offline

#8 2017-09-17 02:06:51

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 23,620
Website

Re: Unable to edit, /etc/X11/xorg.conf.d/10-monitor.conf

That may be what you tried to do, but it is not what you have done...

How, exactly, did you attempt to write the file?


Arch + dwm   •   Mercurial repos  •   Github

Registered Linux User #482438

Offline

#9 2017-09-17 03:18:38

escondida
Regular User
Registered: 2008-04-03
Posts: 143

Re: Unable to edit, /etc/X11/xorg.conf.d/10-monitor.conf

If I understand you correctly, it sounds as though you're not trying to save a config file to a directory (i.e., creating /etc/X11/xorg.conf.d/10-monitor.conf/conf) but rather trying to *overwrite* the directory with a file (i.e., you've created a file and instructed your editor to save it as /etc/X11/xorg.conf.d/10-monitor.conf, despite that exact name having already being taken by a directory).

The solution: remove the directory and then write the file there instead. xorg.conf.d is supposed to be filled with regular files, not further subdirectories.

Offline

#10 2017-09-25 07:55:51

UnaffiliatedScholar
Member
Registered: 2017-07-25
Posts: 9

Re: Unable to edit, /etc/X11/xorg.conf.d/10-monitor.conf

Thank you, It worked!

Offline

Board footer

Powered by FluxBB