shell icon indicating copy to clipboard operation
shell copied to clipboard

Icons not showing.

Open JosMaMOR opened this issue 1 year ago • 16 comments

i'm on fedora 42 and installed all the dependencies manually, but when i run the config almost all icons does not show.

Image

And in the logs when i run QS manually on cli it says i don't have the file for the light/mode mode, wallpapers, and some icons that are supposed to be on /usr/share/icons/hicolor/scalable/apps/btop.svg.

Here is my log:

INFO: Launching config: "/home/karpa/.config/quickshell/caelestia/shell.qml"
  INFO: Shell ID: "232aeeab4a91681e668c264e543479f3" Path ID "232aeeab4a91681e668c264e543479f3"
  INFO: Saving logs to "/run/user/1000/quickshell/by-id/hu9xfdpxs/log.log"
  WARN: Could not load icon "?fallback=multimedia-player" at size QSize(19, 19) from request
  INFO: Configuration Loaded
  WARN scene: QML FileView at **/services/Colours.qml[69:5]: Read of /home/karpa/.local/state/caelestia/scheme/current.txt failed: File does not exist.
  WARN scene: QML FileView at **/services/Colours.qml[62:5]: Read of /home/karpa/.local/state/caelestia/scheme/current-mode.txt failed: File does not exist.
  WARN scene: QML FileView at **/services/Wallpapers.qml[70:5]: Read of /home/karpa/.local/state/caelestia/wallpaper/last.txt failed: File does not exist.
  WARN scene: QML CachingImage at **/modules/dashboard/dash/User.qml[30:9]: Cannot open: file:///home/karpa/.cache/caelestia/thumbnails/@96x96-exact.png
  WARN qt.svg: /usr/share/icons/hicolor/scalable/apps/btop.svg:111:6: Could not resolve property: #pattern1888
  WARN qt.svg: /usr/share/icons/hicolor/scalable/apps/btop.svg:111:6: Could not resolve property: #pattern1870
  WARN qt.svg: /usr/share/icons/hicolor/scalable/apps/btop.svg:111:6: Could not resolve property: #pattern1888
  WARN qt.svg: /usr/share/icons/hicolor/scalable/apps/btop.svg:111:6: Could not resolve property: #pattern1870
  WARN qt.svg: /usr/share/icons/hicolor/scalable/apps/btop.svg:111:6: Could not resolve property: #pattern1888
  WARN qt.svg: /usr/share/icons/hicolor/scalable/apps/btop.svg:111:6: Could not resolve property: #pattern1870
  WARN qt.svg.draw: The requested buffer size is too big, ignoring
  WARN qt.svg.draw: The requested buffer size is too big, ignoring
  WARN qt.svg.draw: The requested buffer size is too big, ignoring
  WARN qt.svg.draw: The requested buffer size is too big, ignoring
  WARN: Could not load icon "tools-report-bug?fallback=image-missing" at size QSize(2, 2) from request
  WARN: Could not load icon "tools-report-bug?fallback=image-missing" at size QSize(2, 2) from request
  WARN: Could not load icon "tools-report-bug?fallback=image-missing" at size QSize(34, 34) from request

JosMaMOR avatar Jun 11 '25 17:06 JosMaMOR

Same problem in Arch Linux with hyprland.

TheRealSourcer avatar Jun 11 '25 18:06 TheRealSourcer

@karpa08123 @TheRealSourcer

Icons Not Showing FIX Make sure that you have at-least installed one icon theme such as papirus-icon-theme

pacman -S qt6ct

echo 'export QT_QPA_PLATFORMTHEME=qt6ct' >> ~/.bashrc

If you installed fish via caelestia install fish do this:

echo 'set -gx QT_QPA_PLATFORMTHEME qt6ct' >> ~/.local/share/caelestia/fish/config.fish

then restart your session

Amstel-DEV avatar Jun 11 '25 19:06 Amstel-DEV

If you need more information try to follow this un-official installation guide

Arch Linux Minimal Installation + Caelestia

Amstel-DEV avatar Jun 11 '25 19:06 Amstel-DEV

i do installed qt6ct and the echo command but everything stays the same.

