Closed probonopd closed 1 year ago
Maybe need to delete/edit /usr/local/etc/xdg/Xmodmap
?
You delete that file first, use it as iso and let me test whether it works.
I don't know what you mean by this.
Build the version iso file that removes "/usr/local/etc/xdg/Xmodmap", let me test whether the keyboard keys of mac are back to normal.
To test such things, you can use https://hellosystem.github.io/docs/developer/monkey-patch.html. No need to make special ISOs.
Update: I was wrong, Sorry The PC keyboard is arranged correctly. Switching to the Mac control key arrangement is problematic. That problem is "Alt as ⌘ button" ⌘ is connected to the Mac Option key.
My previous video didn't express it clearly, but this video is what I want to express. https://youtube.com/shorts/8T20wc7BoAY?feature=share
Seems like the issue comes from using a virtual machine?
Is this also an issue on a physical machine?
It is also wrong on the physical machine. I was lucky enough to let my Macbook execute hello OS but the key configuration of the keyboard is also wrong. Before you can solve the Mac keyboard problem, temporarily disable the swap button, because if the configuration is successful, there is already an easy option in the Ubuntu Settings Center to switch.
Just think of it, when Apple built the Mac system, it inherited the main Ctrl key [this is the PC keyboard] function (such as the shortcut key on the cut or copy) to the win key (⌘) (but the Ctrl key [this is the Mac keyboard] is still the Ctrl key, but it has become a non-primary shortcut like the Alt of the PC).
Apple keybord in windows https://support.apple.com/en-us/HT202676
All I can say at this point is that using an Apple keyboard (on a PC or on a Mac running helloSystem) will result in (left) Command to work like it is expected to work (=Command is the key to the left of the space bar).
Hence, closing, because at least on the systems I tested, (left) Command is where Command is supposed to be.
Other keys may be messed up but getting Command to work properly was my #1 priority. If anyone can contribute working tested code to improve things further, I'm happy to test and consider it.
Wait @probonopd , it's not supposed to be Ctrl and Alt swapping, no wonder on my macbook Didn't fix it as it was just a keyboard arrangement swap.
It should be "use Ctrl or Win key(Command) as the control key", because the PC keyboard is correct in MacOS, it's just a matter of arrangement (Win key and Alt arrangement position).
Alt you should ignore it, because it is normal on PC or Mac keyboard in MacOS or Ubuntu.
The "command" and "option" of hello os are the opposite of the mac keyboard arrangement.
Video: https://github.com/helloSystem/hello/discussions/399#discussioncomment-4119535
To be retested.