I recently added Terminator (terminal emulator) to my system. When I open Terminator (whether by clicking its icon in the launcher or by hitting a keyboard shortcut), a new icon appears in my launcher (Ubuntu Dock).
What can I do to
- have only a single icon and
- just activate the existing Terminator window if Terminator is already running?
I don't have this problem with gnome-terminal.
I'm running Ubuntu 18.04.4 LTS.
I looked at this solution for Google Chrome's icons, but it doesn't apply: my
$HOME/.local/share/applications doesn't include any desktop files for Terminator.
Here's the contents of my
[Desktop Entry] Name=Terminator 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
Update: I've found that I can avoid some of this problem by hitting the windows key, typing 'Terminator', right-clicking 'Terminator', and selecting 'Add to favourites'. ('Add to favourites' was never an option when right-clicking the Terminator icon in the launcher itself.) However, when I hit Ctrl+Alt+t to open a terminal, it still creates a new icon in the launcher.