On Sun, May 05, 2013 at 10:14:29PM +0000, Beartooth wrote: > On Mon, 06 May 2013 00:03:58 +0200, Suvayu Ali wrote: > > > On Sun, May 05, 2013 at 09:32:08PM +0000, Beartooth wrote: > >> On Sun, 05 May 2013 08:54:54 +0200, Suvayu Ali wrote: > >> > >> > What does the following say? > >> > > >> > $ xdg-mime query default text/html > >> > > >> > It should give you the desktop file for Chrome. Change it to the > >> > desktop file for Chromium with something like the following. > >> > > >> > $ xdg-mime default <chromium_desktop_file> text/html > >> > >> OK, I have a doubtless Very Dumb Question (VDQ) to the general > >> case : if I want to change it to, say, Dillo (or Opera, or Midori, > >> or ...), where do I look for this <generic-desktop-file> text/html, and > >> how do I recognize it when I find it? I don't see any candidates where > >> I can think of to look, but maybe I wouldn't. > > > > $ rpm -ql google-chrome-beta midori firefox | grep desktop > > /opt/google/chrome/google-chrome.desktop > > /usr/share/applications/fedora-midori.desktop > > /usr/share/applications/midori-private.desktop > > /usr/share/applications/firefox.desktop > > > > Does this help? > > Hmmm.... Ver-r-ry interessttingg : > > [btth@Hbsk3 ~]$ xdg-mime query default text/html > firefox.desktop > [btth@Hbsk3 ~]$ rpm -ql google-chrome-beta midori firefox | grep desktop > /usr/share/applications/fedora-midori.desktop > /usr/share/applications/midori-private.desktop > /usr/share/applications/firefox.desktop > > I have neither chrome nor chromium installed, so I also tried : > > [btth@Hbsk3 ~]$ rpm -ql google-chrome-beta arora dillo | grep desktop > /usr/share/applications/fedora-arora.desktop > /usr/share/applications/fedora-dillo.desktop > > Then I substituted, but got a surprise : > > [btth@Hbsk3 ~]$ xdg-mime default </usr/share/applications/fedora- > dillo.desktop> text/html When I said <desktop_file>, it was a place holder for the name of the desktop file. The above command should have been: $ xdg-mime default fedora-dillo.desktop text/html Hope this helps, -- Suvayu Open source is the future. It sets us free. -- users mailing list users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org