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

List:       freedesktop-xdg
Subject:    Re: Opening default filemanager (was: xdg Digest, Vol 31, Issue 10)
From:       Kevin Krammer <kevin.krammer () gmx ! at>
Date:       2006-10-17 22:13:39
Message-ID: 200610180013.43583.kevin.krammer () gmx ! at
[Download RAW message or body]


On Tuesday 17 October 2006 23:45, Marcos wrote:
> Hello!
>
> KDE, XFCE and GNOME, for example, are window managers which contain a file
> manager. Unfortunatelly, as far as I know, there is no standard way to know
> which is the users default file manager. That means
> a) the user can not change his file manager without changing his window
> manager (not that bad) b) no application can implement a "open folder in
> default file manager" function in a standar way ( complete disaster)

xdg-open /path/to/directory

> A much simpler way to solve this problem is to have the default file
> manager as the default program to open the inode/directory (or anything
> like that). By doing so, opening a directory would be as simple as opening
> any file, and any program would be able to use such feature, just by using
> the xdg-mime library!

Open a directory is like opening a file with xdg-open

Since xdg-open calls the desktop environments commandline tool for launching 
the default handler application, it _does_ already use the desktop's 
assocation for inode/directory
(at least kfmclient does for KDE, but I assume gnome-open and exo-open 
actually do the same)

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