Marcos wrote:
> Hi!

Hello Marcos,

> I am developing a program which eventually needs to open directories on the 
> user's default window
> manager. Does anybody know how to do that ? How can I find out if the user 
> prefers Thunar,
> Nautillus, Konqueror or anything else ?

If xdg-utils are installed (which should be the case for a decent
system), you can use

 xdg-open file:///path/to/dir

to open the default file manager with the given directory. Be sure to
pass a valid URI however.

> Thanks
> Marcos Diez

Benedikt
_______________________________________________
Thunar-dev mailing list
Thunar-dev@xfce.org
http://foo-projects.org/mailman/listinfo/thunar-dev

Reply via email to