Nautilus File Manager Gets More Features Ahead of the GNOME 46 Release - 9to5Linux (9to5linux.com)
from BlanK0@lemmy.ml to linux@lemmy.ml on 29 Jan 2024 18:07
https://lemmy.ml/post/11212153

#linux

threaded - newest

QuazarOmega@lemy.lol on 29 Jan 2024 18:25 next collapse

Cool, but is copy path to file a thing yet?

BlanK0@lemmy.ml on 29 Jan 2024 18:29 next collapse

Not sure 🤔, I have been using a lot ranger lately

QuazarOmega@lemy.lol on 30 Jan 2024 00:15 next collapse

Ranger is amazing, I never thought to use it as my default file manager

yianiris@kafeneio.social on 30 Jan 2024 00:47 collapse

worker sucks less

@QuazarOmega @BlanK0

QuazarOmega@lemy.lol on 30 Jan 2024 01:24 collapse

This Worker? That’s interesting, though it’s not really to my taste

beeng@discuss.tchncs.de on 30 Jan 2024 01:50 collapse

Try “lf”. It’s ranger written in go. == lots faster.

BlanK0@lemmy.ml on 30 Jan 2024 11:43 collapse

Although it doesn’t have as many features out of the box, you have to setup some stuff.

sv1sjp@lemmy.world on 29 Jan 2024 18:41 next collapse

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

Doods@infosec.pub on 29 Jan 2024 19:10 next collapse

++ Compact view (as Nemo calls it)

galmuth@feddit.uk on 29 Jan 2024 19:55 collapse

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 on 29 Jan 2024 20:58 collapse

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

Pantherina@feddit.de on 30 Jan 2024 12:21 collapse

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@lemm.ee on 31 Jan 2024 21:23 collapse

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 on 31 Jan 2024 22:29 collapse

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

[deleted] on 29 Jan 2024 19:22 next collapse

.

infeeeee@lemm.ee on 29 Jan 2024 20:06 next collapse

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.

AProfessional@lemmy.world on 30 Jan 2024 13:44 next collapse

DnD works fine here on Wayland?

infeeeee@lemm.ee on 30 Jan 2024 13:50 collapse

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

AProfessional@lemmy.world on 30 Jan 2024 13:56 collapse

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

fushuan@lemm.ee on 31 Jan 2024 21:26 collapse

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.

walthervonstolzing@lemmy.ml on 29 Jan 2024 20:13 collapse

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.)

lefaucet@slrpnk.net on 30 Jan 2024 06:50 collapse

Bad ass! Thank you for this wisdom

RoboRay@kbin.social on 29 Jan 2024 21:56 next collapse

Copy the file and paste it into anywhere you can enter text... you get the path to the file as text.

QuazarOmega@lemy.lol on 30 Jan 2024 00:20 next collapse

I should try that thanks!
Though I still believe that UX would benefit from such a button, there’s a Nautilus extension for it as well chr314/nautilus-copy-path, I think it deserves to be native

Pantherina@feddit.de on 30 Jan 2024 12:18 collapse

Yay, basic features needing weird workarounds!

Edit: it seems like it, but we were wrong. You dont need a filepath, you can literally copy the file and paste it to a

  • Browser
  • Terminal
  • Editor

Can someone give me a situation where you cant paste a file and it inserts the filepath instead?

warmaster@lemmy.world on 30 Jan 2024 13:44 collapse

I’m on KDE, how does KDE do it better?

WeLoveCastingSpellz@lemmy.dbzer0.com on 30 Jan 2024 14:10 collapse

On dolphin, you right click on it and than there is “copy path to file” button

warmaster@lemmy.world on 30 Jan 2024 16:34 collapse

How is it better if you are going to paste it anyway? I mean, on GNOME you would have to just copy the file, instead of the two clicks on KDE.

Am I missing something?

Pantherina@feddit.de on 30 Jan 2024 17:41 next collapse

