Common call for launching file browser

Derek Broughton derek at pointerstop.ca
Thu Mar 12 14:55:39 UTC 2009


Brian McKee wrote:

> On Thu, Mar 12, 2009 at 4:30 AM, Alain Muls <alain.muls at telenet.be> wrote:
>> Hi All
>>
>> I work in a team (windows and linux) which develop programs using Qt for
>> both systems. One of the windows team has created a functionality which
>> opens the file browser (explorer) to browse through files. She uses
>>
>> explorer c:\mydir
>>
>> What is a linux equivalent for doing a similar thing that will work in
>> both KDE and GNOME (and perhaps also XFCE or other window managers)?
> 
> Try xdg-open

Glad you could remmber it.  I knew it existed.
> 
> see http://portland.freedesktop.org/wiki/ for more info.  I don't know
> how widely adopted this is currently
> 
> (in other words, I know it works on Gnome - I'll leave the testing of
> the others to you :-)

If you look at the code, you'll see it's written for Gnome, KDE and XFCE -
and I can attest it works for KDE.
-- 
derek





More information about the ubuntu-users mailing list