WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Persistence in /usr/local/share/X11/xorg.conf.d SOLVED  (Read 3673 times)

Offline mindmachine

  • Newbie
  • *
  • Posts: 45
Persistence in /usr/local/share/X11/xorg.conf.d SOLVED
« on: January 02, 2014, 03:00:55 PM »
Dear folks,
a happy new year to you all and a quick description of my problem:

Quote
SOLVED! Copy /usr/local/share/X11/xorg.conf.d/10-evdev.conf to /etc/X11/xorg.conf.d and add an entry for your keyboard-layout!

After upgrading to 5.1, my keyboard layout didn't work anymore. So I dug into the problem and found out, that the culprit is the xf86-input-evdev.tcz.
Xorg seems to ignore any settings for USB-keyboards when using this hotplug feature. By placing a 10-keyboard.conf-file with correct content into /usr/local/share/X11/xorg.conf.d and restarting the xserver, I get my keyboard layout working as desired till reboot.

Problem is, that for whatever I try, I don't get this file persistent. Neither an entry in .filetool.lst nor some command like cp from somewhere to xorg.conf.d in bootlocal.sh seem to work. So I suppose, the folder is created or overwritten while starting TC.

Can someone help me out with this? Where do I have to place my 10-keyboard.conf or where else can I place my keyboard-layout information? I found plenty of information about this problem on the net, but unfortunately not for TC.

Kind regards

mindmachine

 
« Last Edit: January 02, 2014, 06:47:09 PM by mindmachine »
------------------------------------------------------------
mindmachine

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: Persistence in /usr/local/share/X11/xorg.conf.d
« Reply #1 on: January 02, 2014, 03:38:49 PM »
edit /opt/.filetool.lst to include the file.
Then do a backup.

Offline mindmachine

  • Newbie
  • *
  • Posts: 45
Re: Persistence in /usr/local/share/X11/xorg.conf.d
« Reply #2 on: January 02, 2014, 04:03:52 PM »
Quote
Neither an entry in .filetool.lst nor some command like cp from somewhere to xorg.conf.d in bootlocal.sh seem to work.
Done that already, it doesn´t work for some reason. It won`t get persistent in this directory, is this possible?? And yes, I did a backup...  ;)
------------------------------------------------------------
mindmachine

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: Persistence in /usr/local/share/X11/xorg.conf.d
« Reply #3 on: January 02, 2014, 04:47:04 PM »
What is the output of
"ls -l /etc/sysconfig/tcedir" ?

Offline mindmachine

  • Newbie
  • *
  • Posts: 45
Re: Persistence in /usr/local/share/X11/xorg.conf.d
« Reply #4 on: January 02, 2014, 04:52:13 PM »
Quote
tc@box:~$ ls -l /etc/sysconfig/tcedir
lrwxrwxrwx    1 root     root            13 Jan  2  2014 /etc/sysconfig/tcedir -> /mnt/sda1/tce/
------------------------------------------------------------
mindmachine

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: Persistence in /usr/local/share/X11/xorg.conf.d
« Reply #5 on: January 02, 2014, 04:58:14 PM »
Then I cannot see how a backup would not work.
Show the output of
"cat /opt/.filetool.lst"

Offline mindmachine

  • Newbie
  • *
  • Posts: 45
Re: Persistence in /usr/local/share/X11/xorg.conf.d
« Reply #6 on: January 02, 2014, 05:06:02 PM »
Here we go (but next to persistence, shouldn`t we rather focus on the keyboard layout problem?):
Quote
tc@box:~$ cat /opt/.filetool.lst
opt
opt/alsa
home
usr/local/sbin/usb-mount
usr/local/sbin/usb-umount
usr/local/etc/ssh
usr/local/etc/samba
usr/local/etc/mpd.conf
usr/local/bin/mpd
usr/local/share/X11/xorg.conf.d/10-keyboard.conf
etc/udev/rules.d/98-tc.rules
etc/X11/xorg.conf
etc/sysconfig
etc/mpd.conf
etc/asound.bak
usr/local/etc/asound.state
opt/eth0.sh
etc/localtime
tc@box:~$
« Last Edit: January 02, 2014, 05:10:51 PM by mindmachine »
------------------------------------------------------------
mindmachine

Offline mindmachine

  • Newbie
  • *
  • Posts: 45
Re: Persistence in /usr/local/share/X11/xorg.conf.d
« Reply #7 on: January 02, 2014, 05:49:38 PM »
Okay, now I managed to get this file persistent in xorg.conf.d, but it won't be called for unknown reasons. Just by restarting the xserver it gets called, at boottime it is ignored.

(I am still not sure, what went wrong the first time, I tried to make it persistent. Might be a stupid coincidence of my own stupidity and some strange behaviour of TC. First time I checked the folder, the file wasn`t there, then I changed the scripts and did a backup, and again the file wasn`t there. No error message by the backup script... I then changed the scripts again and rebooted. Keyboard layout didn`t work, so I presumed, that the file wasn`t there again, but obviously it was, but not working for some reason... Well, I`m getting old...)
------------------------------------------------------------
mindmachine