I can't get rid of a spurious empty KPDF entry in my TDE menu. If I delete or cut it and save it's still there. Otherwise TDE menu editor works correctly and I can add and remove entries.
I've looked in ~/.trinity/share/config/* and /usr/share/menu/* and can't find anything that might be causing it. Is there anything else I should check or do?
Thanks,
--Mike
On 2022/11/13 11:18 AM, Mike Bird wrote:
I can't get rid of a spurious empty KPDF entry in my TDE menu. If I delete or cut it and save it's still there. Otherwise TDE menu editor works correctly and I can add and remove entries.
I've looked in ~/.trinity/share/config/* and /usr/share/menu/* and can't find anything that might be causing it. Is there anything else I should check or do?
Thanks,
Hi Mike, Custom menu entries would be in the ~/.config/menus/applications-tdemenuedit.menu file. Just to be sure, make sure to kill and relaunch kicker if you edit the file manually (or logout/login). Cheers Michele
On Mon November 14 2022 06:15:56 Michele Calgaro via tde-users wrote:
Custom menu entries would be in the ~/.config/menus/applications-tdemenuedit.menu file. Just to be sure, make sure to kill and relaunch kicker if you edit the file manually (or logout/login).
Hi Michelle,
It's not in that file which is I guess why it comes back after I delete it. Reboot doesn't help. I've searched all these places:
$ grep -ilr kpdf ~/.trinity/share/config/ \ /usr/share/menu/ \ ~/.config/menus/applications-tdemenuedit.menu /home/mgb/.trinity/share/config/profilerc /home/mgb/.trinity/share/config/kickerrc /home/mgb/.trinity/share/config/kmailrc /home/mgb/.trinity/share/config/tdewalletrc /usr/share/menu/kpdf-trinity $
As best I can determine none of these are responsible for the extraneous undeletable "KPDF" menu entry with no associated command.
Is there anywhere else that TDE sources menu entries from?
Thanks,
--Mike
It's not in that file which is I guess why it comes back after I delete it. Reboot doesn't help. I've searched all these places:
$ grep -ilr kpdf ~/.trinity/share/config/ \ /usr/share/menu/ \ ~/.config/menus/applications-tdemenuedit.menu /home/mgb/.trinity/share/config/profilerc /home/mgb/.trinity/share/config/kickerrc /home/mgb/.trinity/share/config/kmailrc /home/mgb/.trinity/share/config/tdewalletrc /usr/share/menu/kpdf-trinity $
As best I can determine none of these are responsible for the extraneous undeletable "KPDF" menu entry with no associated command.
Is there anywhere else that TDE sources menu entries from?
Thanks,
Interesting problem :-) I will need to check the code to see if there are other sources. In the meantime, if you can edit the entry, I would rename KPDF to something long and unique like "crazy_KPDF_entry_in_menu" and then I would do a file content search in the home folder for that string. Repeat the search in /opt/trinity in case you don't find anything and eventually /etc/trinity, for the sake of completeness. If you still can't find anything, I will check in the code at some point. Cheers Michele
Hi Michele,
Apologies for misspelling your name last time.
On Mon November 14 2022 17:54:22 Michele Calgaro via tde-users wrote:
Interesting problem :-) I will need to check the code to see if there are other sources. In the meantime, if you can edit the entry, I would rename KPDF to something long and unique like "crazy_KPDF_entry_in_menu" and then I would do a file content search in the home folder for that string. Repeat the search in /opt/trinity in case you don't find anything and eventually /etc/trinity, for the sake of completeness. If you still can't find anything, I will check in the code at some point. Cheers
Good idea. Unfortunately, as when I delete it, renaming it and saving generates no error but also has no effect. I'm guessing this is because it's pulled out of a non-writable system menu file somewhere.
--Mike
Mike Bird composed on 2022-11-14 18:05 (UTC-0800):
Unfortunately, as when I delete it, renaming it and saving> generates no error but also has no effect. I'm guessing this is because> it's
pulled out of a non-writable system menu file somewhere. Do you have anything in /usr/local/share/applications/?
On Mon November 14 2022 18:17:19 Felix Miata wrote:
Mike Bird composed on 2022-11-14 18:05 (UTC-0800):
Unfortunately, as when I delete it, renaming it and saving> generates no error but also has no effect. I'm guessing this is because> it's
pulled out of a non-writable system menu file somewhere. Do you have anything in /usr/local/share/applications/?
Hi Felix,
I have no /usr/local/share/applications/.
I've also searched for every directory on the entire system named "menu". There are some associated with an old copy of TDE sources and some associated with steam games and some associated with LibreOffice but the only menu directory which seems to contribute to the TDE menu is /usr/share/menu and the only occurence of kpdf in that directory is the regular kpdf-trinity file. I have verified by reading it and by debsums and by looking at the resulting entry in the Office section of that TDE menu that the kpdf-trinity menu file is as it should be.
--Mike
Problem solved by removing ~/.trinity/share/applnk/kpdf_part.desktop which had contained:
[Desktop Entry] Exec= MimeType= Name=KPDF Terminal=false Type=Application X-TDE-InitialPreference=17
Google seems to suggest that applnk was a pre KDE 3.2 menu structure. That's a long time ago and I don't know how kpdf's applnk got into my ~/.trinity. There are no other applnk files.
Thanks to everybody who provided helpful clues.
--Mike
On 2022/11/16 11:08 AM, Mike Bird wrote:
Problem solved by removing ~/.trinity/share/applnk/kpdf_part.desktop which had contained:
[Desktop Entry] Exec= MimeType= Name=KPDF Terminal=false Type=Application X-TDE-InitialPreference=17
Google seems to suggest that applnk was a pre KDE 3.2 menu structure. That's a long time ago and I don't know how kpdf's applnk got into my ~/.trinity. There are no other applnk files.
Thanks to everybody who provided helpful clues.
--Mike ____________________________________________________
Hi Mike, applnk is an old thing, as google mention. Most applications use the apps folder, but some still use the applnk. We are actually getting rid of applnk bit by bit but not being top priority, some are still there. Cheers Michele