• wvstolzing@lemmy.ml
        link
        fedilink
        arrow-up
        16
        ·
        edit-2
        10 months ago

        Putting the following with executable permissions inside ~/.local/share/nautilus/scripts/SCRIPTNAME adds a right click menu to Nautilus that serves the same purpose:

        #!/bin/bash
        
        CLIPBD=''
        [[ "${XDG_SESSION_TYPE}" == "x11" ]] && CLIPBD='xsel -ib'
        [[ "${XDG_SESSION_TYPE}" == "wayland" ]] && CLIPBD='wl-copy --trim-newline' && wl-copy --clear
        
        echo -n "${NAUTILUS_SCRIPT_SELECTED_FILE_PATHS}" \
          | tee >(xargs -I {} notify-send "Path Copied:" "{}") \
          | ${CLIPBD}
        

        The ‘notify-send’ bit isn’t necessary; it just puts up a notification.

        Mentioning only because it’s a simple demonstration of a pretty easy way to extend Nautilus for all kinds of purposes; w/o messing around with the pygobject interface. (There’s supposed to be an xdg standard for file manager extensions like this, but managers use their own custom folders, syntax, etc. for such extensions. I think pcmanfm adheres to the standard; Dolphin requires a .desktop file somewhere; Thunar, Caja, & Nemo work similar to Nautilus.)

      • infeeeee@lemm.ee
        link
        fedilink
        arrow-up
        9
        ·
        edit-2
        10 months ago

        Yes, Gnome is context aware if you ctrl+c a an image file, and you paste it to a text editor it will paste it as a path, if you paste it in an image editor it will be pasted as an image, if the program supports it (e.g. it works in Krita, but not in Pinta)

        Drag and drop is not working because of Wayland. Between 2 windows of the same app, e.g. Nautilus it’s working.

          • infeeeee@lemm.ee
            link
            fedilink
            arrow-up
            1
            ·
            9 months ago

            Which apps? Are you sure they are not xwayland? I cannot dnd anything from FileRoller or from Xarchiver

            • AProfessional@lemmy.world
              link
              fedilink
              English
              arrow-up
              1
              ·
              edit-2
              9 months ago

              I never drag anything into Nautilus, but Nautilus -> gnome-text-editor works as expected. Nautilus -> My terminal, and my video player works too.

        • Fushuan [he/him]@lemm.ee
          link
          fedilink
          English
          arrow-up
          1
          ·
          9 months ago

          Cool, it pastes it as an image in telegram, I would need to use a text editor as a proxy. Gnome is not context aware enough to read my brain to know the intent, having the choice to be explicit (copy path) is just better.

    • sv1sjp@lemmy.world
      link
      fedilink
      English
      arrow-up
      11
      ·
      10 months ago

      ++ as well as searching on a folder simply by the first letter, without searching everywhere

      • galmuth@feddit.uk
        link
        fedilink
        arrow-up
        12
        arrow-down
        1
        ·
        10 months ago

        They intentionally removed this feature years ago. It was possible to reenable via a dconf setting for a while but I believe that was also eventually removed.
        So annoying.

        • drz@lemmy.ca
          link
          fedilink
          arrow-up
          7
          ·
          10 months ago

          It’s absolutely insanity that this feature was removed. I stopped using Nautilus because of this.

          • Pantherina@feddit.de
            link
            fedilink
            arrow-up
            7
            arrow-down
            1
            ·
            edit-2
            9 months ago

            Agree. I can understand GNOME not supporting infinite settings and customization, but since when are Linux users noobs?

            People using GNOME either never edited a Desktop entry, entered a manual path or did anything poweruser related, or they use 3rd party apps or do everything in the terminal.

            I dont get how a Linux Desktop can have so little support for anything.

            Needing extensions to restore basic features is not good UX. Like a clipboard manager, blurry shell, appindicators? Why?

            • Fushuan [he/him]@lemm.ee
              link
              fedilink
              English
              arrow-up
              2
              ·
              9 months ago

              The only reason I use gnome is because the window dragging has a weird flicker with KDE and nvidia cards. In gnome it’s way smoother. That and the pressing the super button for the fancy window animation, that one is really nice. I could live without the fancy animation (or with whatever KDE replacement that I’m sure it’s good enough) if the driver issue wasn’t a thing, though.

              • Pantherina@feddit.de
                link
                fedilink
                arrow-up
                2
                ·
                9 months ago

                Yes KDE has something similar and you can remap it with a command. TheLinuxExperiment had this for krunner once, its probably possible.

                GNOME is really nice in what it does. Simply that it doesnt do enough for me. There are cool extensions and I feel the community is just way bigger. The animations, dash to panel, blur my shell, make it very cool.

                Just the lack of so much like powerful apps is a nogo

    • SuperSpruce@lemmy.zip
      link
      fedilink
      arrow-up
      4
      ·
      9 months ago

      Luckily if you need that feature, you can just download a different file manager. This is why I hate monopolies and love Linux and the FOSS community.

        • SuperSpruce@lemmy.zip
          link
          fedilink
          arrow-up
          1
          ·
          9 months ago

          It’s not just file managers that enjoy monopolies though. Often there is an industry standard software that people are essentially locked into, like Adobe. It seems like they’re pushing unwanted features lately, but people have to just suck it up.

  • 1984@lemmy.today
    link
    fedilink
    arrow-up
    9
    arrow-down
    5
    ·
    10 months ago

    It’s really slow progress on these things. Someone should make a better file browser with features like Dolphin for Gnome.

      • Pantherina@feddit.de
        link
        fedilink
        arrow-up
        1
        ·
        edit-2
        9 months ago

        Both hell no. I think pcmanfm-qt is the only good Filemanager apart Dolphin and Nautilus. But it also lacks many things.

        The “type to filter” feature is awesome and way more useful than dolphins search.

        I used it during a time where Dolphin always crashed for weird reasons, and it was tolerable

  • poinck@lemm.ee
    link
    fedilink
    arrow-up
    4
    arrow-down
    6
    ·
    10 months ago

    This website consists only of ads, why bother sharing it?

      • poinck@lemm.ee
        link
        fedilink
        arrow-up
        1
        ·
        9 months ago

        I wish Mlem would just open it in the DuckDuckGo browser, there some content can be seen, but it is very busy blocking it all.

        But, it still stands, it is just too much, this page is just completely broken!