Could not launch Application

Quick to answer questions about finding your way around Linux Mint as a new user.
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
velky_pivo
Level 2
Level 2
Posts: 71
Joined: Fri Sep 30, 2011 10:02 pm

Could not launch Application

Post by velky_pivo »

LM13-64bit-Mate

I installed Python recently but it will not start from the menu. It runs ok manually from mate-terminal.

Popup error says:

Could not launch 'Python (v2.7)'
Failed to execute child process "xterm" (No such file or directory)

I found that somebody fixed this by either
1) setting up "sim link to /usr/bin"
quote: "Just create a sim link with the name xterm in /usr/bin and it is done."
or by
2) installing xterm.

I did not find xterm in my /usr/bin, and system only gives me a choice of mate-terminal or debian terminal emulator. (neither fixed the issue)

What are the steps required to setup this sim link, or how do I install xterm?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
WharfRat

Re: Could not launch Application

Post by WharfRat »

velky_pivo,

If you want a symlink to mate-terminal then in the terminal:

Code: Select all

sudo -i

Code: Select all

cd /usr/bin

Code: Select all

ln -s mate-terminal xterm
Then if you

Code: Select all

 ls -l xterm
you will see

Code: Select all

lrwxrwxrwx 1 root root 13 Sep 25 15:44 xterm -> mate-terminal*
Good luck :wink:
velky_pivo
Level 2
Level 2
Posts: 71
Joined: Fri Sep 30, 2011 10:02 pm

Re: Could not launch Application

Post by velky_pivo »

thanks, worked perfectly
now my python interpreter starts ok, and other apps are also working fine

Is there a backwards process to undo/remove the symbolic link in case I no longer need/want it ?
WharfRat

Re: Could not launch Application

Post by WharfRat »

velky_pivo wrote:thanks, worked perfectly
now my python interpreter starts ok, and other apps are also working fine

Is there a backwards process to undo/remove the symbolic link in case I no longer need/want it ?
Yes, just delete the symlink:

Code: Select all

sudo rm /usr/bin/xterm
Locked

Return to “Beginner Questions”