2 ms·
Unix desktops are composed of little tools. Under xfce you can switch out Thunar and Xfce4-terminal for something else. And long ago you could use your own WM i
by anthk 5y ago
Unix desktops are composed of little tools. Under xfce you can switch out Thunar and Xfce4-terminal for something else.
And long ago you could use your own WM in Gnome.
- makapuf 5y agoExactly, and integration (launchers, notifications, menu integration) can be done around a common ground (a la freedesktop.org)
- giantrobot 5y agoThat's only possible because DEs got together and made freedesktop.org, against the desires of many in their various communities at the time. There's little in the way of "Unix philosophy" built into the various freedesktop conventions. In fact there's a lot of "don't reinvent the wheel" in the conventions which is not really addressed in the "Unix philosophy" which is rife with reinvented wheels. There's still plenty of GUI tools in the FOSS space that don't heed freedesktop conventions. There's also still people that bitch endlessly about D-Bus, systemd, any anything that's not just piped plain text everywhere.
- IshKebab 5y agoRight but you've just retrospectively decided that Thunar and Xfce4-terminal are the ideal unit of "doing one thing". It's a completely arbitrary threshold. Thunar can unzip files. Oh no it's doing two things! Shouldn't it leave that job up to `tar`? Xfce4-terminal has tabs. Erm shouldn't that be the job of the window manager like on Mac? Stop doing more than one thing!!
- DarylZero 5y agoThunar should call an external program to unzip.
- IshKebab 5y agoIt should use a third party library. Having a file manager use `system()` to unzip files would be insane for so so many reasons. You could potentially do it with something like D-Bus I suppose. But it would still probably be simply better if it was built in.
- DarylZero 5y agoHuh? What's wrong with calling the unzip binary? Using a library is only a slight optimization (though I admit -- it's better). D-BUS???
- IshKebab 5y ago1. Way more likely to break because the user doesn't have the program installed or it isn't in PATH or whatever. 2. You have to do all communication through argv and parsing stdout which is extremely error-prone. 3. You're almost certainly not going to get proper progress reporting. 4. It can't be interactive (e.g. how do you implement the "This file exists, what do you want to do?" dialog?) It's so obviously worse I'm surprised you even asked. I'm not sure what "D-BUS??" means but D-Bus mitigates a few of those problems at least.