You are not logged in.
i recently switched from cinnamon to xfce and im really enjoying it so far. however. i have encountered an annoying issue and im not sure how to fix it. some apps i have installed will not show their icons on the docklike taskbar and instead appear as settings icons.
when i hover over the app it shows the correct icon next to the name on the preview so im not sure what the issue is here. please help!
Offline
Hello and welcome.
Which distro, version of Xfce and version of xfce4-docklike-plugin are you running?
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Hello and welcome.
Which distro, version of Xfce and version of xfce4-docklike-plugin are you running?
i am running arch linux, Xfce version 4.18 and xfce4-docklike-plugin version 0.4.1
Offline
Is it just the game Hollow Knight, or is it other apps, in if so, which apps. Can you post back the Hollow Night .desktop file (either in /usr/share/applications or ~/.local/share/applications?
The docklike plugin should get the icon from the desktop file, or the StartupWMClass setting. See: https://gitlab.xfce.org/panel-plugins/x … s.cpp#L127.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Is it just the game Hollow Knight, or is it other apps, in if so, which apps. Can you post back the Hollow Night .desktop file (either in /usr/share/applications or ~/.local/share/applications?
The docklike plugin should get the icon from the desktop file, or the StartupWMClass setting. See: https://gitlab.xfce.org/panel-plugins/x … s.cpp#L127.
No this also happens with other apps. The only other one I can remember is AudioRelay which i use to stream my PC's audio to my phone.
Here are both of the .desktop files for the apps
[Desktop Entry]
Name=Hollow Knight
Comment=Play this game on Steam
Exec=steam steam://rungameid/367520
Icon=steam_icon_367520
Terminal=false
Type=Application
Categories=Game;
[Desktop Entry]
Name=AudioRelay
Comment=Stream your PC audio to your phone
Comment[zh_CN]=将电脑音频流式传输到手机
Exec=audiorelay
Icon=audiorelay
Terminal=false
Type=Application
Categories=Audio;AudioVideo;Utility
MimeType=
Offline
In the case of Hollow Knight, I think it may be because it can't find the icon. Try copying steam_icon_367520 to ~/.icons to see if that makes a difference.
If not, add:
StartupWMClass=steam_icon_367520
...to the desktop file.
Note: you might need to restart the panel:
xfce4-panel -r
For the audiorelay example, does your icon theme have an "audiorelay" app icon?
Edit: for audiorelay, running xprop on that window returns:
WM_CLASS(STRING) = "com-azefsw-audioconnect-desktop-app-MainKt", "com-azefsw-audioconnect-desktop-app-MainKt"
...so I added:
StartupWMClass=com-azefsw-audioconnect-desktop-app-MainKt
...to /usr/share/applications/audiorelay.desktop and the icon showed up.
I'm guessing something similar for Hollow Knight will also work.
Last edited by ToZ (2023-06-19 14:30:52)
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
I'm guessing something similar for Hollow Knight will also work.
thank you, i will try this when im at my pc next. will i have to do this manually for each broken icon i see?
Offline
I'm guessing something similar for Hollow Knight will also work.
thank you, i will try this when im at my pc next. will i have to do this manually for each broken icon i see?
Probably, yes.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
In the case of Hollow Knight, I think it may be because it can't find the icon. Try copying steam_icon_367520 to ~/.icons to see if that makes a difference.
If not, add:
StartupWMClass=steam_icon_367520
...to the desktop file.
Note: you might need to restart the panel:
xfce4-panel -r
For the audiorelay example, does your icon theme have an "audiorelay" app icon?
Edit: for audiorelay, running xprop on that window returns:
WM_CLASS(STRING) = "com-azefsw-audioconnect-desktop-app-MainKt", "com-azefsw-audioconnect-desktop-app-MainKt"
...so I added:
StartupWMClass=com-azefsw-audioconnect-desktop-app-MainKt
...to /usr/share/applications/audiorelay.desktop and the icon showed up.
I'm guessing something similar for Hollow Knight will also work.
this worked for audio relay but not hollow knight. where could i find steam_icon_367520 to put into the icons folder
EDIT: in regards to the xprop command, i am unsure how to use it? sorry
Last edited by wowomgilovexfce (2023-06-19 23:34:12)
Offline
EDIT: in regards to the xprop command, i am unsure how to use it? sorry
Hopefully you can run Hollow Knight in window mode. With it running, in a terminal window type:
xprop | grep CLASS
...and press enter. The cursor will change to a cross. Click on the Hollow Knight window and there will be output in the terminal window showing the class (if its set).
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
[ Generated in 0.011 seconds, 10 queries executed - Memory usage: 575.16 KiB (Peak: 592 KiB) ]