9
submitted 11 months ago by ja2@lemmy.world to c/kde@lemmy.ml

I don't know a good way to explain this, but let's try.

Imagine that these icons...

...are all Google Chrome, but three different profiles. That is what I want.

What happens, whether creating .desktop files by hand or using kmenuedit is this:

  • the launcher will respect the unique icons I choose
  • I can force Chrome not to group the icons
  • The panel icons still all show the default Chrome icon...

...instead of using the icon I chose for each instance.

The reason, for the interested, is that I want to have a work profile, a non-profit profile and a personal profile which all open and can be pinned with a unique icon.

I've gotten far enough that having separate menu entries with unique icons and individual .desktop files and ungrouped panel icons seems like progress, but Plasma seems to treat any instance that points at the final binary as "the same."

you are viewing a single comment's thread
view the rest of the comments
[-] ja2@lemmy.world 0 points 11 months ago

I have done the same thing with Chrome profiles, and it has the same effect - starts with correct logo then changes.

[-] Limitless_screaming@kbin.social 1 points 11 months ago* (last edited 11 months ago)

found the solution for firefox, works perfectly.

here's an example file. replace the profile name in exec and the icon, you can also remove the icons under all entries except [Desktop Entry].

[-] GolDNenex@mastodon.social 0 points 11 months ago
[-] Limitless_screaming@kbin.social 1 points 11 months ago

Manjaro/KDE Plasma, this bug doesn't happen under Gnome apparently.

[-] GolDNenex@mastodon.social 0 points 11 months ago* (last edited 11 months ago)

@Limitless_screaming @ja2 Same, I use arch/KDE. Wayland i suppose? Using '--name name' work also on my side.

[-] Limitless_screaming@kbin.social 1 points 11 months ago

Yes it's a KWin Wayland issue, and I already replied with this solution to @ja2 's comment. You should also change StartupWMClass to name; so that the icon applies correctly.

this post was submitted on 11 Jul 2023
9 points (90.9% liked)

KDE & Plasma users

2711 readers
16 users here now

KDE is an international technology team creating user-friendly free and open source software for desktop and portable computing. KDE's software runs on GNU/Linux, BSD and other operating systems, including Windows.

founded 4 years ago
MODERATORS