Giter Site home page Giter Site logo

How to send switch layout? about xkb-switch HOT 6 CLOSED

Mladia avatar Mladia commented on August 28, 2024 1
How to send switch layout?

from xkb-switch.

Comments (6)

sergei-mironov avatar sergei-mironov commented on August 28, 2024

Hi, Mladia. Popular desktop environments, like KDE, usually allow users to bind keyboard combinations to custom commands. What desktop environment do you use?

from xkb-switch.

zvezdochiot avatar zvezdochiot commented on August 28, 2024

xbindkeys?

from xkb-switch.

Mladia avatar Mladia commented on August 28, 2024

Hi, I have not problem binding the script!

I am now having the following problem

xkb-switch on master [$] 
 ✘130 ➜ setxkbmap -layout 'us,de,bg' -variant ' , ,phonetic'

xkb-switch on master [$] 
 ➜ xkb-switch
us( )

xkb-switch on master [$] 
 ➜ echo "switch" | ./xkb-group.sh "us( )" "bg(phonetic)"

xkb-switch on master [$] 
 ➜ xkb-switch                                           
bg(phonetic)

xkb-switch on master [$] 
 ➜ echo "switch" | ./xkb-group.sh "us( )" "bg(phonetic)"
xkb-switch: Invalid argument: )
xkb-switch: layouts: []

I can switch from en to bg, but not back around, when I use the same command. Is xkb-group.sh meant to only work in one direction?

from xkb-switch.

sergei-mironov avatar sergei-mironov commented on August 28, 2024

Could you please try xkb-group.sh from master?

from xkb-switch.

Mladia avatar Mladia commented on August 28, 2024

Hallo, I am not using the tool anymore. My last comment had a minimal scenario, which triggered the problem. You can run the commands and see if the expected behavior is there and close the issue.

from xkb-switch.

sergei-mironov avatar sergei-mironov commented on August 28, 2024

OK, For me it looks like it should work now, so I'm closing the issue

from xkb-switch.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.