You are reading a single comment by @hugo7 and its replies. Click here to read the full conversation.
  • Cariodock isn't opening my folders and I'm trying to fix it.

    It seems to be a bug:

    The dock doesn't launch the right files manager, images viewer, etc.

    The dock doesn't directly launch these applications, it uses GVFS to do that: e.g. if you have a problem with the files manager, you should be able to reproduce this "bug" by launching this command:

    gvfs-open file:///
    

    Gvfs links a 'mimetype' with a launcher (.desktop file): e.g. for files manager:

    gvfs-mime --query inode/directory
    

    Now you've 3 choices:

    use another application:

    mimeopen -d .
    

    (or edit this file:

    ~/.local/share/applications/mimeapps.list
    

    )
    create a new .desktop file (in

    ~/.local/share/applications/
    

    ; you can find a lot of examples in /usr/share/applications/) with the command that you want to use and then use (for the files manager):

    gvfs-mime --set inode/directory your_new_launcher.desktop
    modify the .desktop file that is currently used with the command that you want to use 
    

    If you still have this bug or if mimeopen or gvfs-mime don't work (e.g. on KDE) it's maybe because gvfs is not well supported. Please report a bug to both kde and gvfs maintainers of your distribution.

    What I am struggling to work out is how to create a .desktop in the

    ~/.local/share/applications/
    

    which actually opens the / or /home.

    I'd like to stick to Cairo as Plank is too simple and I uninstalled Docky as it kept fucking up - so I may as well use Cairo.

  • So what did gvfs-mime --query inode/directory give you? Does it point to a reasonable-looking .desktop file? Does the file manager command from that file work when you run it directly?

    If not, try to find any /usr/share/applications/*.desktop files that do successfully launch the file manager you want.

    If you can't find anything there, check you can run the file manager from the command line, modify an existing .desktop file to do the same thing, and then set gvfs to use that .desktop file for mimetype inode/directory.

About

Avatar for hugo7 @hugo7 started