"mklauncher" is a command line tool, which allows you to create application launchers, with a single line. To create a launcher, you must open a terminal and start a session as administrator :
$ su -l
Documentation
To know all the available options run :
# mklauncher -help
- NOTE -
Code Description
_______________________
%f A single file. %F A list of files. %u A single URL. %U A list of URLs.
This option requires that the "gksu" package be installed.
WAYLAND POLKIT
To run applications on Wayland with administrative privileges, it is necessary to use "POLKIT". Polkit is used for controlling system-wide privileges. It works through ".policy" files that contain access requirements for local and remote users. "mklauncher" automates the creation of ".policy" files.
The "-r" option can only erase launchers that were previously created with "mklauncher". To erase launchers that were not created with "mklauncher", it is necessary to write the real name of the file ".desktop". You can use the file manager to copy and paste the names of the ".desktop" files.
# mklauncher -r 'start_smb'
Remove launcher for current user only :
# mklauncher -u -r 'start_smb'
It is also possible to eliminate the launchers directly :