home-sweet-gnome / dash-to-panel

An icon taskbar for the Gnome Shell. This extension moves the dash into the gnome main panel so that the application launchers and system tray are combined into a single panel, similar to that found in KDE Plasma and Windows 7+. A separate dock is no longer needed for easy access to running and favorited applications.
GNU General Public License v2.0
3.75k stars 275 forks source link

Missing icon for custom application #1247

Closed demfabris closed 3 years ago

demfabris commented 3 years ago

Hello.

I'm having issue displaying suckless ST icon in dash to panel, let me explain.

I have created a st.desktop file so i can launch ST from gnome app menu which does work fine. Here it is:

Type=Application
Name=Suckless ST
Comment=simple-terminal emulator for X
Icon=org.gnome.Shell.Extensions.GSConnect
Exec=st -g 140x40
Categories=System;TerminalEmulator

image

But inside dash to panel no matter which icon i pick, it will be blank.

image

Is this expected behavior? what can i do? Thanks in advance

charlesg99 commented 3 years ago

Hello, you'll need to set the StartupWMClass property in the desktop file. You can find the needed value using the looking glass. See theses issues for more info. Thanks!