#Incorrect keyboard layouts after update, config not being respected

113 messages · Page 1 of 1 (latest)

pine copper
#

Hi,
I have set my keyboard layout to gb and touchpad to natural_scroll = false in .config/hypr/input.conf and after a reboot, it is still using the us layout and natural scrolling.
I have also changed the options in .local/share/omarchy/config/hypr/input.conf and rebooted but it still doesn't respect these options.

How can I resolve this?

pine copper
#

Bump.

rustic hill
#

is us still in the list? does it switch with CTRL+Space?

#

you can also see what ones are active by right clicking the keyboard in the tray on the waybar

pine copper
#

ctrl space does nothing

pine copper
#

but in no config file is it set to be us

#

And I dont understand how natural_scroll can ever be enabled considering its not hyprland default to do that

pine copper
#

I've even tried putting it in the main hyprlannd config file

#

How is this even possible?

quick prawn
#

Not sure if this is exactly your problem, but, I think there is a mismatch with gb / uk and the module used to display the keyboard layout on waybar. If you have updated your hyprland.conf file or input.conf file and restarted hyperland, you should be good with the keyboard working as expected, although waybar will still show as us. You can correct waybar by doing one of the following:

  1. creating a profile with the correct settings in ~/.config/fcitx5/profile
  2. by installing an app to give you a graphical way of choosing the correct keyboard (fcitx5-configtool) then choosing Configure from the pop-up menu (right-click on us), then add UK and remove US.
    or 3. just removing the misleading keyboard info from waybar (unless you are swapping between languages, why do you need it displayed).

Hope that helps

pine copper
#

It's not just a visual issue on waybar

#

I'll try changing it to UK, though, rather than gb

#

I don't need it displayed on waybar, that was just to check

#

That didn't help

quick prawn
#

Ah, ok, in which case it is probably a case of stepping through each of the config files listed in your hyprland.config screenshot and checking it is not being changed in multiple places

pine copper
quick prawn
#

Can you confirm the location of that hyprland config file?

rustic hill
#

ok but what does the app show if you right click the keyboard in waybar and click configure?

pine copper
#

there is no right click on the waybar us

rustic hill
#

yes there is and it will open this

pine copper
pine copper
rustic hill
pine copper
#

oh, sorry, that one

#

it says Keyboard - English UK

rustic hill
#

at the bottom there is a select system keyboard layout

#

click that and also set it to uk

pine copper
#

Does this help with natural scrolling, I'm assuming not?

pine copper
#

and the only option is UK

pine copper
rustic hill
#

why do you have group2

#

instead of default

pine copper
#

No idea, thats how it was

rustic hill
#

are you able to remove the groups?

#

are there more groups in the drop down?

pine copper
#

There was Group 1 with us set, ive deleted that

rustic hill
#

ok

#

can try restore defaults down at the bottom

#

and then set to uk

pine copper
#

restarted but my layout is still US

rustic hill
#

makes no sense if i remove us from mine and change to uk it just works

pine copper
#

Yeah, none of this makes sense. Omarchy is completely ignoring my config file because natural scrolling on the track pad shouldn't be enabled

#

Extremely irritating

#

Only happened after the recent update

rustic hill
#

run
rg kb_layout -.
will list out every file that has that config in it

pine copper
#

Guess im changing all of those even though my .config one should override it...

rustic hill
#

the config should overwrite

#

yeah

pine copper
#

Yeah

#

That file still has natural scrolling disabled so that doesn't explain that

rustic hill
#

i can also add both, us and uk and switch them with ctrl + space

#

shift+2 = "
ctrl+space
shift+2 = @

pine copper
#

That did help, changing it in the Omarchy default folder

#

it is now gb

rustic hill
#

good

pine copper
#

Thanks for that

#

no idea what to do about natural/inverse scrolling though

rustic hill
#

check you hyprland.conf and make sure it is sourcing your /config files

pine copper
#

it is

pine copper
#

should i swap their order maybe?

rustic hill
#

wait

#

hmm looks fine

pine copper
#

I haven't ever touched this file, just maybe the update did..

rustic hill
#

lower down configs take precident so you could try moving the order

pine copper
#

That seems to be the right order tho..

rustic hill
#

yeah the last update makes some changes

#

removes some configs that no longer exist

#

i was checking against mine to see if they matched with the new config and it does

pine copper
#

Because .config/hypr/input.conf is below the default/hypr/input.conf

#

so surely that should override it

#

which is why ive been so confused

rustic hill
#

yeah it should

#

no errors anywhere about hyprland?

#

they would normally popup as notifications

pine copper
#

i said before i also tried putting the whole input section at the bottom of hyprland.conf and that didnt help

pine copper
rustic hill
#

but i would expect you to get a notice of that

pine copper
#

Yeah

#

cannot explain this tho

#

because it being false is also the default of hyprland

rustic hill
#

nope you are right i can't explain that lol

pine copper
#

thanks for your help though, at least i can type without me wanting to put my laptop through a window

rustic hill
#

yeah you could try digging through your journalctl and see if there are any errors there
journalctl | rg hyprland

#

if you don't have a bunch of customization you could also try to refresh the configs.
omarchy-refresh-hyprland
but take a snapshot of your current setup that works in case it doesnt work
omarchy-snapshot

pine copper
#
[LOG] Using config: /home/raz/.config/hypr/hyprland.conf
#

doesnt seem to complain

pine copper
#

That has somehow fixed natural scrolling

#

Do you have any idea how to remove the SUPER + F doing full screen? I tried unbind SUPER + F then doing my file manager but that didn't work

pine copper
rustic hill
#

default is SUPER+SHIFT+F to open file manager though

#

best way to find how the current configs are setup is grep for it
rg "SUPER, F" ~ -.

#

just remember modifiers are all in the first param
rg "SUPER SHIFT, F" ~ -.

pine copper
#

Ah, yes the unbind works now

#

not a clue what was happening before because I did exactly that

rustic hill
#

yeah somethign was broken

#

im not sure what

pine copper
#

But thanks for all your help it seems to have been resolved after resetting them

rustic hill
#

you are welcome glad we found a solution

pine copper
#

definitely, was driving me nuts

pine copper