Unix complaint: part 3476 I’m writing a right click action for KDE/Dolphin/Plasm...
Amanda @amanda@social.spejset.org
Unix complaint: part 3476
I’m writing a right click action for KDE/Dolphin/Plasma/whateverthefuck to encode a flac file as an mp3. I already have a command ready so this should be trivial. TL;DR I write a desktop file with an exec line.
Things I want to know that are mentioned nowhere:
- which shell runs the line?
- in what directory?
- with what environment?
- are argument strings escaped?
In general I think this approach is Bad. This is too much variety.