Tiny Core Linux
Tiny Core Extensions => TCE Q&A Forum => Topic started by: mindmachine on January 02, 2014, 03:00:55 PM
-
Dear folks,
a happy new year to you all and a quick description of my problem:
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
-
edit /opt/.filetool.lst to include the file.
Then do a backup.
-
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... ;)
-
What is the output of
"ls -l /etc/sysconfig/tcedir" ?
-
tc@box:~$ ls -l /etc/sysconfig/tcedir
lrwxrwxrwx 1 root root 13 Jan 2 2014 /etc/sysconfig/tcedir -> /mnt/sda1/tce/
-
Then I cannot see how a backup would not work.
Show the output of
"cat /opt/.filetool.lst"
-
Here we go (but next to persistence, shouldn`t we rather focus on the keyboard layout problem?):
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:~$
-
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...)