Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API

From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
clipboard is more complicated than you think
xclip -selection clipboard -o -t TARGETS
xclip -selection clipboard -o -t ${target}
in linux there are 3 clipboards. Each of them have an arbitrary number of containers/tags for the copied data. Each app can create and use its own containers/tags [targets], formatting the copied content into each differently, e.g. copy from a browser -- you can paste as plaintext, as HTML, as rtf, etc.
most likely those file managers are using their own targets for clipboard data.
afaik windows is not much different -
@netikras I will have to pay more attention on Windows then. I have use a custom window manager before, but most of the time I just use the default. I have messed with drag and drop programming wise, but not clipboard.
-
@Demolishun you just gave me Vietnam flashbacks about drag and drop programming in WinAPI.
-
I agree with all of you on all counts.
Still, why not just cp?
It's probably faster than any GUI and guaranteed to work. -
@Lensflare
Drag and drop, just like OS level copy paste is a hard problem.
You cannot just byte copy everything.
There's so much fucking metadata that thankfully vendors agreed to that make it possible that I would say it's actually one of the modem modern wonders of the world. -
I've been spoiled too much by years of using Norton Commander, then Windows / Total Commander.
On Linux, I used to use the Midnight Commander, but needed something newer.
As such, it's Krusader or Double Commander for me, depending on the availability on the distro. -
And it seems my autocorrector made me say retarded shit.
Meaning double words and such.
I dunno, might have been me, but I wasn't drunk when I posted that...
Related Rants
-
gururaju56*Now that's what I call a Hacker* MOTHER OF ALL AUTOMATIONS This seems a long post. but you will definitely ...
-
linuxxx70This guy at my last internship. A windows fanboy to the fucking max! He was saying how he'd never use anythi...
-
creedasaurus62
Another dev on my team just got a new machine. Before he came in today I made two separate USB installers and ...
Linux weirdness of yesterday. I was copying files from one file manager to another. If the managers weren't the same file manager they couldn't see each others copy and paste selections. Which is kind of odd. I am not used to copy paste being incompatible on the platforms I use. One of those managers was Dolphin and another with a generic name called Files. So I don't know if this is KDE weirdness or what. Since I transitioned from Gnome I have like 3 file managers I use because each one has different features I like. Yeah, probably not great for file copying. I just never imagined they wouldn't work together.
random
your mum
pebkac
linux
inconceivable
copypasta
your mom
incompatible