You are not logged in.

#1 2024-03-17 13:04:09

Mishpa
Member
Registered: 2024-03-17
Posts: 6

Keyboard layout changing

Hey! I installed arch and HyperLand today and got some problems with keyboard layouts. My current layout is US, but i want to add russian as well, so i can switch between them using some keybinding like alt + shift. I tried everything i could find in the web in two hours. thanks for any help!

Offline

#2 2024-03-17 13:16:31

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 24,858

Re: Keyboard layout changing

First google hit for hyprland switch keyboard layout: https://wiki.hyprland.org/Configuring/U … rd-layouts

Offline

#3 2024-03-17 13:22:26

Mishpa
Member
Registered: 2024-03-17
Posts: 6

Re: Keyboard layout changing

i read this article, but where do i put this code?

sorry for me being stupid

Offline

#4 2024-03-17 13:28:24

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 70,026

Re: Keyboard layout changing

Probably some config file. Maybe sway? Or awesome?
https://wiki.hyprland.org/Configuring/C … -Hyprland/

Last edited by seth (2024-03-17 13:28:44)

Offline

#5 2024-03-17 13:34:00

Mishpa
Member
Registered: 2024-03-17
Posts: 6

Re: Keyboard layout changing

Put "input { kb_layout = us,ru kb_options = grp:alt_shift:toggle }" into hyprland.conf as said here:

but it didn't work sad

Offline

#6 2024-03-17 14:01:39

Mishpa
Member
Registered: 2024-03-17
Posts: 6

Re: Keyboard layout changing

"hyprctl keyword input:kb_layout ru"
This works in terminal, but can i create a bind for that?

Offline

#7 2024-03-17 14:06:29

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 24,858

Re: Keyboard layout changing

Offline

#8 2024-03-17 14:17:34

Mishpa
Member
Registered: 2024-03-17
Posts: 6

Re: Keyboard layout changing

i added bind "Win + x" to change to russian, but how do i change back? windows button is not working while on russian layout

Offline

#9 2024-03-17 14:49:47

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 70,026

Re: Keyboard layout changing

Mishpa wrote:

Put "input { kb_layout = us,ru kb_options = grp:alt_shift:toggle }" into hyprland.conf as said here:

Did you omit the newline there as well?
Post the actual config you tried.
And jst to avoid the ultimate d'ohh - you did restart hyprland after editing the config?

Offline

Board footer

Powered by FluxBB