1

I recently bumped into a very itchy problem on Ubuntu 18.04.

That is for each started terminator windows a dedicated icon is created on Dock. Additionally, these icons are shown as "not identified" applications:

enter image description here

The of all of this is that I cannot use Alt-` to switch between related applications. The case is pretty similar to the one here. I followed that post and updated

/usr/shar/applications/terminator.desktop with StartupWMClass=terminator

dpoliaru@linux:/usr/share/applications$ cat terminator.desktop 
[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
StartupWMClass=terminator

But still I cannot switch with Alt-` between terminator windows. Please let me know what I might have missed to check.

I chose the option to login with 'Ubuntu on Wayland' to fix my other problem of Ubuntu not detecting DELL displays attached to laptop.

pomsky
  • 70,557

1 Answers1

0

A correct StartupWMClass= line (which you already added) in your .desktop launcher for the application usually fixes this problem , but this sometimes fails in a Wayland session (see: bug1, bug2).

Until the bug is fixed, one possible (may not be preferable though) workaround would be to switching to a good ol' Xorg session.

pomsky
  • 70,557