Public bug reported: Binary package hint: libgnome2-0
This is on Ubuntu Intrepid (8.10), using version 2.24.1-0ubuntu4 of libgnome2-0. "gnome-open" opens a file with the application specified for the corresponding MIME type. This application can be changed by the user in Nautilus (right click, "Properties", "Open with"). Such a change takes effect only for the respective user - thus, it won't affect e.g. root. This becomes problematic when a file should be opened with root privileges, via "gksudo gnome-open". In this case, the default application (not necessarily the one specified by the invoking user) is started. While this behaviour is appropriate in general, there should be a way to explicitly, but automatically, open the user's preferred application. An easy way to achieve this would be to call "gksudo -k gnome-open" and have gnome-open look at the value of $HOME to decide whether to start the user-defined application or the global default for the MIME type in question. (The "-k" flag tells gksudo to preserve the environment of the invoking user. In my opinion, this should include the applications specified for handling MIME types.) ** Affects: libgnome (Ubuntu) Importance: Undecided Status: New ** Tags: gksudo gnome-open mime sudo -- "gnome-open" and "gksudo -k gnome-open" should open the same application https://bugs.launchpad.net/bugs/307149 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to libgnome in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs