[Thunar-dev] How to open folders (from a separated app)
Benedikt Meurer
benedikt.meurer at unix-ag.uni-siegen.de
Sat Oct 28 13:45:32 CEST 2006
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
More information about the Thunar-dev
mailing list