Add StartupWMClass to `.desktop` files
Ordinarily, Gnome groups windows by application. Without setting StartupWMClass
, Gnome can't tell that Okular windows should be grouped and so they show up individually, cluttering the alt-tab dialog and the "Dash" (dock). This fix should be added to all Okular's .desktop files.
It's a matter of appending this line to the .desktop
files:
StartupWMClass=okular