Type=FSDevice desktop files

David Faure faure at kde.org
Sun Apr 26 22:45:09 BST 2020


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 ;)

-- 
David Faure, faure at kde.org, http://www.davidfaure.fr
Working on KDE Frameworks 5







More information about the kde-core-devel mailing list