UTM
UTM copied to clipboard
Feature request: swap <control> and <command>
Hi, it would be awesome if you could add the possibility to swap the ⌃ (control) and ⌘ in the VM.
I have the ⌘ + C + V, S shortcuts hardwired in my fingers after 10+ years of MacOS usage, and the guest OSes have these mapped to ⌃ (control) instead.
Thinking about it, this may interfere with the host keyboard shortcuts...
Seconding this request!
there is karabiner elements but I don't want to go with workarounds for this one
I used to Sharp Keys to map the keys in Windows but command-W and other defined UTM commands take precedence. I would even be happy if there was a setting to disable host key commands (like those defined in the menu bar) so I could rely on Sharp Keys solely.
This would be a game changer!
Can't upvote this enough!
This seems [relatively] easy to do? Parallels has it i think.
Any progress? :)
Thinking about it, this may interfere with the host keyboard shortcuts...
Hi. To not interfere with host keys, maybe just a standard subset could be remapped: Cmd+C,V,Z,X,A,F,B, standard OS stuff
Sure, it should be easy. Feel free to send a PR if you want it to be done quickly. Otherwise just be patient as it's already requested and commenting on it doesn't make it go faster.
Honestly, this is one of the main reasons I'm going back to Parallels. This and the lack of suspending of Win11 VM-s. (not to sound grumpy or entitled :) ) The ROI on the Cmd-Ctrl seems big.
If You point me to a few files, I might try to have a draft pr :).
Sure if we are a $10 billion dollar company who charges $100/year and have thousands of employees, then things would be a lot easier...
maybe then we'd care about things like "ROI"
Opened in XCode. Poking around ;).
Do You think this would be better handled/patched at qemu level or UTM UI level?
what does the UI have to do with how keystrokes are handled? You'd have to patch it where the keystrokes are handled at kwk, this issue/feature is older than a year, last time someone had this issue I simply suggested remapping within the guest, and that worked fine
My setup: I have Capslock remapped to Cmd and I use Karabiner btw. I would like that Capslock press to go to UTM's guest as Ctrl, for ultimate "muscle memory" compatibility... (Win/Linux guests)
Some here might find this comment useful: https://github.com/utmapp/UTM/issues/5513#issuecomment-1936946751 (I arrived to this discussion when searching for: 'command w utm')