WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: persistent xorg.conf  (Read 3258 times)

Offline Alatun

  • Newbie
  • *
  • Posts: 41
persistent xorg.conf
« on: September 23, 2015, 09:14:26 AM »
I need Tinycore running with Xorg and trying to find a location for xorg.conf that is persistent.

mydata.tgz only saves /home & /opt. I can control this with /opt/.filetool.lst.

As Xorg does not allow user specific config files you must use "global/system" directories like /etc/ ...

I could do some startup script using "sudo cp xorg.conf /etc/xorg.conf". But this seems ugly.

Any ideas how to do this properly?

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: persistent xorg.conf
« Reply #1 on: September 23, 2015, 09:16:44 AM »
Add it to /opt/.filetool.lst and do a backup.
Please read the book.

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: persistent xorg.conf
« Reply #2 on: September 23, 2015, 09:26:07 AM »

As Xorg does not allow user specific config files


Xorg do allow user specific config files. Look for the X11/xorg.conf.d directory.

Also your post is not related to Tiny Core Base as Xorg is an extension, not part of Base.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline Alatun

  • Newbie
  • *
  • Posts: 41
Re: persistent xorg.conf
« Reply #3 on: September 23, 2015, 10:17:34 AM »
Sorry for posting in wrong forum section. Perhaps a mod can move this thread.

@gerald_clark
I always look in the wiki and search the forum to get solutions myself. As I wrote, I found the .filetool.list, but adding /etc to this file seems overkill and this may cause unwanted side effects. I found an older forum topic regarding this issue (http://forum.tinycorelinux.net/index.php?topic=16446.0) but the poster wrote about problems that this did not work at first boot. So I was unsure about this.

I thought that more people should have this problem and maybe a better solution has been established in the mean time.
I will try adding /etc/X11 to .filetool.list and test this myself.

@bmarkus
I read the Xorg docs: http://www.x.org/releases/X11R7.7/doc/man/man5/xorg.conf.5.xhtml

These are the search paths for xorg.conf (for a regular user):

Code: [Select]
/etc/X11/<cmdline>
/usr/etc/X11/<cmdline>
/etc/X11/$XORGCONFIG
/usr/etc/X11/$XORGCONFIG
/etc/X11/xorg.conf
/etc/xorg.conf
/usr/etc/X11/xorg.conf.<hostname>
/usr/etc/X11/xorg.conf
/usr/lib/X11/xorg.conf.<hostname>
/usr/lib/X11/xorg.conf

As far as I can see, there are no user specific directories. (using .. is not allowed). If I'm wrong here, please explain.


Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: persistent xorg.conf
« Reply #4 on: September 23, 2015, 01:10:16 PM »
I never said to add etc to .filetool.lst.
Just add your xorg.conf.

Offline Alatun

  • Newbie
  • *
  • Posts: 41
Re: persistent xorg.conf
« Reply #5 on: September 24, 2015, 03:54:32 AM »
Initially I was assuming that I could only add directory names to .filetool.lst. That was the reason for my thoughts about adding /etc. But this has been resolved.

Thank you