Create app launcher in Fedora


Fedora Linux is not meant for everyone, it is for developers and those who love to learn developing. You can add application using neat GUI or use dnf[treminal] to search and install packages you needed.

Some ventors supplies tar file which require manually run from terminal. For convenience you can create launchers for them, so that you can run them as regular applications.

Desktop Entries

Desktop entries are responsible for showing application menus under differrnt categories. My Fedora uses GNOME desktop which has Activities menu, shows favourietes and menus

Where should I place applications files

I recomment you should place application files on usr/share, you need to extract the tar/zip files on home folder then move to the share folder using following way In this example we have Typora Markdown Editor, extract the file and open terminal and issue following command

sudo mv Typora-linux-x64 /usr/share

This will place the typora file to the share folder, you can’t directly place or copy without sudo command in /share or application files

Desktop Entry format

[Desktop Entry]
	Name=FooCorp Painter Pro
	Exec=foocorp-painter-pro
	Icon=foocorp-painter-pro
	Type=Application
	Categories=GTK;GNOME;Utility;   

For more options and guides for desktop entry visit GNOME Guide

Create Desktop Entry and move it to applications folder

create a Text file with named typora.desktopentry with following content

 [Desktop Entry]
Type=Application
Encoding=UTF-8
Name=Typora
Comment=A sample Markdown Editor
Exec=/usr/share/Typora-linux-x64/Typora %f 
Icon=/usr/share/Typora-linux-x64/typora_icon.jpg
Terminal=true

Let’s move it to the /usr/share/applications/

sudo mv Ttypora.desktopentry /usr/share/applications

Now check the menu for the entry, I additionally added a image file for use as icon

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

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