Kulture icon indicating copy to clipboard operation
Kulture copied to clipboard

Run K Commands: gnome-terminal not found

Open markrendle opened this issue 9 years ago • 3 comments

I'm running Sublime on ElementaryOS 0.3 Beta 1, and when I tried to run k mon from Run K Commands I got a message box saying "Terminal: The terminal gnome-terminal was not found".

I've installed it from apt-get and everything is fine, but it seems like an odd dependency.

markrendle avatar Jan 27 '15 11:01 markrendle

I have an outstanding pr which I need to merge at https://github.com/OmniSharp/Kulture/pull/20. Will that solve your problem?

sayedihashimi avatar Jan 27 '15 22:01 sayedihashimi

This looks like a different problem. The code assumes that if you are running a gnome session, then you have gnome-terminal installed https://github.com/OmniSharp/Kulture/blob/0f30a8ce89debda1477bd276224e6415690bafc2/Kulture.py#L87

It's probably a reasonable assumption, but ElementaryOS is quite obscure!

I think the code should probably check if the terminal actually exists. xterm is pretty much ubiquitous on linux, but as it's pretty basic, it should be used only as a fallback.

I use urxvt for what it's worth :)

nosami avatar Jan 27 '15 23:01 nosami

Thanks @nosami I have marked it as help-wanted if we get a PR I may ask you to review it.

sayedihashimi avatar Jan 31 '15 19:01 sayedihashimi