blueimp / atom-open-terminal-here

Open the Terminal (Mac OS X, Linux) or Command Prompt (Windows) in the given directory via context menu or keyboard shortcut in the Atom text editor.
https://atom.io/packages/open-terminal-here
MIT License
47 stars 20 forks source link

Does not work on Linux Mint 18.3 Sylvia x64 Cinnamon #22

Closed smuroff closed 5 years ago

smuroff commented 6 years ago

OS: Mint 18.3 Sylvia x64 with Cinnamon Atom: 1.24.0 x64

Open-Terminal-Here package doesn't work at all (xdotool exists).

blueimp commented 6 years ago

xdotool is not required, since it's only used in the optional provided script for the "opening in new tab" option.

Does the x-terminal-emulator command exist on your platform? And if not, which command does your platform provide to open a terminal?

smuroff commented 6 years ago

Does the x-terminal-emulator command exist on your platform?

Yeah, sure.

And if not, which command does your platform provide to open a terminal?

ctrl + alt + t as default.

blueimp commented 6 years ago

On Linux, this project simply calls x-terminal-emulator: https://github.com/blueimp/atom-open-terminal-here/blob/master/index.coffee#L54

It does this with a relative directory set to the desired one: https://github.com/blueimp/atom-open-terminal-here/blob/master/index.coffee#L46

If you have time you could try if you can reproduce the issue with doing the same thing with NodeJS directly, or having a go at debugging this project itself.

blueimp commented 5 years ago

@pr0minence, did you solve the problem?