Queue · 0 items
SAP GUI for Java showing two icons on your Ubuntu dock? Fix it in minutes by adding StartupWMClass to the .desktop file — a common GNOME window grouping issue.
.desktop file was corrupted or if I'd somehow installed it twice. Turns out the fix is a single line.
StartupWMClass property inside the .desktop file.
.desktop fix is identical.xprop WM_CLASSWM_CLASS(STRING) = "SAP GUI for Java", "SAP GUI for Java"
SAP GUI for Java.find /usr/share/applications ~/.local/share/applications -name "*sap*" -o -name "*SAP*" 2>/dev/null/home/snipgeek/.local/share/applications/SAPGUI7.80.desktop
~/.local/share/applications/ — that's the user-level one SAP installs by default.nano ~/.local/share/applications/SAPGUI7.80.desktop[Desktop Entry] section, add this line:StartupWMClass=SAP GUI for Java[Desktop Entry]
Exec="/home/snipgeek/SAPClients/SAPGUI7.80/bin/guilogon"
Type=Application
Icon=guilogon2
Name=SAP GUI 7.80
Categories=X-SAPClients;Office;
StartupWMClass=SAP GUI for Javaupdate-desktop-database ~/.local/share/applicationsStartupWMClass trick is the standard workaround, and once you've done it for one app, you'll know exactly what to reach for the next time.
.desktop file and add the same StartupWMClass property. Just run xprop WM_CLASS while that app is open to get the right value..desktop file somewhere unexpected.Explore related topics and continue reading similar content.
Preparing the comments area...