This works in Dolphin/KDE too, actually same workflow as on Windows. I just find it very strange to do that, but as you are saying that, I suppose as on Unix everything is a file, copying a file to a location that cant handle the file is just like copying the filepath!

Boom, blew my silly KDE mind. I think you are right, in most situations you can just copy-paste the actual file, as you only need file paths where the file cannot be pasted anyways.

fushuan@lemm.ee on 31 Jan 2024 21:19 collapse

This might work sometimes, but some other times you are dealing with a program that deals in files and text and you want the path itself, for example, to send the path of a file in a shared mounted disk to a colleague/friend through slack /discord/telegram/teams. All of those will try to send the file itself instead of the path I would want to send.

Furthermore, idk how that interacts within a VM environment, for example when you have a work computer and you need to connect into a gnome based remote desktop environment, will the shared clipboard act nicely? That’s way too many variables and prone to errors, an option to copy path is just simpler.

Pantherina@feddit.de on 31 Jan 2024 22:30 collapse

True. I suppose this is a useful feature

fushuan@lemm.ee on 31 Jan 2024 21:16 collapse

If for some reason you paste a file in telegram/slack/discord/teams, it tries to send the file, so I have no way of sending the path to the file (which might be on a shared device) to someone unless I paste it in a text editor first and then copy the text.

warmaster@lemmy.world on 02 Feb 2024 00:53 collapse

That’s a very logical use case. Are there any keyboard modifiers you could use? Maybe pasting with CTRL+SHIFT+V for example?

SuperSpruce@lemmy.zip on 31 Jan 2024 00:41 collapse

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.

morrowind@lemmy.ml on 31 Jan 2024 08:11 collapse

Aside from ios, I don’t know of anywhere that has a monopoly on file managers

SuperSpruce@lemmy.zip on 31 Jan 2024 13:05 collapse

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 on 29 Jan 2024 19:13 next collapse

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

leopold@lemmy.kde.social on 30 Jan 2024 06:09 collapse

Nemo? Thunar?

1984@lemmy.today on 30 Jan 2024 06:27 next collapse

No. :) Those are even less full featured than nautilus.

dukatos@lemm.ee on 30 Jan 2024 07:12 next collapse

Thunar is a way, way better…

mlg@lemmy.world on 30 Jan 2024 07:27 collapse

My dude nautilus didn’t even have its own open in terminal button until 2022.

Pantherina@feddit.de on 30 Jan 2024 12:22 collapse

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

baduhai@sopuli.xyz on 31 Jan 2024 11:00 collapse

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

Dolphin has a filter feature, in addition to its search.

Pantherina@feddit.de on 31 Jan 2024 12:26 collapse

Maybe that can be remapped somehow

baduhai@sopuli.xyz on 31 Jan 2024 12:34 collapse

It can, all shortcuts on Dolphin are remappable.

poinck@lemm.ee on 29 Jan 2024 19:42 collapse

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

BlanK0@lemmy.ml on 29 Jan 2024 19:51 next collapse

Use ublock origin, it will change your life

lemmyreader@lemmy.ml on 29 Jan 2024 20:12 next collapse

Yes, this! uBlock Origin rocks.

poinck@lemm.ee on 30 Jan 2024 17:26 collapse

On the desktop I am safe from most ads, but on mobile some pages are more pain than others.

BlanK0@lemmy.ml on 30 Jan 2024 17:44 collapse

I would suggest using Firefox on mobile, you can add the ublock extension there as well

RoboRay@kbin.social on 29 Jan 2024 21:51 next collapse

I see one sponsor link, no other ads.

Choose your browser extensions, choose your browsing experience.

halm@leminal.space on 29 Jan 2024 22:34 next collapse

I see zero ads on 9to5linux, why bother going online without an adblocker?

poinck@lemm.ee on 30 Jan 2024 17:32 collapse

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!

TwinTusks@bitforged.space on 30 Jan 2024 03:17 next collapse

See, these are the people where websites generate their revenue.

Pantherina@feddit.de on 30 Jan 2024 12:25 collapse

If you block their Ads, you might want to support the Author on Ko-Fi!