[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-xdg
Subject:    Re: a standard for the user's default terminal
From:       Kevin Krammer <kevin.krammer () gmx ! at>
Date:       2006-10-23 18:59:44
Message-ID: 200610232059.52815.kevin.krammer () gmx ! at
[Download RAW message or body]


On Monday 23 October 2006 20:46, Jaap Karssenberg wrote:
> Kevin Krammer wrote:
> ... 8< ...
>
> > If somebody can find a way to GNOME and XFCE I'll write the xdg-utils
> > wrapper script
>
> Looking at an RC for xfce 4.4 here.
>
> Xfce has a directory called "share/xfce4/helpers/" which contains
> desktop entry files for commonly used terminals, browsers and email
> apps. These entries contain extra keys like X-XFCE-Category=WebBrowser
> or X-XFCE-Category=TerminalEmulator .
>
> Then there is a file called ".config/xfce4/helpers.rc" which in my case
> looks like:
>
> 	WebBrowser=firefox
> 	MailReader=thunderbird
>
> So I assume the categories are used to generate a list with applications
> for the "Preferred Applications" setting dialog where you can configure
> these apps and the helpers.rc file just names the desktop entries to use.
>
> Must say that this looks like a very good use of desktop entry files to
> me. Very simple and elegant.
>
> I'm just an Xfce user, not a developer.

Thanks, that helped to look into the right directions :)

Its actually very easy on XFCE:

exo-open --launch TerminalEmulator

Cheers,
Kevin

-- 
Kevin Krammer, KDE developer, xdg-utils developer
KDE user support, developer mentoring

[Attachment #3 (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic