NireBryce

reality is the battlefield

the first line goes in Cohost embeds

🐥 I am not embroiled in any legal battle
🐦 other than battles that are legal 🎮

I speak to the universe and it speaks back, in it's own way.

mastodon

email: contact at breadthcharge dot net

I live on the northeast coast of the US.

'non-functional programmer'. 'far left'.

conceptual midwife.

https://cohost.org/NireBryce/post/4929459-here-s-my-five-minut

If you can see the "show contact info" dropdown below, I follow you. If you want me to, ask and I'll think about it.


daddragon
@daddragon

Every time I try to post something I get slapped by the hand of Linux Keeps Breaking Things for No Reason.

I cannot drag images from a samba share from nautilus to firefox to put in a post.


daddragon
@daddragon

I think it's because it's not actually mounted. The paths I get if I try and grab it is smb://the server/the/path/to/something which is not a file path.

Okay, fine on windows, because you have shit like \\server\whatever which windows itself resolves for you. But you can't fucking open(2) something with smb:// in it, so naturally they can't allow dragging and dropping it as a file path! Duh, silly.

But I do not care if it is a file path or not. If it was mounted, like we've been able to do in userspace with shit like udisks for like ten Goddamn years now, then it would just work. I can't open the network path to my big storage in rawtherapee because it doesn't understand the path either. There is some kind of path, because I can open a terminal, but rawtherapee doesn't understand it (it's like /run/user/1000/smb-share:server=whatever,share=theshare/path and I think it's choking on the : which. mmmmmmmmmmm.)

Like it works but it doesn't work. I can't even rule out whether this is a firefox-but-in-snap problem (because that also causes Really Cool Problems, like obliterating the "right" way to install extensions for gnome). Ourgh.


NireBryce
@NireBryce

this reminds me of how dolphin's drag and drop suddenly doesn't work if I have an Okular (document reader) window overlapping it in desktop spacetime.

you can click the files, you can right click them, but you can't ever drag them, until the window is removed or closed. May not be limited to okular.


You must log in to comment.

in reply to @daddragon's post:

(pardon me for offering answers for questions not asked)

Using SMB from linux caused all kinds of issues for me, particularly around file permissions, and my life got much easier when I just set up a NFS mount instead. Thankfully my target is quite happy to provide both without issue, which is probably uncommon.

Firefox in snap literally made me pack up and get the hell out of Ubuntu. You have my condolences. Snap makes everything painful.

I do wonder sometimes if I'm blessed with linux just behaving for me, or if I'm extremely good at forgetting about all the holes I avoid every day.

I have kind of the opposite problem vis a vis permissions, cuz I'm just One User with a couple machines, so the UIDs don't strictly match up. I had to force macOS to change my UID to 1000 so it matched ubuntu and that had some consequences. SMB kinda abstracts that so I'm just "the user on the sharing server." I also have the same shares set up in NFS kinda for that reason.

I keep putting myself in Situations lol. I think ubuntu particularly has cycles where things mature, and then they change something, and now everything's back at square one again. They changed how NFS worked between when I shut it off in one version and turned it on in another, and I had to go screw with a different set of files.

For better or worse everything I have touching the NFS share is linux, mixing that with macos does sound like a bad time.

Ubuntu for sure went from "Wow, this is great!" around 18.04 to "No!" with 22.04, for me. Snap has been the largest chunk of that for sure, but I'm sure they're going around fiddling with other stuff too.

It really feels like a lot of stuff that worked fine got broken by the ever-present Gnome urge to make changes with no backwards compatibility and the Snap "it would totally have advantages over the old package manager that worked just about perfectly if only it didn't break super important things and really you're wrong for wanting things to work" thing

The problem with Nautilus and SMB isn’t that it’s SMB, it’s that Nautilus is using GIO adapters natively instead of using OS level mounters to huck the files into a real filesystem mount and accessible to everything. It would work the way you expected if they used Samba to mount it to a Real Path, then hand that Real Path to external processes.

As it stands, other apps can talk to the paths that Nautilus hands out, but they need to be using GIO to access them.

I don’t know how Dolphin and Qt handle this, if they do it any better.