![]() Registered Member ![]()
|
Hello,
I have a .desktop file for an application
I find it when using the search in k-menu. But when I open the k-menu editor I can't find it. Neither I can find it when using the K-Menu by browsing through the categories. i tried browsing all sub-categories, yes, also education. Where is this entry? How can I edit it? Thanks! |
![]() Registered Member ![]()
|
Where each Category appears in the K-Menu is defined in /etc/xdg/menus/. On my openSUSE 13.1 installation, the .desktop file you posted would appear in "Education"->"More Programs".
Well, if you don't find it in the menu editor, you can of course always edit the .desktop file itself in a text editor. If you just want to change the name/description, this should be quite straight-forward to do. You have to run "kbuildsycoca4" afterwards to notify KDE of the change though. |
![]() Manager ![]()
|
why not just use the Kmenu editor to add entries
|
![]() Registered Member ![]()
|
Because the .desktop file was auto added by the application. |
![]() Registered Member ![]()
|
Yeah, I could edit the file directly. Honestly, editing wasn't the main problem. The main problem is my curiosity that I have an application I can find but it appears nowhere.
But I have found it now. If I enable "show hidden entries" there is a category at the top. Funny thing, the option hidden entry is not enabled... |
![]() Registered Member ![]()
|
Well, the purpose for hidden entries is to be _not_ shown, so don't find it funny that this is not enabled by default. ![]() I don't even have that category here. So maybe your distribution's default menu structure (in /etc/xdg/menus/) puts entries with certain categories in the .desktop file (Education;Literature;Qt; in particular) to the "hidden" category? |
![]() Administrator ![]()
|
Please note that the menu will always hide categories which are empty - they will usually be visible in KMenuEdit though.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
![]() Registered Member ![]()
|
It did not show in KMenuEdit either. Ah well, I forgot to enable "Show hidden entries" when looking earlier. I can see the category named "Hidden" now (in KMenuEdit that is)... ![]() For clarification: the whole "Hidden" category is hidden, so entries inside it don't show up either even if they are not explicitely marked as hidden. But IMHO this is the expected behavior. It doesn't seem to be possible to hide/unhide categories in KMenuEdit though. |
![]() Registered Member ![]()
|
What I meant was, that the Hidden option of the application was not set. If an entry is hidden, should it be found my k-menu search?
My distribution is Arch, they tend to stick with updstream's defaults. I've a taken a look at the files in /etc/xdg/menus but must confess, that I can't figure it out. |
Registered users: Bing [Bot], Google [Bot], Sogou [Bot], Yahoo [Bot]