-
Notifications
You must be signed in to change notification settings - Fork 14
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
Shortcuts are properly remapped but cmd and ctrl aren't swapped #4
Comments
Same here. |
Issue seems to be with the
From https://github.com/k0kubun/xremap - how to do this depends on your distro (pasting relevant instructions from the Running the correct instructions for my distro manually and then rebooting allows the systemd service to run I now have the issue instead that the reverse remapping of CMD and Ctrl in my Terminal doesn't work (CMD-C now acts as Ctrl-C, instead of Copy, and leaving Ctrl-C as Ctrl-C) Running xremap without sudoTo do so, your normal user should be able to use sudo gpasswd -a YOUR_USER input
echo 'KERNEL=="uinput", GROUP="input", TAG+="uaccess"' | sudo tee /etc/udev/rules.d/input.rules Arch LinuxThe following can be used on Arch. lsmod | grep uinput If this module is not loaded, add to uinput Then add udev rule. echo 'KERNEL=="uinput", GROUP="input", TAG+="uaccess"' | sudo tee /etc/udev/rules.d/99-input.rules Then reboot the machine. DebianMake sure
If it shows up empty: echo uinput | sudo tee /etc/modules-load.d/uinput.conf Add your user to the sudo gpasswd -a YOUR_USER input
echo 'KERNEL=="uinput", GROUP="input", TAG+="uaccess"' | sudo tee /etc/udev/rules.d/input.rules Reboot the machine afterwards or try: sudo modprobe uinput
sudo udevadm control --reload-rules && sudo udevadm trigger Other platformsIn other platforms, you might need to create an If you do this, in some environments, |
Hi, @yesudeep @ezamelczyk could you please run |
@jk464 I agree that running xremap without sudo can introduce more issues. I think it is better to switch to |
@jk464 I tried to make the recent Xremap version work with administrative privileges. Unfortunately there seem to be issues with application-specific remapping. Additionally, the Xremap developer specifies that it is rather challenging to implement the per-app remapping with sudo. Therefore for now I would stick to the non-sudo method. I created a branch |
Same here. On arch linux fwiw |
OK, I have figured rootless xremap on Arch. Systemd specific udev uaccess rules must come before 73-seat-late.rules for uaccess tags. The example in xremap for Arch rule is correct. Just switch the name of the udev rule to 72-{name}.rules. The lexical name of Now, the problem still remains in terminals. [Alacritty or console shipped with Gnome] The CMD key acts like control still. But in Firefox and gedit they behave correctly. Any ideas? I assume it is the config file calling out gnome-terminal? |
I followed the installation instructions properly but my ctrl acts like cmd should. I don't know how to troubleshoot this.
The text was updated successfully, but these errors were encountered: