-
Notifications
You must be signed in to change notification settings - Fork 80
cadence-launcher: cross-distro way for tools detection #136
Comments
...you're talking about claudia-launcher right? cause if yes, it's 100% intentional. |
Oh, yep. |
@falkTX Why is knowing which features a certain application supports necessary? |
The idea was for each distro to modify the list as needed. |
In that case would it be an option to simplify the detection of applications from the list/database to checking if the executable exists? |
problem with that is missing icons. I guess searching for binaries will make sense... |
Regarding missing icons, an alternative option could be to read the |
hmm yes, in that case we should look for desktop files instead of binaries. |
Well, both using the XDG spec as well as trying to use the icons defined in a
So keeping the above in mind, I think a simple check if the executable exists might save a lot of headache :) |
Allright, so code reading and trial and error further :)
@falkTX I might be misunderstanding you, but knowing that a package is installed doesn't give us any kind of information about if and where the relevant icon is placed, right? The only issue is that it's actually showing a different icon than I'm using in my theme. For example for LMMS, the way the code is right now I get the icon from this repo. If I don't add the If I disable the So 3 conclusions/observations:
|
As far as i remember, launcher detects tools via package-manager. This makes it useless in distros, using other PM, than apt (rpm-based, arch, etc).
There are two other ways for that:
The text was updated successfully, but these errors were encountered: