Type=FSDevice desktop files
Aleix Pol
aleixpol at kde.org
Mon Apr 27 00:56:41 BST 2020
On Sun, Apr 26, 2020 at 11:45 PM David Faure <faure at kde.org> wrote:
>
> Would it be OK if we dropped support for desktop files that represent devices?
> This was a KDE1/KDE2/KDE3? feature, you'd write/ship a desktop file with
> Type=FSDevice and Dev=/dev/sdc
> and this would give you Mount and Unmount in the context menu.
>
> This was useful back then, for USB keys and CDROMs (kids, ask your parents
> what that was), before Solid, before the plasma device notification popup...
>
> But has anyone been using this in the last 10 years? I kind of doubt it.
>
> Since I'm refactoring KRun and KDesktopFileActions to be asynchronous and
> independent from QtWidgets, I need to know what to do with this IMHO very dead
> code. Of course these classes will keep providing the feature, but once I
> write a KIO::OpenUrlJob as a replacement for KRun and we port the code to
> that, we'll lose the feature from a user's point of view.
> Not sure this is really a loss though ;)
I don't think anyone I've ever discussed OSs would miss it.
CCing plasma-devel since people there might know more about different use cases.
Aleix
More information about the kde-core-devel
mailing list