背景
我意识到在 Launcher 图标上单击鼠标中键会打开一个新实例,但是我的鼠标没有很好的中键单击选项(单击滚轮可以解决这个问题,但很麻烦)。我的工作流程往往涉及终端和 Chrome 等程序的大量窗口。目前,当我单击启动器图标时,终端会打开新窗口,但 Chrome 和 Nautilus 不会。
研究
我org.compiz.unityshell
通过一篇关于OMG的文章找到了如何列出所有关联的键!乌班图!,并得到了这个列表:
user@comp> gsettings list-keys org.compiz.unityshell
override-decoration-theme
disable-show-desktop
launcher-switcher-forward
reveal-trigger
reveal-pressure
alt-tab-prev-window
launcher-capture-mouse
stop-velocity
panel-opacity-maximized-toggle
automaximize-value
spread-app-windows
panel-first-menu
decay-rate
alt-tab-bias-viewport
background-color
lock-screen
backlight-mode
dash-blur-experimental
edge-responsiveness
show-minimized-windows
inactive-shadow-color
low-graphics-mode
spread-app-windows-anywhere
alt-tab-timeout
switch-strictly-between-applications
autohide-animation
shadow-y-offset
inactive-shadow-radius
menus-discovery-duration
launcher-switcher-prev
menus-fadeout
shadow-x-offset
icon-size
overcome-pressure
dash-tap-duration
execute-command
alt-tab-forward
show-launcher
edge-passed-disabled-ms
launcher-opacity
show-desktop-key
show-hud
scroll-inactive-icons
disable-mouse
alt-tab-next-window
num-launchers
menus-fadein
panel-opacity
launcher-hide-mode
active-shadow-radius
menus-discovery-fadeout
keyboard-focus
alt-tab-prev
urgent-animation
active-shadow-color
launcher-minimize-window
alt-tab-prev-all
launch-animation
menus-discovery-fadein
show-menu-bar
alt-tab-forward-all
shortcut-overlay
user@comp>
Run Code Online (Sandbox Code Playgroud)
然而,这些看起来都不是很有希望。我还发现其他问题想要做与我想做的完全相反的事情,但我无法从这些问题中确定如何扭转它。
题
有没有办法让 Unity Launcher 在左键单击时为所有程序打开新窗口,而不仅仅是在中键单击时?
要打开一个新窗口,middle click
您可以在启动器图标上使用shift+ left click
。
对于 nautilus,如果您当前的文件夹是 home 则它不起作用。虽然您可能很少为同一个 -home- 文件夹使用两个 nautilus 窗口,但这不会有问题。