Re: Spec to define the default terminal?

2015-10-20 Thread Thomas Gläßle
Jerome Leclanche wrote on 10/20/2015 01:21 PM: > This is something I tried solving quite a few times. There was an > intents spec (a la android) in the works I assume you are referring tot (sorry, I didn't do my homework earlier): http://lists.freedesktop.org/archives/xdg/2014-January/013068.htm

Re: Spec to define the default terminal?

2015-10-20 Thread Bastien Nocera
On Tue, 2015-10-20 at 14:57 +0200, Per Olofsson wrote: > > > - not sure what desktop environments are doing in their code base, > > maybe > > hardcoding their own terminals > > Many use gsettings or config files. > > Apparently GNOME removed the UI for choosing terminal so you have to > use >

Re: Spec to define the default terminal?

2015-10-20 Thread Per Olofsson
Hi, Den 2015-10-20 12:23, Thomas Gläßle skrev: - xdg-open does not know how to spawn terminals (leading to the application aborting or even worse: suppressed output) Only in generic mode. When running under a desktop environment xdg-open calls e.g. gvfs-open, kde-open5, exo-open. In that case

Re: Spec to define the default terminal?

2015-10-20 Thread Vladimir Kudrya
x-terminal-emulator is used in Debian as a part of 'alternatives' symlink system. And IMHO it works pretty well. Option 3 looks more promising though, because it can solve the problem of different exec arguments for different terminals and can be overridden on user-level. But yes, mime type i

Re: Spec to define the default terminal?

2015-10-20 Thread Jerome Leclanche
This is something I tried solving quite a few times. There was an intents spec (a la android) in the works which was subsequently picked up by GNOME, I don't know where it's at now but it's the more correct fix. On 20 October 2015 at 13:37, Thomas Gläßle wrote: > > Thomas Gläßle wrote on 10/20/20

Re: Spec to define the default terminal?

2015-10-20 Thread Thomas Gläßle
Thomas Gläßle wrote on 10/20/2015 12:23 PM: > 1 a) invent a new variable e.g. $TERMINAL or similar that works like > $BROWSER, i.e. something of the form TERMINAL=urxvt:gnome-terminal:xterm > > 1 b) invent a new variable e.g. $TERMINAL or similar that works like the > one used by mimeopen, i.e. TE

Spec to define the default terminal?

2015-10-20 Thread Thomas Gläßle
Hello freedesktop.org, This is a follow up on a bug to xdg-utils about xdg-open not spawning terminals for .desktop files with Terminal=true entry [1]. Rex Dieter suggested to start a discussion here before taking further steps. [1] https://bugs.freedesktop.org/show_bug.cgi?id=92514 To summariz