I am using Krusader 2.7.2 as a file manager.
When I double click on a Python script, it shows the following error message:
execvp: Exec format error
After I click "Ok" another error message is shown:
Could not start 'file.py'
After I click on "Ok" nothing more happens.
How can I configure Krusader to open my Python scripts in Kate (or KDevelop) rather than try to run them?
- Other information about my system:
- Operating System: Kubuntu 20.10
- KDE Plasma Version: 5.19.5
- KDE Frameworks Version: 5.74.0
- Qt Version: 5.14.2
- Kernel Version: 5.8.0-33-generic
- OS Type: 64-bit
- Processors: 12 × Intel® Core™ i7-8750H CPU @ 2.20GHz
- Memory: 15,5 GiB of RAM
- Graphics Processor: GeForce GTX 1060/PCIe/SSE2
python3 {script}
to execute them. When the files are not executable an editor will treat them as text file