"mklauncher" the easy way to create launchers in "GNU/Linux"/FreeBSD desktops, that meet the specifications of "free desktop" (GNOME, KDE, LXDE, LXQt, MATE, Razor, ROX, TDE, Unity, XFCE, EDE, Cinnamon, Pantheon, etc.).

Summary Support Donate



"mklauncher" is a command line tool that allows you to easily create launchers for desktops that meet the "free desktop specifications".

Example :

Simple :

# mklauncher -n "Firefox Quantum" -e "/opt/firefox/firefox %U" -i "/opt/icons/firefox.png" -cat "Network"

Complex :

# mklauncher -n "Firefox Quantum" -e "/opt/firefox/firefox %U" -i "/opt/firefox/browser/chrome/icons/default/default128.png" -p "/opt/firefox" -cat "Network" -k "Browser;Firefox;" -sn -in "StartupWMClass=Firefox Quantum" -mime "text/html;text/xml;application/xhtml+xml;application/xml;application/vnd.mozilla.xul+xml;application/rss+xml;application/rdf+xml;image/gif;image/jpeg;image/png;x-scheme-handler/http;x-scheme-handler/https;"

For more details consult how to use mklauncher and how to install mklauncher.

Requesting little information from the user, and reading the files "Linux /etc/passwd" and "FreeBSD /etc/master.passwd", "mklauncher" can create ".desktop" files for all users or only the current user.

Important details

  • "mklauncher" updates the list of applications and also the current user's desktop.

  • "mklauncher" includes a list of standard icons.

  • "mklauncher" allows you to manually enter the desktop folder, in case of a detection error.

  • "mklauncher" allows to create launchers using ideographic characters, this is possible thanks to the fact that "mklauncher" converts the names to a "valid DBUS name".

  • "mklauncher" allows you to create symbolic links directly on the desktop of the current user.

  • "mklauncher" is programmed in Free Pascal version 3.0.4 [2018/05/21].

  • "mklauncher" Uses the "Lazarus Component Library 1.8.4".

  • "mklauncher" Uses "Pascal motor 1.0.2".


"mklauncher" for "FreeBSD" is in stable state, and it can be used in production.