Quickshell output again in case i missed something:

  INFO: Shell ID: "232aeeab4a91681e668c264e543479f3" Path ID "232aeeab4a91681e668c264e543479f3"
  INFO: Saving logs to "/run/user/1000/quickshell/by-id/vx8j8tpxs/log.log"
  WARN: Received unexpected PlaybackStatus for qs::service::mpris::MprisPlayer(0x7fb08fa5e300) ""
  WARN: Received unexpected LoopStatus for qs::service::mpris::MprisPlayer(0x7fb08fa5e300) ""
  WARN: Could not load icon "?fallback=multimedia-player" at size QSize(19, 19) from request
  INFO: Configuration Loaded
  WARN scene: QML FileView at **/services/Colours.qml[69:5]: Read of /home/karpa/.local/state/caelestia/scheme/current.txt failed: File does not exist.
  WARN scene: QML FileView at **/services/Colours.qml[62:5]: Read of /home/karpa/.local/state/caelestia/scheme/current-mode.txt failed: File does not exist.
  WARN scene: QML FileView at **/services/Wallpapers.qml[70:5]: Read of /home/karpa/.local/state/caelestia/wallpaper/last.txt failed: File does not exist.
  WARN scene: QML CachingImage at **/modules/dashboard/dash/User.qml[30:9]: Cannot open: file:///home/karpa/.cache/caelestia/thumbnails/@96x96-exact.png
  WARN qt.svg: /usr/share/icons/hicolor/scalable/apps/btop.svg:111:6: Could not resolve property: #pattern1888
  WARN qt.svg: /usr/share/icons/hicolor/scalable/apps/btop.svg:111:6: Could not resolve property: #pattern1870
  WARN qt.svg: /usr/share/icons/hicolor/scalable/apps/btop.svg:111:6: Could not resolve property: #pattern1888
  WARN qt.svg: /usr/share/icons/hicolor/scalable/apps/btop.svg:111:6: Could not resolve property: #pattern1870
  WARN qt.svg: /usr/share/icons/hicolor/scalable/apps/btop.svg:111:6: Could not resolve property: #pattern1888
  WARN qt.svg: /usr/share/icons/hicolor/scalable/apps/btop.svg:111:6: Could not resolve property: #pattern1870
  WARN qt.svg.draw: The requested buffer size is too big, ignoring
  WARN qt.svg.draw: The requested buffer size is too big, ignoring
  WARN qt.svg.draw: The requested buffer size is too big, ignoring
  WARN qt.svg.draw: The requested buffer size is too big, ignoring
  WARN: Could not load icon "tools-report-bug?fallback=image-missing" at size QSize(2, 2) from request
  WARN: Could not load icon "tools-report-bug?fallback=image-missing" at size QSize(2, 2) from request
  WARN: Could not load icon "tools-report-bug?fallback=image-missing" at size QSize(34, 34) from request```

JosMaMOR avatar Jun 11 '25 23:06 JosMaMOR

Icons Not Showing FIX Make sure that you have at-least installed one icon theme such as papirus-icon-theme

pacman -S qt6ct

echo 'export QT_QPA_PLATFORMTHEME=qt6ct' >> ~/.bashrc

If you installed fish via caelestia install fish do this:

echo 'set -gx QT_QPA_PLATFORMTHEME qt6ct' >> ~/.local/share/caelestia/fish/config.fish

then restart your session

Is that fix supposed to also fix icons in the media player? It fixed everything but that for me (in the screenshot i'm running youtube music)

Image

Vasabii avatar Jun 12 '25 04:06 Vasabii

i'm on fedora 42 and installed all the dependencies manually, but when i run the config almost all icons does not show.

Image

And in the logs when i run QS manually on cli it says i don't have the file for the light/mode mode, wallpapers, and some icons that are supposed to be on /usr/share/icons/hicolor/scalable/apps/btop.svg.

Here is my log:

INFO: Launching config: "/home/karpa/.config/quickshell/caelestia/shell.qml"
  INFO: Shell ID: "232aeeab4a91681e668c264e543479f3" Path ID "232aeeab4a91681e668c264e543479f3"
  INFO: Saving logs to "/run/user/1000/quickshell/by-id/hu9xfdpxs/log.log"
  WARN: Could not load icon "?fallback=multimedia-player" at size QSize(19, 19) from request
  INFO: Configuration Loaded
  WARN scene: QML FileView at **/services/Colours.qml[69:5]: Read of /home/karpa/.local/state/caelestia/scheme/current.txt failed: File does not exist.
  WARN scene: QML FileView at **/services/Colours.qml[62:5]: Read of /home/karpa/.local/state/caelestia/scheme/current-mode.txt failed: File does not exist.
  WARN scene: QML FileView at **/services/Wallpapers.qml[70:5]: Read of /home/karpa/.local/state/caelestia/wallpaper/last.txt failed: File does not exist.
  WARN scene: QML CachingImage at **/modules/dashboard/dash/User.qml[30:9]: Cannot open: file:///home/karpa/.cache/caelestia/thumbnails/@96x96-exact.png
  WARN qt.svg: /usr/share/icons/hicolor/scalable/apps/btop.svg:111:6: Could not resolve property: #pattern1888
  WARN qt.svg: /usr/share/icons/hicolor/scalable/apps/btop.svg:111:6: Could not resolve property: #pattern1870
  WARN qt.svg: /usr/share/icons/hicolor/scalable/apps/btop.svg:111:6: Could not resolve property: #pattern1888
  WARN qt.svg: /usr/share/icons/hicolor/scalable/apps/btop.svg:111:6: Could not resolve property: #pattern1870
  WARN qt.svg: /usr/share/icons/hicolor/scalable/apps/btop.svg:111:6: Could not resolve property: #pattern1888
  WARN qt.svg: /usr/share/icons/hicolor/scalable/apps/btop.svg:111:6: Could not resolve property: #pattern1870
  WARN qt.svg.draw: The requested buffer size is too big, ignoring
  WARN qt.svg.draw: The requested buffer size is too big, ignoring
  WARN qt.svg.draw: The requested buffer size is too big, ignoring
  WARN qt.svg.draw: The requested buffer size is too big, ignoring
  WARN: Could not load icon "tools-report-bug?fallback=image-missing" at size QSize(2, 2) from request
  WARN: Could not load icon "tools-report-bug?fallback=image-missing" at size QSize(2, 2) from request
  WARN: Could not load icon "tools-report-bug?fallback=image-missing" at size QSize(34, 34) from request

Your issue with the icons is because you do not have the correct icon font installed. The font I used is material symbols

soramanew avatar Jun 12 '25 05:06 soramanew

Icons Not Showing FIX Make sure that you have at-least installed one icon theme such as papirus-icon-theme

pacman -S qt6ct

echo 'export QT_QPA_PLATFORMTHEME=qt6ct' >> ~/.bashrc

If you installed fish via caelestia install fish do this:

echo 'set -gx QT_QPA_PLATFORMTHEME qt6ct' >> ~/.local/share/caelestia/fish/config.fish

then restart your session

Is that fix supposed to also fix icons in the media player? It fixed everything but that for me (in the screenshot i'm running youtube music)

Image

What's the issue with the media player? I don't see any problem with it (maybe I'm just blind idk)

soramanew avatar Jun 12 '25 05:06 soramanew

Is that fix supposed to also fix icons in the media player? It fixed everything but that for me (in the screenshot i'm running youtube music) Image

What's the issue with the media player? I don't see any problem with it (maybe I'm just blind idk)

It's supposed to show the app's icon Here's a screenshot of how it should look:

Image

For me the icons don't show at all, like here's a youtube video playing in firefox:

Image

Vasabii avatar Jun 12 '25 05:06 Vasabii

Is that fix supposed to also fix icons in the media player? It fixed everything but that for me (in the screenshot i'm running youtube music) Image

What's the issue with the media player? I don't see any problem with it (maybe I'm just blind idk)

It's supposed to show the app's icon Here's a screenshot of how it should look:

Image

That is probably an issue with the app you are using to play the music as it isn't giving the correct identity (or the desktop entry is different from the mpris identity), so the shell uses the fallback icon. You can manually add icon substitutions in here (pls open a pr if it works so others can also have this fix thanks).

soramanew avatar Jun 12 '25 05:06 soramanew

That is probably an issue with the app you are using to play the music as it isn't giving the correct identity (or the desktop entry is different from the mpris identity), so the shell uses the fallback icon. You can manually add icon substitutions in here (pls open a pr if it works so others can also have this fix thanks).

Desktop entries are definitely different from whatever mpris reads. When I go to /usr/share/applications, they are totally normal:

Image

It seems to me that mpris takes icons from Papirus, as the only files starting with com.git, that's showing up instead of Youtube Music, are in /usr/share/icons/Papirus

How would I manually substitute icons? I assume com.git is a part of the process' name that mpris reads, but I can't find a way to see the full name so I can substitute it

Vasabii avatar Jun 12 '25 07:06 Vasabii

You can use caelestia shell mpris list to list all the player identities, then add mpris identity: desktop entry name to the substitutions in the icons file.

soramanew avatar Jun 12 '25 07:06 soramanew

You can use caelestia shell mpris list to list all the player identities, then add mpris identity: desktop entry name to the substitutions in the icons file.

Did that, the icons are showing! I changed the Icons.qml file like this:

    readonly property var desktopEntrySubs: ({
        "Mozilla firefox": "firefox", 
        "com.github.th_ch.youtube_music": "youtube-music"
    })

Is there a way to fix it completely? Because the name of the player is still the same, and It'd be much more convenient to not have to manually change icons every time

Image

Vasabii avatar Jun 12 '25 08:06 Vasabii

You can use caelestia shell mpris list to list all the player identities, then add mpris identity: desktop entry name to the substitutions in the icons file.

Did that, the icons are showing! I changed the Icons.qml file like this:

    readonly property var desktopEntrySubs: ({
        "Mozilla firefox": "firefox", 
        "com.github.th_ch.youtube_music": "youtube-music"
    })

Is there a way to fix it completely? Because the name of the player is still the same, and It'd be much more convenient to not have to manually change icons every time

Image

Unfortunately not, as the mpris spec provides no way to get the desktop entry id (or provide an icon) from an mpris player afaik.

soramanew avatar Jun 12 '25 12:06 soramanew

Unfortunately not, as the mpris spec provides no way to get the desktop entry id (or provide an icon) from an mpris player afaik.

Yep! No way. The solution was to enable the Shortcuts ( MPRIS) plugin in Youtube Music xd

Image Firefox doesn't have mpris integration, that's why the icon didn't change even with a manual substitution

Vasabii avatar Jun 12 '25 12:06 Vasabii

@karpa08123 @TheRealSourcer

Icons Not Showing FIX Make sure that you have at-least installed one icon theme such as papirus-icon-theme

pacman -S qt6ct

echo 'export QT_QPA_PLATFORMTHEME=qt6ct' >> ~/.bashrc

If you installed fish via caelestia install fish do this:

echo 'set -gx QT_QPA_PLATFORMTHEME qt6ct' >> ~/.local/share/caelestia/fish/config.fish

then restart your session

Im currently having this issue, unforunately this did not fix the issue for me :( Papirus dark is installed and ive confirmed so, but i still get this issue,

Ive looked through other Issues and saw that someone said it was because I was missing my Material-Icons dependancy, which makes sense, the text seem to follow the same names as those icons, so i set my font in qt6 to be Material-Icons and i still have this issue, plus the issue that my qt6 is now destroyed....

Image Image

3XPLwastaken avatar Aug 02 '25 00:08 3XPLwastaken

@karpa08123 @TheRealSourcer Icons Not Showing FIX Make sure that you have at-least installed one icon theme such as papirus-icon-theme

pacman -S qt6ct

echo 'export QT_QPA_PLATFORMTHEME=qt6ct' >> ~/.bashrc

If you installed fish via caelestia install fish do this:

echo 'set -gx QT_QPA_PLATFORMTHEME qt6ct' >> ~/.local/share/caelestia/fish/config.fish

then restart your session

Im currently having this issue, unforunately this did not fix the issue for me :( Papirus dark is installed and ive confirmed so, but i still get this issue,

Ive looked through other Issues and saw that someone said it was because I was missing my Material-Icons dependancy, which makes sense, the text seem to follow the same names as those icons, so i set my font in qt6 to be Material-Icons and i still have this issue, plus the issue that my qt6 is now destroyed.... Image Image

Hello I had the same issue on fedora, I managed it for qt6 by changing font in qt (second tab of qt gui (with F letter) and with the first '...' button search a font you know you have and click the low border right button of the contextual window then the same on qt window to apply). For fedora don't install material symbols using fedora repo (material-icons-fonts) , the font family name isn't the same (manageable with a the material family - font - tag in shell.json config) and it have visibly an offset problem on the wifi and weather Icon which cause some GUI gap, I managed it by installing manually Material symbols fonts which got from the google site.

Nazariel avatar Aug 26 '25 10:08 Nazariel