I have been trying to accomplish this task for years and every time I try it, I fail miserably and simply give up completely after Googling it and trying for hours. This time though, I decided to seek help from you!
Logically speaking, It should be a very straightforward simple task as follows:
Step 1: Right-click on the menu button, then go to "Edit Applications".
Step 2: Click on "Add new item", assign a menu entry name then create your launcher or command.
No matter how many variations of commands I try, it is never working out. I tried to launch the Konsole terminal then execute the command, but the Konsole is not holding still and closing automatically even after issuing the right flag to keep it running.
konsole -e anaconda-navigator --noclose
Specifying the command directly also does not work out and simply renders nothing on the screen.
anaconda-navigator
I wonder why it has to be very hard like that. Your help will be greatly appreciated!
My System Information - For Reference:
According to the
--help
option the-e
should be the last part of the line:So, to run the command to keep it open, it would then be:
Hope this helps!
Here is how I was able to do it, using the example of command
Open a text editor and type
Save file as
cow.sh
( or any name you wish and note location path)Open KDE Menu Editor ( note to use proper path to your cow.sh )
Command:
click save and test it!
anaconda-navigator should run without any additional parameters.
Ensure the path to anaconda is in ~/.bachrc i.e.
Ensure conda is updated: (this next command will fail, but it will give you the correct command for updating your system.)
Otherwise, a plasma config file might require deletion/recreation. Try renaming one or both of the following files (Warning: Desktop settings will be set back to default!):
Then restart plasma: