How can I create separate launcher shortcuts for RPM and Flatpak versions of an app?

0
10
Asked By CleverPineapple42 On

I'm looking to have both the RPM version and the Flatpak version of the same application installed at the same time, like Firefox. However, I'm experiencing an issue where the launcher shortcuts for these versions conflict with each other. When I try to launch the Flatpak version, it usually opens the RPM version instead. They don't appear to have distinct shortcuts in the application menu. Can anyone guide me on how to resolve this so that I can have separate shortcuts for each version, such as 'Firefox(Flatpak)' and 'Firefox(System)'? I'm using Fedora 43 with KDE Plasma.

2 Answers

Answered By KDEExplorer88 On

I'm not as familiar with KDE, but in GNOME, you can create a separate .desktop launcher for each version. You just need to place them in the right directories, usually ~/local/share/applications/ for user-specific shortcuts or /usr/share/applications for system-wide ones. These .desktop files are basically text files that define where the app is located, what icon to use, and how it should be named. KDE likely has a similar feature! Start looking in those directories, and remember to use the user-specific one to preserve your settings after upgrades.

TechyTommy -

Yeah, that's definitely the way to go!

Answered By NiftyNerd123 On

You might want to just keep the RPM version named as 'firefox' and change the Flatpak shortcut to 'firefox-flatpak'. That's a simple way I've found to distinguish between different versions of the same app. It totally works for me, especially when dealing with various package types.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.