Closed User8395 closed 2 years ago
The Launcher reads .desktop files from several locations and filters them based on the logic in the plugin file: https://github.com/pop-os/launcher/blob/master/plugins/src/desktop_entries/mod.rs
How did you add the app to the GNOME app list? Where did you place the .desktop file and what is its contents?
/usr/share/applications/
I just put some Android Studio info there
Please share the contents of the .desktop
file like I requested. That way, I can confirm the syntax is valid and test it on my own system to see what the issue might be.
I don't know the exact contents, but I it was something like this:
[Desktop Entry]
Version=1.0
Name=Android Studio
Exec=/home/qaqak/Apps/AndroidStudio/bin/studio.sh
Icon=/home/qaqak/Apps/AndroidStudio/bin/studio.png
Type=Application
Terminal=false
Yeah, something like that
Can you please run cat
on the file so you can show what's actually in it?
I, uh, deleted it...
I placed the output you gave in the location you stated, and the Launcher shows the icon:
Please re-open the issue (or comment here so it can be re-opened) if you are able to recreate it again.
Okay for a reason it finally worked. I don't know what the problem was, but if it works, don't touch it. Sorry for the confusion!
But I have another question.
I get that when it says System, it's a desktop file in /usr/share/applications
.
When it says Flatpak, it's a flatpak.
When it says Snap(System), it's a Snap
But how do you get it to say Local?
But how do you get it to say Local?
Place it in ~/.local/share/applications
(where ~
is your home directory).
I added an app to the GNOME app list, but it is not showing up in the Launcher. How can I manually add an app to the GNOME app menu and launcher?