GithubHelp home page GithubHelp logo

Comments (6)

Jo-Blade avatar Jo-Blade commented on June 12, 2024

Same issues here.

  • recently-used.xbel and monitors.xml don't work when bind-mount by the module. But in general, mounting single files cause a lot of issues because programs tried to make copies for example so I am not really surprised.
  • .local/share/Trash does not work with nautilus at all when using a symbolic link: files does not appear in trash and I can't put new files in trash. When using bind-mount, I can see files inside ~/.local/share/Trash inside the nautilus bin, but I can't add new files in the bin from nautilus. I can't figure why but it is very frustating…
  • .config/gnome-initial-setup-done works, but is actually useless because gnome do not use this file to remove Welcome to GNOME popup but a dconf key the good solution is adding this inside home-manager :
    dconf.settings = {

      # Désactiver la popup de bienvenue de Gnome
      "org/gnome/shell" = {
        welcome-dialog-last-shown-version = "999"; # prevent popup until gnome version 999 :)
      };

    };

from impermanence.

maydayv7 avatar maydayv7 commented on June 12, 2024

Additionally, Trash support in Nautilus seems broken when bindmounting the .local/share/Trash directory.

The FreeDesktop Specification mentions that the ~/.local/share/Trash directory mustn't be a symbolic link in order to be used as intended. To preserve it's functionality, I've been using this workaround instead of persisting that directory using impermanence

Also note that this is not a GNOME-specific issue

(user.homeConfig --> home-manager.users.$USER)

from impermanence.

MordragT avatar MordragT commented on June 12, 2024

@maydayv7 thanks for sharing your workaround. I am wondering is this also working for you when deleting files within bind mounted directories (in Home) ? Because I believe I have read somewhere that nautilus (or more specifically gvfs) will not move files across different filesystems to put them into trash. I would have thought that then nautilus will just create .Trash dirs inside each bindmount root but that does not seem to be the case atleast on my machine. I have tried different file managers and only dolphin does that described behaviour.

from impermanence.

maydayv7 avatar maydayv7 commented on June 12, 2024

I am wondering is this also working for you when deleting files within bind mounted directories (in Home) ?

This is not the same issue as above

I would have thought that then nautilus will just create .Trash dirs inside each bindmount root

Yes, it will try creating a .Trash folder in the topmost mount directory, and might fail due to insufficient permissions. Try using gio trash /path/to/file/to/delete and see if it throws an error.

from impermanence.

MordragT avatar MordragT commented on June 12, 2024

It seems like glib has a Bug which is why trashing files from within bind mounts is not working.
This seems to be the related issue https://gitlab.gnome.org/GNOME/glib/-/issues/1885

from impermanence.

maydayv7 avatar maydayv7 commented on June 12, 2024

Oh okay, in my case I mount ZFS datasets to something like /data and trashing works perfectly with any gvfs-based file managers (once permissions are sorted)

from impermanence.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.