Giter Club home page Giter Club logo

Comments (5)

dmedvinsky avatar dmedvinsky commented on August 30, 2024

Oh, I'm running latest master.

from xcape.

benarmston avatar benarmston commented on August 30, 2024

As you are probably aware, the option ctrl:nocaps results in two Control_L keys. It is this duplicated key which seem to be the problem. As proof of that the following xmodmap commands also produce this problem:

remove Lock = Caps_Lock keysym Caps_Lock = Control_L

I have been able to work around this issue by using a different XkbOption, namely, caps:ctrl_modifier. This results in the caps key using the Caps_Lock keysym, but being treated as a control key. xcape can then be run with ``xcape -e 'Caps_Lock=Escape' to get the desired behaviour.

Unfortunately, it is not possible to then map the escape key to become a caps lock. As doing so results in two keys using the Caps_Lock keysym, and the crashing occurs once again.

Is support for multiple keys using the same keysym something that could be added to xcape? If so, I may take a look at doing so when time permits.

from xcape.

alols avatar alols commented on August 30, 2024

I have been remapping Caps Lock to Control using the GUI in GNOME and that always worked. I'm not sure how to reproduce the problem on my machine running Linux Mint.

from xcape.

dmedvinsky avatar dmedvinsky commented on August 30, 2024

@benarmston Thanks for the info, I'm using caps:ctrl_modifier now in my X config, as I don't really care about remapping Esc to Caps. This way it seems to work fine.

@alols I believe you can do setxkbmap -option 'ctrl:nocaps' to try to reproduce. Although, after updating to latest master I can't reproduce it by myself anymore.

from xcape.

alols avatar alols commented on August 30, 2024

@dmedvinsky I assume this means I can close the issue now.

from xcape.

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.