LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 10-21-2022, 07:30 AM   #1
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
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
 
Old 10-22-2022, 11:43 AM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,126

Rep: Reputation: 1260Reputation: 1260Reputation: 1260Reputation: 1260Reputation: 1260Reputation: 1260Reputation: 1260Reputation: 1260Reputation: 1260
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.
 
1 members found this post helpful.
Old 10-22-2022, 11:36 PM   #3
rnturn
Senior Member
 
Registered: Jan 2003
Location: Illinois (SW Chicago 'burbs)
Distribution: openSUSE, Raspbian, Slackware. Previous: MacOS, Red Hat, Coherent, Consensys SVR4.2, Tru64, Solaris
Posts: 2,795

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
Quote:
Originally Posted by BW-userx View Post
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
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...
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: KDE Plasma 5.24 Will Be the Next LTS Release Receiving Support Until KDE Plasma 6 LXer Syndicated Linux News 0 01-28-2022 08:33 AM
LXer: Solus Readies KDE Plasma Edition Testing ISO with Latest KDE Plasma 5.14 Desktop LXer Syndicated Linux News 0 10-25-2018 03:03 PM
LXer: KDE Plasma 5.13 Desktop Reaches End of Life, KDE Plasma 5.14 Arrives October 9 LXer Syndicated Linux News 0 09-15-2018 10:30 PM
[SOLVED] KDE 4.8 haunted launchers bonixavier Linux - Desktop 4 10-09-2012 10:49 AM
Setting Environment Variables for KDE launchers giosue_c Linux - Software 4 02-25-2005 02:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 08:46 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration