[英]Using MacOS shortcuts in IntelliJ running on Ubuntu in Parallels Desktop
I have Ubuntu 18.04 running in Parallels Desktop environment on my Mac (MacOS Catalina).我在 Mac (MacOS Catalina) 上的 Parallels Desktop 环境中运行 Ubuntu 18.04。 IntelliJ is installed in this Ubuntu environment.
IntelliJ 安装在此 Ubuntu 环境中。
I want to use MacOS layout in my IntelliJ.我想在我的 IntelliJ 中使用 MacOS 布局。 Under Ubuntu, after selecting "macOS" keyboard layout, shortcuts with cmd key are using Meta key.
在 Ubuntu 下,选择“macOS”键盘布局后,带有 cmd 键的快捷方式使用 Meta 键。
I installed Gnome Tweaks and enabled Win->Meta mapping.我安装了 Gnome Tweaks 并启用了 Win->Meta 映射。 Shortcuts like Meta-B work - they're not used by the system.
像 Meta-B 这样的快捷方式有效 - 系统不使用它们。 However, many others don't.
然而,许多其他人没有。 Some of them are listed in Settings->Keyboards (ie Super-S), some of them are intercepted elsewhere (ie Super-O):
有的列在Settings->Keyboards(即Super-S),有的在别处截取(即Super-O):
org.cinnamon.desktop.keybindings.media-keys video-rotation-lock ['<Super>o']
Why after enabling Win->Meta mapping the cmd key is still treated as Super by the system?为什么启用 Win->Meta 映射后,系统仍将 cmd 键视为 Super?
Is there any better way of dealing with this issue other than unbinding all of these keymappings?除了解除所有这些键映射的绑定之外,还有没有更好的方法来处理这个问题?
Apparently, looks like Gnome Tweaks makes changes using setxkbmap - I also trying playing with mod4 mapping in xmodmap, didn't help much.显然,看起来 Gnome Tweaks 使用 setxkbmap 进行了更改 - 我也尝试在 xmodmap 中使用 mod4 映射,但没有太大帮助。
Any suggestions?有什么建议? Thanks.
谢谢。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.