Launcher creation

Forum rules
Before you post please read how to get help
Post Reply
MicroM
Level 1
Level 1
Posts: 14
Joined: Tue Dec 25, 2018 5:32 pm

Launcher creation

Post by MicroM » Sun Jan 20, 2019 12:31 pm

Hi. Using KDE 18.3

I'd like to create a launcher in the taskbar for a program. The usual methods do not work. When the program window is open right-clicking on the taskbar show a launcher when not running is not selectable. I am able to create shortcuts for the program in the app launcher without any problem, though.

Thanks.

thunder422
Level 2
Level 2
Posts: 57
Joined: Wed May 16, 2012 7:26 am

Re: Launcher creation

Post by thunder422 » Mon Jan 21, 2019 12:47 pm

You need a .desktop file for the application. In Dolphin, from your Home directory, go to the .local/share/application directory. .local is normally hidden, but you can get there by simply clicking on the local bar - you will see /home/user (where "user" is your user name). Start typing .local/share. The application directory may not be there and you may need to create it (I had to create it and then reboot).

Once in the application directory, right-click and Create New, and Lick to Application... Replace the text "Link to Application" with the name of your application with the extension .desktop, for example abc.desktop. Now go to the Application tab. Enter the Name: of your application (e.g. "Abc"), for Comments: some description (e.g. "The Abc Application"), for Command:, click on the Browse and find the binary for your application. You may need to set the Work Path also if you want the application to start in a particular directory. Click OK.

Now it needs to be modified, so right-click and select Properties. The Icon can now be set, so click on the icon on the General tab and select the icon for the program. You may need to select other and then browse for it. Click OK.

To see if it set up correctly. click on the .desktop file and it will ask you to Open, Execute or Cancel. Click Execute, and if the program starts, then success. You should now be able to select the Show A Launcher When Not Running option (this option has been renamed to Pin in the latest KDE).
KDE Neon (formerly Mint 17.3 KDE): AMD FX-6300, 16GB RAM, GTX 660Ti (2GB), Gigabyte 990FXA-UD5
(with Windows XP, Windows 10, and Mint 18.3 KDE VMs on VirtualBox)

MicroM
Level 1
Level 1
Posts: 14
Joined: Tue Dec 25, 2018 5:32 pm

Re: Launcher creation

Post by MicroM » Mon Jan 21, 2019 6:10 pm

thunder422, thanks for the very detailed instructions :!: :mrgreen:

Post Reply

Return to “KDE”