LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (https://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   KDE Plasma: -> launchers (https://www.linuxquestions.org/questions/linux-desktop-74/kde-plasma-launchers-4175717990/)

BW-userx 10-21-2022 07:30 AM

KDE Plasma: -> launchers
 
Does this thing called Plasma have launchers like xfce4 where one can attach a script to it then click on it to run the script? if yes how to, if no, then that really sucks. Plasma ain't as good as it should me :mad:

smallpond 10-22-2022 11:43 AM

I have added a couple in ~/.local/share/applications/ (Fedora 36, KDE_SESSION_VERSION 5) including icons.

You can either use the menu editor, or edit manually. You can also pin them to the task bar for quick launch.

rnturn 10-22-2022 11:36 PM

Quote:

Originally Posted by BW-userx (Post 6387627)
Does this thing called Plasma have launchers like xfce4 where one can attach a script to it then click on it to run the script? if yes how to, if no, then that really sucks. Plasma ain't as good as it should me :mad:

Click on the main Application Launcher. Then, right-click down near the bottom where your username is displayed. You'll see a menu. Click on "Edit Applications" then, "New Item", define the new application's name. Fill in the form that's displayed. Say you've written a shell script (myscript) and keep it in $HOME/bin, in the "Command" field you'd simply enter "$HOME/bin/myscript". You can also enter the text (Description/Comment) you'll see when the application menu is displayed, an icon for the application, etc.

While in the menu editor, you can either drag the newly created entry to whatever category (Games, Graphics, System, etc.) you want it to appear in or, before creating the entry, right-click on the category and then select the "New Item" option. Then fill in the fields as described above.

I recall in the past having to use a special applet that you configured for some desktops in order to run user-written scripts or programs but KDE's menu editor makes that unnecessary.

HTH...


All times are GMT -5. The time now is 09:05 AM.