customized konqueror menus get changed back to kubuntu default version on each konqueor update
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kdebase (Ubuntu) |
Invalid
|
Wishlist
|
Unassigned |
Bug Description
A user may prefer to use another konqueror menu structure than kubuntu simplebrowser and change it to, say, the original KDE konqueror menu structure which is also shipped within the konqueror package.
Symptom:
Each time konqueror gets reinstalled or updated the menu structure is changed back to kubuntu simplebrowser structure.
Background:
The file konqueror.rc inside the folder /usr/share/
Possible Solution:
Let konqueror.rc be a symlink pointing to either konq-simplebrow
Changed in kdebase: | |
importance: | Undecided → Wishlist |
status: | New → Triaged |
Here is a patch for the above bug report. Changes were made to the postrm and postinst scripts.
It works like the following: konqueor.rc is now a symlink. It only gets created if /usr/share/ apps/konqueror/ konqueror. rc doesn't exist. In this case it is linked to konq-simplebrow ser.rc. No action is performed if the file exists already.
When the konqueror package gets *removed*, the link *gets not* removed. If the konqueror package gets *purged*, then the link *gets* removed.
P.S.: This is my first patch. Please let me know if there's something I could do better next time. :-)