-
-
Notifications
You must be signed in to change notification settings - Fork 23
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
~ appears as < for Logitech MX Keys #298
Comments
@davidmhewitt Any chance you could take a look at this as this month's sponsorship item? |
Thanks for the sponsorship. I think I'll struggle to help because it is a hardware specific issue, but I have some questions.
|
Understood, I appreciate the help however far you get.
Does the command I mentioned give any clues? Could it be added to the UI somehow? Alternatively a way to remap single keys might be ok? |
Is it something that could be exposed via the settings UI? |
I think it's quite unlikely that any new UI to fix driver issues with keyboard is going to be accepted. However, I can help you investigate more and maybe we'll find a more permanent fix. We might find that there's some config that we can submit to a hardware database that fixes this on all linux distros. You'll need to install Then if you run Find your keyboard in this list and take note of its Please show me the output of Now install Run it with Press the keys you are having problems with ( |
Ok, this is run without the above fix I mentioned applied:
There is just one key I am having problems with. This is what I get for what should be the back tick (or tilde when holding shift)
|
Hey thanks, that's really interesting and helpful. The backtick key you're pressing is in the top left of the keyboard, above tab? It looks like your Logitech keyboard is pretending to be an Apple keyboard. I found a post on Reddit that I can't find the link to now that said that if it's been connected to a Mac running the Logitech config software, then the keyboard firmware switches into some kind of "Mac mode". Equally, if you connect it to a Windows PC running the Logitech software, it switches back. Do you have a Windows PC or partition you could try this with and see if it makes any difference when you next use it on elementary? Or, do you have an alternative way to connect it to elementary OS that isn't bluetooth? Does it have the ability to be wired or connect via a USB dongle that isn't bluetooth? I think we can probably tell the kernel to remap these keys, but I don't want to submit these fixes to the kernel or systemd if they're potentially going to mess up MX Keys keyboards in "Windows mode". |
No, it's to the right of the left shift key (see below). It's an interesting theory about the modes, but it doesn't quite match what I am seeing 100%. You'll see next to the space bar there are two keys that when connected to my Mac are Opt & Cmd, but when connected to elementary OS (on PC hardware) are Start & Alt. i.e. the position of the super key changes. So presumably the mode is already being switched? I'll try with the usb dongle shortly, a Windows machine will take a bit longer though. The first thing I did with my ThinkCentre Tiny was to overwrite Windows with elementary OS :) |
Ok, so connecting via the USB dongle instead of bluetooth makes no difference. I'll try testing with Windows a bit later. Ah, I should mention that I didn't install any Logitech software on my Mac. |
Could you find the
I'll prepare a config file that will remap that key at a hardware level that you can try. |
Here it is:
|
Ok, create
I'm not sure if the directory exists by default, so you may need to do this first: If you're not familiar with writing files into folders you need administrator permission for, you can do this with nano like this:
Then paste the contents from above and save and quit with Once this is done, reboot and see if it helps. |
Yes, that seems to solve it, thank you! Is this something that can be submitted somewhere to help (hopefully) more people than just me? |
If you can try out the theory of the keyboard behaving differently after it's been used on Windows with the Logitech software. Run If there's no difference to the This config file should work for you on other Linux distributions too should you decide to switch away from elementary in the future. Thanks again for the sponsorship! |
Great, thanks for your help. It's very much appreciated. I'll test out the Windows theory as soon as I get a chance. |
I have a Russian edition Logitech MX Keys keyboard and I am using the Russian and English (US) layouts.
The English (US) layout seems to work fine except the ` & ~ key appears as < & >. I googled the following fix:
setxkbmap -option apple:badmap
Which seems to sort it out, but it seems the change doesn't always survive layout switches, reboots etc.
In any case this should be a problem I can sort out via the keyboard settings UI.
The text was updated successfully, but these errors were encountered: