在Ubuntu 16之前,我有3份/usr/share/applications/中的终止器(t3.desktop、t4.desktop和t5.desktop)的副本,以便我可以将每个副本用于不同的用例-- vim用于编码,vim用于记录,其他终端内容--并通过在Unity和按Super-3、Super-4和Super-5中作为不同的收藏添加它们来快速访问它们。
在Ubuntu 18中尝试这样做,同时打开的所有副本都被认为是同一个应用程序,并在Dock中显示为同一应用程序的不同窗口。因此,我不能在Dock中将它们设置为不同的收藏夹,并使用Super-*快捷方式访问它们。
有什么想法可以让他们作为不同的应用程序出现到统一/码头?
更新:添加桌面文件内容
[Desktop Entry]
Name=t3
Comment=Multiple terminals in one window
TryExec=terminator
Exec=terminator
Icon=terminator
Type=Application
Categories=GNOME;GTK;Utility;TerminalEmulator;System;
StartupNotify=true
X-Ubuntu-Gettext-Domain=terminator
X-Ayatana-Desktop-Shortcuts=NewWindow;
Keywords=terminal;shell;prompt;command;commandline;
[NewWindow Shortcut Group]
Name=Open a New Window
Exec=terminator
TargetEnvironment=Unity-
[Desktop Entry]
Name=t4
Comment=Multiple terminals in one window
TryExec=terminator
Exec=terminator
Icon=terminator
Type=Application
Categories=GNOME;GTK;Utility;TerminalEmulator;System;
StartupNotify=true
X-Ubuntu-Gettext-Domain=terminator
X-Ayatana-Desktop-Shortcuts=NewWindow;
Keywords=terminal;shell;prompt;command;commandline;
[NewWindow Shortcut Group]
Name=Open a New Window
Exec=terminator
TargetEnvironment=Unityhttps://askubuntu.com/questions/1188087
复制相似问题