Just annotations of little "how to's", so I know I can find how to do something I've already done when I need to do it again, in case I don't remember anymore, which is not unlikely. Hopefully they can be useful to others, but I can't guarantee that it will work, or that it won't even make things worse.
Possible bug with Debian's Konqueror/Dolphin/KDE and zip extraction, and how to fix
I noticed that there was no longer the "extract" context submenu for zip files after one of the last updates. Then I went to check the ".desktop" files on /usr/share/kde4, and noticed that they had an editing mistake in the mimetype line:
I guess it was probably something related with deb packages, which must have edited this line and "forgot" to add the semicolon.
To fix these files en masse one could issue (as root):
Worked for me. I did a backup* of all these .desktop files beforehand. The critical files for this function are in /usr/share/kde4/services/ServiceMenus. But there are other .desktop files on the root of ../services, and possibly elsewhere.
* - if the backups are stored in a subfolder of ServiceMenus, they won't be ignored, and it will have the weird temporary (as long as the backup folder is there) effect that the KDE-stuff will duplicate lots of things, like the related context/service menu entries for a given file type, and even all the subsections of some (at least "appearance") sections of [k]systemsettings.
Code:
MimeType= ... application/x-lzma-compressed-tar;application/zipapplication/x-deb; ...
To fix these files en masse one could issue (as root):
Code:
# for i in *.desktop ; do sed -ie 's|application/zipapp|application/zip;app|g' $i ; done
* - if the backups are stored in a subfolder of ServiceMenus, they won't be ignored, and it will have the weird temporary (as long as the backup folder is there) effect that the KDE-stuff will duplicate lots of things, like the related context/service menu entries for a given file type, and even all the subsections of some (at least "appearance") sections of [k]systemsettings.
Total Comments 0