Tiny Core Linux

Tiny Core Base => Raspberry Pi => Topic started by: MrToga on April 22, 2022, 05:47:41 AM

Title: setxkbmap onboot ?
Post by: MrToga on April 22, 2022, 05:47:41 AM
Hi

I found an extension for setting my keyboard in the GUI but I can't use it in the /opt/bootlocal.sh nor /opt/bootsync.sh because the x server start after this 2 file.
Somebody know how to use the command

setxkboard fr
Just after the GUI has started ?
Title: Re: setxkbmap onboot ?
Post by: Rich on April 22, 2022, 05:56:25 AM
Hi MrToga
Create a file (any name you want) in your  .X.d  directory containing:
Code: [Select]
setxkboard fr &The command will get executed once X is running.
Title: Re: setxkbmap onboot ?
Post by: MrToga on April 22, 2022, 06:09:04 AM
Hi Rich,

So I put a file in the .X.d directory but when I reboot and then the startx launch the keyboard is still in us

Maybe I am missing the extension of the file ?
Title: Re: setxkbmap onboot ?
Post by: MrToga on April 22, 2022, 06:25:01 AM
Update :

I didn't put the file in executable and I got the wrong command, the command was :

setxkbmap fr &

(My bad I'm dumb)

Title: Re: setxkbmap onboot ?
Post by: Rich on April 22, 2022, 06:40:07 AM
Hi MrToga
You know the old saying:
Garbage in, garbage out.

You gave me garbage, and garbage is what I returned.  ;D