Re: Does Gnome ignore xdg-settings?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2017-07-21 at 21:06 +0800, Ed Greshko wrote:
> On 07/21/17 19:16, Patrick O'Callaghan wrote:
> > If we can narrow it down I'll be happy to
> > report it to BZ.
> 
> 
> OK.... Now I have it working fine starting from a "virgin" user.
> 
> [egreshko@f26-rc15k ~]$ default-browser-firefox
> [egreshko@f26-rc15k ~]$ show-default
> firefox.desktop
> firefox.desktop
> firefox.desktop
> [egreshko@f26-rc15k ~]$ default-browser-chrome
> [egreshko@f26-rc15k ~]$ show-default
> google-chrome.desktop
> google-chrome.desktop
> google-chrome.desktop
> [egreshko@f26-rc15k ~]$ default-browser-opera
> [egreshko@f26-rc15k ~]$ show-default
> opera.desktop
> opera.desktop
> opera.desktop
> 
> Can you check your user's directory structure to see if you have multiple
> mimeapps.list files?
> 
> [egreshko@f26-rc15k ~]$ locate mimeapps.list
> /home/egreshko/.config/mimeapps.list
> /usr/share/applications/gnome-mimeapps.list
> /usr/share/applications/kde-mimeapps.list
> /usr/share/applications/mimeapps.list

$ ls -l `locate mimeapps.list`          
-rw-rw-r--. 1 poc  poc    858 Jul 21 00:42 /home/poc/.config/mimeapps.list
-rw-------. 1 poc  poc    631 Feb 16  2016 /home/poc/.kde/share/config/mimeapps.list
-rw-rw-r--. 1 poc  poc    784 May 14  2016 /home/poc/.local/share/applications/mimeapps.list
-rw-rw-r--. 1 poc  poc      0 Oct  8  2015 /home/poc/.local/share/mimeapps.list
-rw-r--r--. 1 root root 13630 Jul 21 11:15 /usr/share/applications/gnome-mimeapps.list
-rw-r--r--. 1 root root  8565 Apr 20 13:37 /usr/share/applications/kde-mimeapps.list
-rw-r--r--. 1 root root 13634 Feb 12 00:47 /usr/share/applications/mimeapps.list
-rw-r--r--. 1 root root   906 May 10 09:35 /usr/share/gdm/greeter/applications/mimeapps.list

> Whenever I issue a xdg-settings command /home/egreshko/.config/mimeapps.list gets
> altered.  During my earlier testing I had a
> /home/egreshko/.local/share/applications/mimeapps.list file which I think may have
> been screwing the checking being done.

There are a couple of things under ~/.local which possibly shouldn't be
there. I moved them aside and tried again, after running update-
desktop-database. No difference. Did the same but with the one under
.kde/share/... Same story.

I finally did a manual edit on ~/.config/mimeapps.list, ran the
updater, and now it works.

Interestingly, the gnome-control-center app now shows Opera as an
option, which it didn't before.

I suspect the other files are holdovers from previous versions, as I
always just update my system and have been doing so for years. None of
them have been recreated after logging out and in again, so I assume
they are surplus to requirements. Would it be too much to expect a
warning message when obsolete config files are found?

Thanks for your diligence Ed. Many kudos points. I'm not sure where to
report this or even if it will be recognised as a bug rather than just
spectacularly bad UI design.

poc
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux