Re: Change default app. -

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

 



> > 
> > That survives a reboot as it's a setting for your
> user.
> > 
> > It's probably registered in
> ~/.local/share/applications/mimeapps.list
> 
>    Ok, this is what I see:
> 
>        [bobg@box9 ~]$ cat
> .local/share/applications/mimeapps.list
>        [Default Applications]
>        text/html=vlc.desktop  <<<< delete this
>        video/quicktime=vlc.desktop
> 
>        [Added Associations]  <<<< delete this
>        text/html=vlc.desktop;   <<<< delete this
> 

You can delete those lines I pointed.

>    But in the other computer [box7] there is
> no
>    .local/share/applications/  and
> xdg-mime does not work. It will not
>    run as root either.
> 
>        [bobg@box7 ~]$ ll
> .local/share
>        total 80
>        drwxr-xr-x. 3 bobg
> bobg  4096 Sep  9 12:13 font-manager
>        drwx------. 3 bobg
> bobg  4096 Aug  7 19:34 gegl-0.2
>        drwx------. 3 bobg
> bobg  4096 Aug  7 18:06 gnote
>        drwx------. 2 bobg
> bobg  4096 Sep 16 08:36 gvfs-metadata
>        -rw-------. 1 bobg bobg
> 49262 Sep 27 14:47 recently-used.xbel
>        drwx------. 4 bobg
> bobg  4096 Aug 10 11:04 Trash
>        drwx------. 2 bobg
> bobg  4096 Aug  8 13:33 vlc
>        drwx------. 3 bobg
> bobg  4096 Sep 16 01:36 zeitgeist
> 
>    No applications directory.
> 
> 
>        [bobg@box7 ~]$ xdg-mime
> default vlc.desktop video/quicktime
>        touch: cannot touch
>    
>    `/home/bobg/.local/share/applications/mimeapps.list':
> No such
>        file or directory
>        /bin/xdg-mime: line 804:
>    
>    /home/bobg/.local/share/applications/mimeapps.list.new:
> No such
>        file or directory
> 
>    Both computer should be set up the same
> but obviously they are not.
> 
>    Any idea what I have to do there?
> 
>    Bob
> 

xdg-mime isn't supposed to be run as root, IIRC.
Try manually creating the applications directory and an empty mimeapps.list
-- 
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


[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