I would like to start spyder from a .desktop shortcut.
I am unfortunately unable to start it directly from AnacondaNav, as it stops with a Exit code: 134 message.
As an alternative, I installed spyder using:
conda update -n base -c defaults conda
conda update anaconda
conda install spyder=5.4.2
This lets me start spyder with:
conda activate spyder-env
spyder
How do I create a .desktop file with these commands?
I have tried copying/altering various other .desktop and .sh files (with/out #!/bin/bash), but none have worked.
System setup:
- OS: LMDE 5 / elsie
- 5.10.0-21-amd64 #1 SMP Debian 5.10.162-1
- Cinnamon 5.6.8
- Python 3.11.2
- conda 23.3.1
- Spyder IDE 5.4.2
Edit:
Tried some suggestions from the comments:
(sh -c) conda activate spyder-env; spyder gives either "There was an error launching the application" or no output at all.
Adding conda act... to .profile activates the python env but running spyder from the .desktop after that does nothing.