[HowTo] Fix Incorrect, Missing, or Blurry Icons on Plasma Wayland

Introduction

Aside from any launchers there are generally 3 main locations that icons for applications are displayed in a Plasma Wayland session.

Any one or multiples of these may be displayed incorrectly or may be missing entirely and default to a generic wayland icon.

  • On the Taskbar
    image|50%

  • In the corner of the Application Window
    image|50%

  • In the Task Switcher
    image|50%

This seems especially common and pronounced for applications whose desktop file names do not mirror the name of the application itself. For example the β€˜Goodvibes’ music player and it’s io.gitlab.Goodvibes.desktop file.

Workaround

The solution in any of these cases (blurry, incorrect, missing icon) is to use the Window Rules utility.

The easiest approach may be to Right-Click on the application window header and select:

More Actions > Configure Special Application Settings

image|50%

In the resulting window press the β€˜Add Property’ button.

From the pop-up menu select β€˜Desktop file name’.

image|75%

In the new configuration line input the desired desktop file name (without .desktop if it is in the default paths), or optionally the full path.

image|75%

To find the desktop file of an installed package you may

  • Use pacman;
    pacman -Ql $PACKAGE_NAME | grep desktop
  • Or use your Application Launcher;
    Right-Click on the application and select β€˜Edit Application’
    The desktop file should be listed under the β€˜Application’ Tab, on the β€˜Program’ line.

Dont forget to press β€˜Apply’ in the Window Rules window when finished.

Your icons should now be displayed correctly after any offending applications are restarted.

Result

image|75%

8 Likes

Thank you so much for the tips @cscs :heart_eyes:

1 Like