emerged kile and can run it (with many warnings) but I have no menu to launch it. Reproducible: Always Steps to Reproduce: 1.emerge kile 2.kile 3. Actual Results: Emerged Kile and executed it in command line. Went to the Gnome menu: applications->office but did not find it there. Found it no where else. Expected Results: Shoud have placed a menu option in applications->office->Kile just as is done in the case of Lyx (for example).
Does it help if you manually move kile.desktop from /usr/share/applications/kde/kile.desktop to /usr/share/applications/kile.desktop ?
No it doesn't. I su'd and did a: 'mv /usr/share/applications/kde/kile.desktop /usr/share/applications/kile.desktop' Just to make sure, I even rebooted the machine 8-0. Could not find the menu entry in any place. Notes: did some comparison with K3B that worked. K3b has: [KDE Desktop Entry] Kile has: [Desktop Entry] (Need to add 'KDE' ?) K3B has: Name=K3b Name[hi]=
No it doesn't. I su'd and did a: 'mv /usr/share/applications/kde/kile.desktop /usr/share/applications/kile.desktop' Just to make sure, I even rebooted the machine 8-0. Could not find the menu entry in any place. Notes: did some comparison with K3B that worked. K3b has: [KDE Desktop Entry] Kile has: [Desktop Entry] (Need to add 'KDE' ?) K3B has: Name=K3b Name[hi]=à<95>à¥<87>3à¬à¥<80> Name[xx]=xxK3bxx MimeType=application/x-k3b X-KDE-NativeMimeType=application/x-k3b Categories=KDE;Application;AudioVideo;DiscBurning; Kile has: Name=Kile Name[xx]=xxKilexx MimeType=text/x-tex;text/x-kilepr Categories=Qt;KDE;Office (Need to add 'Name[hi]=' record?) (Need to add 'X-KDE-NativeMimeType=' record?) (Need to add ';' to the end of the categories list?) May be other differences, but these were ther most visible.
Partial Solution: diff between old file and new file (file remains in original path) diff /usr/share/applications/kde/kile.desktop ./kile.desktop.orig 25c25 < Categories=Qt;KDE;Application;Office --- > Categories=Qt;KDE;Office Now I can see the entry in the office sub-menu. Now the icon is missing. How do I diagnose this one?
It seems gnome only puts an entry in the menu if it has the "Application" category, that traditionally each gnome app has: http://anoncvs.gnome.gr.jp/viewcvs.cgi/gnome-vfs/modules/vfolder/applications-all-users.vfolder-info.in?rev=1.5.2.1&view=markup Even if "Application" is not listed among the standard categories: http://freedesktop.org/Standards/menu-spec/0.8/apa.html As for the icon problem, probably it is because kile does not provide an icon in the default (/usr/share/icons/hicolor) icon theme, but only in the kde-specific /usr/share/icons/crystalsvg theme.
You are correct, I only found references to files in the "/usr/share/icons/crystalsvg" path. (Can't do it now, but I will check on k3b to confirm that it has its icons in the "/usr/share/icons/hicolor" path too. Should this be reported as another seperate error? What is the best work-around in this case? Link or just copy the file. I don't want to mess w/ the emerge tool.
to know what the problems are with a .desktop file, just try : deskop-file-validate yourfile.desktop this utility is from the dev-util/desktop-file-utils package (v0.7 actually) from freedesktop.org
Installed the pacjage. Ran the instruction. This is the output: $ desktop-file-validate desktop-patches/kile.desktop.orig Warning, file desktop-patches/kile.desktop.orig contains a "KDE Desktop Entry" section. This has been deprecated in favor of "Desktop Entry" Error, file desktop-patches/kile.desktop.orig does not contain the "Encoding" key. This is a required field for all desktop files. Warning in file desktop-patches/kile.desktop.orig: nonstandard key "DocPath" lacks the "X-" prefix. Error in file desktop-patches/kile.desktop.orig, key Categories is a list of strings and must end in a semicolon. Still criptic. Got to look into i. Hope this helps correct the problem though.
Warning, file desktop-patches/kile.desktop.orig contains a "KDE Desktop Entry" section. This has been deprecated in favor of "Desktop Entry" [KDE Desktop Entry] => [Desktop Entry] Error, file desktop-patches/kile.desktop.orig does not contain the "Encoding" key. This is a required field for all desktop files. add "Encoding=UTF-8" on line 2 Warning in file desktop-patches/kile.desktop.orig: nonstandard key "DocPath" lacks the "X-" prefix. DocPath=blablabla... => X-DocPath=blablabla... Error in file desktop-patches/kile.desktop.orig, key Categories is a list of strings and must end in a semicolon. Categories=blablabla... => Categories=blablabla...;
#8 Stephane, Not so criptic after all. I guess that just leaves the pointer to the icon. Thanx.
I did not read the comments - sorry - could someone drop a line, if it's still an issue with kile-1.7.1, please?
assuming it's fixed - please open if it persists per the above comment