Linux apps show a yellow W icon on the taskbar
The Problem
I have been trying out desktop Linux (specifically Fedora with KDE Plasma), but occasionally I want to use an app that isn’t available through a package manager, and its icon on the taskbar is an ugly yellow circle with the letter W in it.
![]()
The Solution
The app is displaying the default Wayland icon because the OS is picky about the exact name of the .desktop file. In my case, I had named it gram.desktop, but it needed to match the application’s exact package name, app.liten.Gram.desktop. You can find this a number of ways, but I found it by right-clicking the top of the window and going to More Actions > Configure Special Application Settings, and copying the text in the field marked Window class (application).
![]()
How I arrived at this problem
I was trying to install a code editor called Gram, which isn’t available through Fedora’s default package manager. There is a Linux binary, which is a bunch of files in a folder.
A natural thing you’d want to do with a desktop application on your computer is to put it in your application menu and pin it to the taskbar. Even with a relatively polished desktop environment like KDE Plasma, this is unreasonably, obnoxiously unintuitive.
First, you need a place for the application to live after you’ve downloaded it. I chose to make a directory under ~/Apps/. Then, you need a .desktop file. My .desktop file looks like this:
[Desktop Entry]
Type=Application
Name=Gram
Exec=/home/username/Apps/gram.app/bin/gram
Icon=/home/username/Apps/gram.app/share/icons/hicolor/scalable/apps/app.liten.Gram.svg
Terminal=false
Categories=Development;
Important note: You have to specify your actual user directory instead of using the convenient ~/Apps or even $HOME/Apps in this file because nothing is ever easy in Linux.
I’m aware of other fields these files can contain, but I’m not familiar with where .desktop files are documented or any convenient tools to create them. You will find no shortage of Linux guys online making excuses for how stupid this is.
Even though the information in this file is enough to show the app with its icon in the application launcher, once it launches, the OS forgets where the icon is unless you’ve named the .desktop file according to its obscure preferences.
What didn’t work for me
I saw advice to set the icon under “Special Window Settings” or “Application Rules” using a “desktop file name” property, but that didn’t work for me. The application would start with the correct icon, and immediately swap back to the Wayland icon.
A different solution
In the case of Gram, you can grab the flatpak version and the system seems much happier figuring out its icon and place in the application launcher without any futzing with .desktop files.
How did I miss the flatpak version? Unfortunately, many applications throw users into an unsorted list of confusingly named downloads with no guidance on the benefits and drawbacks of each for their system.

If a user on Linux were to scan the filenames of that list for the word Linux, they would miss the (likely) preferable flatpak version at the top.
That being said, since the flatpak version is sandboxed, it hides its config files inside the package instead of utilizing the more centralized ~/.config/ directory. I wound up making some symlinks to make organizing and backing up my configs easier.
I kept the real config file where I’m used to it being and linked to it from inside the flatpak, which might be backwards from how I’m supposed to do it. I’m also told you have to issue some command to break the flatpak’s seal to get this to work, but I didn’t! And it seems to work? So like many things in Linux, this worked on my machine, but good luck on whatever your situation is.
First make a backup of the flatpak’s default config. You could also move this into your ~/.config/ directory if you’re starting from scratch, or delete the directory if you’re confident in yourself.
mv ~/.var/app/app.liten.Gram/config/gram ~/.var/app/app.liten.Gram/config/_OLD
Then, symlink your existing config into the flatpak.
ln -s ~/.config/gram ~/.var/app/app.liten.Gram/config/gram