Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xkb_layout and xkb_switch_layout not working #7660

Closed
Luab opened this issue Jul 5, 2023 · 3 comments
Closed

xkb_layout and xkb_switch_layout not working #7660

Luab opened this issue Jul 5, 2023 · 3 comments
Labels
bug Not working as intended

Comments

@Luab
Copy link

Luab commented Jul 5, 2023

Please fill out the following:

  • Sway Version:

    • sway version 1.8.1
  • Debug Log:
    debug log

  • Configuration File:
    Relevant config section:

     input "type:keyboard" { 
      xkb_layout "us,de" 
      xkb_options grp:win_space_toggle 
     } 
    
    
  • Description:
    Layout switching stopped working after update.
    Running swaymsg input 'type:keyboard' xkb_switch_layout next does not switch the layout.
    Setting it manually with swaymsg input 'type:keyboard' xkb_layout de works.
    Running swaymsg input 'type:keyboard' xkb_layout us,de or swaymsg input 'type:keyboard' xkb_layout "us,de" fails with Error: Unknown/invalid command 'de'

@Luab Luab added the bug Not working as intended label Jul 5, 2023
@emersion
Copy link
Member

emersion commented Jul 5, 2023

Can you reproduce with master?

@Luab
Copy link
Author

Luab commented Jul 5, 2023

@emersion yep, same. Here is the debug log.
swaymsg input 'type:keyboard' xkb_layout de works, swaymsg input type:keyboard xkb_switch_layout next does not.

@Luab
Copy link
Author

Luab commented Jul 7, 2023

Somehow fixed itself without me doing anything.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Not working as intended
Development

No branches or pull requests

2 participants