You are not logged in.

#1 2020-05-09 09:20:25

Coalms
Member
Registered: 2020-04-22
Posts: 59

[SOLVED]Xkb keyboard settings "Refuse" to listen to conf file

Hello I have a problem with my 00-keyboard.conf not working (location /etc/X11/xorg.conf.d/ )
Checking the log files I couldn't figure out if too many devices where listed as keyboard and so the conf file loaded for the wrong device or if the file didn't load at all,i tried changing 00-keyboard.conf adding one more language(greek) but it didnt register it at all after reboot so my idea is that X loads the wrong "default" file but i cannot pinpoint where it is

I tried renaming my conf to .old but the output o setxkbmap -print -verbose 10 remained the same whatever changed I tried to do after reboot same output, either way editing evdev file is an imposibility since I have no idea how to do that,to me it looks more like a meta file rather than config file and I cant find any explanation on it

What Im really trying to do is remove all languages(us in particular) and replace then with only one( gb/Great Britain doe to the layout)

All files on my GDrive since I don't know how to upload files on the forum

If anyone can figure out why or maybe how this is happening and give me a headsup that would be highly appreciated

Thank you In advance.

Final :
For any other users looking at this post for answers,I learned that there quite a few reasons that can cause a layout change,this thread is not long so scanning through it to find a solution wont take you long and its better than me explaining with my limited knowledge diluting the information, the final answer for me was....Gnome settings -.-

Last edited by Coalms (2020-05-11 10:13:41)

Offline

#2 2020-05-09 11:04:09

motorto
Member
Registered: 2020-05-05
Posts: 3

Re: [SOLVED]Xkb keyboard settings "Refuse" to listen to conf file

What are you trying to do ?  Put gb layout ,  on a graphical enviromment ?

Offline

#3 2020-05-09 12:34:00

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,519
Website

Re: [SOLVED]Xkb keyboard settings "Refuse" to listen to conf file

Please post the outputs of `setxkbmap -query` and `localectl`.

The docs suggest that you must have as many variants listed as you have layouts.  There is no caveat noted for not specifying any variants (thus its slightly ambiguous whether listing variants is required).  But if the default variants setting is a single default, then it might fail to apply the layouts as there are mismatching numbers of layouts / variants.  Try adding `Option "XkbVariant" ","` then post the output of the first two commands again.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#4 2020-05-09 17:00:12

Coalms
Member
Registered: 2020-04-22
Posts: 59

Re: [SOLVED]Xkb keyboard settings "Refuse" to listen to conf file

Trilby wrote:

Please post the outputs of `setxkbmap -query` and `localectl`.

The docs suggest that you must have as many variants listed as you have layouts.  There is no caveat noted for not specifying any variants (thus its slightly ambiguous whether listing variants is required).  But if the default variants setting is a single default, then it might fail to apply the layouts as there are mismatching numbers of layouts / variants.  Try adding `Option "XkbVariant" ","` then post the output of the first two commands again.


Both uploaded on GDrive, i also uploaded the simple script i use to change keyboards every time, ( setxkbmap -layout gb &>/dev/null )

Edit: also redilocalectl and rediquerty uploaded,they are the output after i put  Option "XkbVariant" "," in there

Last edited by Coalms (2020-05-09 17:18:38)

Offline

#5 2020-05-09 17:05:07

Coalms
Member
Registered: 2020-04-22
Posts: 59

Re: [SOLVED]Xkb keyboard settings "Refuse" to listen to conf file

motorto wrote:

What are you trying to do ?  Put gb layout ,  on a graphical enviromment ?

Im sorry if i confused you,im trying to remove the us keyboard layout and let only the gb one, the gr(eek) one i have in my files is one i have put only for (extra)to figure out why the configs dont work, still every time i boot my computer the main layout is us which is annoying becuase running the script through .xinitrc or /etc/lightdm/Xsession dosent work

Offline

#6 2020-05-09 17:12:52

Coalms
Member
Registered: 2020-04-22
Posts: 59

Re: [SOLVED]Xkb keyboard settings "Refuse" to listen to conf file

Uploaded a few more relevant files most .x files are from ~ except Xsession from /etc/lightdm/Xsession

Offline

#7 2020-05-09 17:43:24

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,519
Website

Re: [SOLVED]Xkb keyboard settings "Refuse" to listen to conf file

