Re: How to start a filemanager in Gtk2 "the proper way"
- From: Chris Angelico <rosuav gmail com>
- Cc: "gtk-app-devel-list gnome org" <gtk-app-devel-list gnome org>
- Subject: Re: How to start a filemanager in Gtk2 "the proper way"
- Date: Sat, 8 Feb 2014 19:40:04 +1100
On Sat, Feb 8, 2014 at 7:33 PM, Emmanuele Bassi <ebassi gmail com> wrote:
on Linux you can use the `xdg-open` command[1] (it should be available
on any reasonably modern distribution as part of the cross-desktop
utilities[0]). you can use xdg-open to open any file or URI you pass
to it with the correct application for the file's MIME type; if that
path is a directory, then the default action is to open a file manager
window.
Available, maybe, but not necessarily installed. It wasn't on several
of my Debian systems.
ChrisA
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]