Change default app. -

Bob Goodwin - Zuni, Virginia, USA bobgoodwin at wildblue.net
Thu Sep 27 19:12:15 UTC 2012


On 27/09/12 14:01, Sergio types:
>
> 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 at box9 ~]$ cat .local/share/applications/mimeapps.list
        [Default Applications]
        text/html=vlc.desktop
        video/quicktime=vlc.desktop

        [Added Associations]
        text/html=vlc.desktop;

    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 at 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 at 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



-- 
http://www.qrz.com/db/W2BOD

box9



More information about the users mailing list