rbreaves / kinto

Mac-style shortcut keys for Linux & Windows.
http://kinto.sh
GNU General Public License v2.0
4.25k stars 213 forks source link

ctrl is not working in some apps #759

Open AcrobaticPanicc opened 1 year ago

AcrobaticPanicc commented 1 year ago

After installing kinto, in the terminal, pressing ctrl + c or ctrl + v works as expected. However, when using Firefox, pressing ctrl + c results in only the v button is actually pressed and the copy/paste functionality is not working. I verified it with screenkey.

This answer actually helped me to solve the issue with Firefox (and other apps), but result in the ctrl key to not being recognized by my terminal, which then caused me to reinstall kinto, and face the same issue as before.

Expected behavior The ctrl + c / ctrl + v should work across all apps

Install Type: VMware fusion Distro: Linux kali 5.18.0-kali5-arm64 #1 SMP Debian 5.18.5-1kali6 (2022-07-07) aarch64 GNU/Linux DE: XFCE Branch: master Commit: git rev-parse --short HEAD

# xkeysnail
sudo systemctl status xkeysnail
sudo journalctl --unit=xkeysnail.service -b

# xkb
xkeysnail.service - xkeysnail
     Loaded: loaded (/lib/systemd/system/xkeysnail.service; disabled; vendor preset: disabled)
     Active: active (running) since Mon 2022-10-10 07:39:29 EDT; 23min ago
   Main PID: 8108 (sudo)
      Tasks: 2 (limit: 2226)
     Memory: 16.2M
        CPU: 537ms
     CGroup: /system.slice/xkeysnail.service
             ├─8108 /usr/bin/sudo /bin/bash -c "/usr/bin/xhost +SI:localuser:root && /home/kali/.config/kinto/killdups.sh && /usr/local/bin/xkeysnail --quiet --watch /home/kali/.config/kinto/kinto.py"
             └─8115 /usr/bin/python3 /usr/local/bin/xkeysnail --quiet --watch /home/kali/.config/kinto/kinto.py

Oct 10 07:39:29 kali systemd[1]: Started xkeysnail.
Oct 10 07:39:29 kali sudo[8108]:     root : PWD=/ ; USER=root ; COMMAND=/bin/bash -c /usr/bin/xhost +SI:localuser:root && /home/kali/.config/kinto/killdups.sh && /usr/local/bin/xkeysnail --quiet --watch /home/kali/.config/kinto/kinto.>
Oct 10 07:39:29 kali sudo[8108]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=0)
Oct 10 07:39:29 kali sudo[8117]: localuser:root being added to access control list
RedBearAK commented 1 year ago

@AcrobaticPanicc

From the referenced link this sounds like a strange problem with the Control key specifically caused by using VMWare. Like maybe VMWare is binding to the Control key in a bad way. Other than the offerred solutions like running setxkbmap a lot, and restarting Kinto (shouldn't need to reinstall), there may not be much Kinto can do about this issue.

But I'm not the Kinto dev and have no knowledge of the root of why this is happening.