[xubuntu-users] Adding a launcher
Victor Forberger
vforberger at fastmail.fm
Mon Jan 6 15:19:10 UTC 2025
On 1/6/25 09:08, David Sumbler wrote:
> I have just installed Android Studio in a folder in my home directory.
> I added this to my PATH in .bashrc, and sure enough Android Studio
> launches correctly when I type 'studio' at a bash prompt.
>
> But Android Studio doesn't show up under the "All Applications" in the
> whisker menu. How do I create a new launcher, or persuade xfce4 to
> create a new one?
>
>
You need to create a .desktop file for the app, with that .desktop file
located in your ~/.local/share/applications folder.
For example, for the audacity appimage file I have in my .local
directory, I have the following Audacity.desktop file in my
~/.local/share/applications folder.
> [Desktop Entry]
> Version=1.1
> Type=Application
> Name=Audacity
> Comment=Audacity sound editor
> Icon=audacity
> TryExec=/home/victor/.local/audacity.AppImage
> Exec=/home/victor/.local/audacity.AppImage
> Actions=
> Categories=Audio;
With this .desktop file, Audacity shows up in Whisker under the audio
category of applications (sometimes, you may need to go into Whisker and
edit/save the entry for it to appear in the proper category of
applications).
Good luck.
-Victor
--
--
Victor Forberger
vforberger at fastmail.fm
blog: http://linuxatty.wordpress.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 495 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/xubuntu-users/attachments/20250106/b3419367/attachment.sig>
More information about the xubuntu-users
mailing list