atom-gpp-compiler icon indicating copy to clipboard operation
atom-gpp-compiler copied to clipboard

Atom-xterm-compiler

Open Alok191196 opened this issue 7 years ago • 13 comments

'xterm' could not be spawned. Is it installed and on your path? If so please open an issue on the package spawning the process.

Alok191196 avatar Aug 10 '17 18:08 Alok191196

'xterm' could not be spawned. Is it installed and on your path? If so please open an issue on the package spawning the process.

mehedi432 avatar Nov 29 '17 11:11 mehedi432

Try to install it from your terminal (linux) by typing:

sudo apt-get install xterm

It worked for me!

andrehl avatar Dec 19 '17 10:12 andrehl

Its not working for me, any other solutions?

ps1729 avatar Mar 16 '18 09:03 ps1729

It's also not working for me. I am using Linux Mint. I've installed xterm, it's located at /usr/bin, that folder is on PATH, and I can lauch xterm using "xterm" command at gnome terminal. I still get the messagem 'xterm' could not be spawned when I try to compile and run.

Also changed in gpp setting from xterm to gnome-terminal, still the same result. Any help?

RubenPOR avatar Mar 24 '18 15:03 RubenPOR

I have the same problem. Linux Mint. xterm is installed and e I can launch it.

scaforchio avatar Apr 19 '18 08:04 scaforchio

I have resolved installing Atom from official repository. https://flight-manual.atom.io/getting-started/sections/installing-atom/

scaforchio avatar Apr 19 '18 10:04 scaforchio

I followed these steps to solve the problem in Linux Mint 19.1:

  • Uninstall Atom;

  • Uninstall xterm by terminal;

  • Install xterm by terminal sudo apt-get install xterm;

  • Install the atom through the official repository, quoted by @scaforchio

The problem has been solved for me.

lrdsouza avatar Mar 01 '19 14:03 lrdsouza

I followed these steps to solve the problem in Linux Mint 19.1:

  • Uninstall Atom;
  • Uninstall xterm by terminal;
  • Install xterm by terminal sudo apt-get install xterm;
  • Install the atom through the official repository, quoted by @scaforchio

The problem has been solved for me.

Hey I have the same issue in KDE,It used to work perfectly with console but now asks for xterm,I don't want xterm,I wan't to use konsole.What should I do?

ghost avatar Jun 21 '19 10:06 ghost

I followed these steps to solve the problem in Linux Mint 19.1:

  • Uninstall Atom;
  • Uninstall xterm by terminal;
  • Install xterm by terminal sudo apt-get install xterm;
  • Install the atom through the official repository, quoted by @scaforchio

The problem has been solved for me.

Hey I have the same issue in KDE,It used to work perfectly with console but now asks for xterm,I don't want xterm,I wan't to use konsole.What should I do?

nvm fixed it,If anyone's facing the same problem,

Hey,The simple fix is to Get to settings>Packages Search "gpp-compiler" >click "settings" and select default console as konsole or whatever you're using,Have a good day родной брат

ghost avatar Jun 21 '19 11:06 ghost

I followed these steps to solve this problem in ubuntu Linux.

  1. install atom
  2. install gcc
  3. install xterm (sudo apt-get install xterm)

shjung-kr avatar May 09 '20 09:05 shjung-kr

"sudo apt-get install xterm" worked for me. Thanks guys

airleeky avatar Jun 29 '20 11:06 airleeky

Edit index.js file on your local computer. Just in xterm using following command: sudo apt-get install xterm Or follow these steps for perfect solution:

  1. Open Atom > goto Installed Packages > select gpp-compiler >> click on View Code.
  2. A new Atom editor will open with files of gpp-compiler on your local computer.
  3. open index.js file and search for "xterm" and replace it with the name of your default terminal (depends on Linux version you're using).
  4. List of supported terminals:
 "XTerm",
        "GNOME Terminal",
        "Konsole",
        "xfce4-terminal",
        "pantheon-terminal",
        "URxvt",
        "MATE Terminal"

Note: I replaced "xterm" with "xfce4-terminal" which is default terminal of my Linux (MX Linux) and it worked fine. Happy coding :smile:

genialkartik avatar Aug 19 '20 12:08 genialkartik

sudo apt-get install xterm is work for me

himanshuagarwl avatar Sep 07 '20 07:09 himanshuagarwl