Please post short command outputs here in code tags.  Google drive is not a good means of sharing command output as we are required to navigate the page, find oddly named files, and download them to our system just to see one or two lines of text output.  Help us help you.

Long outputs and large logs are best on sites like those recommended in the wiki, though google drive is ok for these if needed.  It's definitely not suitable for outputs of just a few lines.

Last edited by Trilby (2020-05-09 17:44:30)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#8 2020-05-10 12:46:01

Coalms
Member
Registered: 2020-04-22
Posts: 59

Re: [SOLVED]Xkb keyboard settings "Refuse" to listen to conf file

Trilby wrote:

Please post short command outputs here in code tags.  Google drive is not a good means of sharing command output as we are required to navigate the page, find oddly named files, and download them to our system just to see one or two lines of text output.  Help us help you.

Long outputs and large logs are best on sites like those recommended in the wiki, though google drive is ok for these if needed.  It's definitely not suitable for outputs of just a few lines.

Sorry for the inconvenience that might have caused with GDrive,here are the links
https://pastebin.com/HjVM0t10 name : 00-keybaord / already edited,forgot to upload correct file
https://pastebin.com/r8ZGgTTu name : evdev
https://pastebin.com/5jWVVY2n name : klayout / script i run on startup to change language
https://pastebin.com/zLsVJuDC name : localectl before change
https://pastebin.com/wptgUisZname : output / setxkbmap -print -verbose 10 output
https://pastebin.com/5w9s62SG name : query / before change
https://pastebin.com/DdpdR0Qkname : redilocalectl/after change
https://pastebin.com/y5B7Xd0z name : redoqiery/ after change
https://pastebin.com/AyStw1Buname : Xorg.0.log
https://pastebin.com/kfUgaaNr name : Xorg.0.log.old
https://pastebin.com/jwQeDymZ name : Xsession from /etc/lightdm folder


Edit I now realize that the file names are not inside the pastebin, didnt know that wourld happen :{
Edit2: Shorted them out
PS:  I see there are some limitations on pastebin, I remember my phone using del.dog for crashing software output,do you know if there is a utulity for that for arch to automate the process from file to del.dog since I cant find any

Last edited by Coalms (2020-05-10 13:43:36)

Offline

#9 2020-05-10 14:33:08

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,819

Re: [SOLVED]Xkb keyboard settings "Refuse" to listen to conf file

It's also for your convenience, see the tip on https://wiki.archlinux.org/index.php/Pastebin for how to conveniently share files and output ;-)

The layout is probably overridden by your session or lightdm.
Take both out of the equation and see (setxkbmap) what happens for "startx xterm", boot the multi-user.target for this: https://wiki.archlinux.org/index.php/Sy … _boot_into
If that gets you the desired result, try starting eg. an openbox or icewm session from lightdm and on the other side your preferred session type through xinitrc, https://wiki.archlinux.org/index.php/Xinit#xinitrc (pay attention to the notes!)

Offline

#10 2020-05-11 10:08:25

Coalms
Member
Registered: 2020-04-22
Posts: 59

Re: [SOLVED]Xkb keyboard settings "Refuse" to listen to conf file

seth wrote:

It's also for your convenience, see the tip on https://wiki.archlinux.org/index.php/Pastebin for how to conveniently share files and output ;-)

The layout is probably overridden by your session or lightdm.
Take both out of the equation and see (setxkbmap) what happens for "startx xterm", boot the multi-user.target for this: https://wiki.archlinux.org/index.php/Sy … _boot_into
If that gets you the desired result, try starting eg. an openbox or icewm session from lightdm and on the other side your preferred session type through xinitrc, https://wiki.archlinux.org/index.php/Xinit#xinitrc (pay attention to the notes!)

That...was a timewaster ,Im sorry for that, turns out neither lightdm's nor X's fault rather than gnome default settings...I had...to go to settings keyboard layout...It was all gnomes fault, Im sorry for wasting your time on this ,in my defense I couldnt figure out what it was since i installed arch ,scanning through config files looking up the wiki for help,i thought gnome listened to default computer settings when installed sad

Thank you for your guidance,

Silver lining i learned quite a few things on this unfortunate journey of mine,thanks to the source I'v been given and haven't scanned through in the past

Farewell for now

PS:I think il change gnome-session to something else in the future,this user friendliness caused me an unwarranted headache I didn't expect to get from a friendly layout

Last edited by Coalms (2020-05-11 10:10:51)

Offline

Board footer

Powered by FluxBB