Page 1 of 1

No icons of source-installed apps

PostPosted: Mar 14th, '12, 18:29
by TabletHater
None of the apps I've installed from source have icons. Any idea to solve this?

Re: No icons of source-installed apps

PostPosted: Mar 14th, '12, 20:48
by doktor5000
Well, this depends on two things, for one the .desktop file of that application, normally located below /usr/share/applications and the icon, mostly somewhere below /usr/share/icons/ or /usr/share/pixmaps. Please show at least the .desktop file of the problematic applications (showing only the Icon= line would be already enough). Also it would be nice to know which desktop environment you're using and at least the apps which you installed from source.

If you want to take a look yourself, look at http://standards.freedesktop.org/deskto ... 01s05.html and http://standards.freedesktop.org/icon-n ... atest.html

Re: No icons of source-installed apps

PostPosted: Mar 14th, '12, 21:18
by TabletHater
Thanks Dok. I'm on (custom) LXDE, but the situation was the same on KDE as well.

Installed apps: Cantata, MakeMKV, Minitube, QGmailnotifier and Goldendict. No problem with MakeMKV and Minitube, but the icons of the rest are missing.

Cantata.desktop:
Icon=cantata

I have created a .desktop file of QGmailnotifier in /usr/share/applications, but it hasn't been listed in the Mageia app menu. Same for the Qtconfig which has been installed from the MCC, not source, neither iconized nor listed in the app menu. I've created .desktop file of Goldendict and it is listed in the app menu and iconized there, but not iconized in the lxpanel.

On another note, is it possible to disable the "more" menus in the Mageia app menu? It's really annoying.

Re: No icons of source-installed apps

PostPosted: Mar 14th, '12, 21:46
by doktor5000
OK, for cantata, where was the icon file installed? Also please show the output of
Code: Select all
desktop-file-validate /path/to/cantata.desktop

For reference, how did you install cantata, or do you have a link for me so i can try to reproduce this?

Also let's please handle this one-by-one, so first we'll take a look at cantata, OK?

Re: No icons of source-installed apps

PostPosted: Mar 14th, '12, 21:56
by TabletHater
Output of "desktop-file-validate /path/to/cantata.desktop" says: file does not exist. But it exists in /usr/share/applications.

You can download Cantata from: http://kde-apps.org/content/show.php/Ca ... ent=147733

To install in as a pure Qt:

Code: Select all
mkdir build
cd build
cmake ../ -DCMAKE_INSTALL_PREFIX=/usr -DWANT_KDE_SUPPORT=NO
make
su
make install


To install as a KDE app omit "-DWANT_KDE_SUPPORT=NO" as you might well know.

Re: No icons of source-installed apps

PostPosted: Mar 14th, '12, 22:05
by TabletHater
I can't find its icon file in /usr/share/icons or /usr/share/pixmaps.

Re: No icons of source-installed apps

PostPosted: Mar 14th, '12, 23:35
by doktor5000
TabletHater wrote:Output of "desktop-file-validate /path/to/cantata.desktop" says: file does not exist. But it exists in /usr/share/applications.

That was actually only meant as a placeholder ;) . So what does desktop-file-validate /usr/share/applications/cantata.desktop say?

And if you can't find it's icon, what should it display then? I'll take a look in the next days for cantata, kinda busy right now.

Re: No icons of source-installed apps

PostPosted: Mar 14th, '12, 23:40
by TabletHater
I'm really sorry!!! I was busy too, didn't notice!! Well, here it is: it says nothing.

Re: No icons of source-installed apps

PostPosted: Mar 14th, '12, 23:49
by doktor5000
Well, that's good so the desktop file itself is valid and causes no problems. Now we just need to find out where it put the icon.

Re: No icons of source-installed apps

PostPosted: Mar 14th, '12, 23:52
by TabletHater
I'll look for it or ask the good developer himself.

Re: No icons of source-installed apps

PostPosted: Mar 15th, '12, 16:52
by TabletHater
Cantata developer has sorted out his icon problem. So this seems to be an issue the developers of those apps has to sort out.

Re: No icons of source-installed apps

PostPosted: Mar 15th, '12, 17:15
by ozky
TabletHater wrote:I can't find its icon file in /usr/share/icons or /usr/share/pixmaps.

Cantata icon's are located in dir /usr/share/icons/hicolor/ that's why you can't find it from pixmap folder.

Re: No icons of source-installed apps

PostPosted: Mar 15th, '12, 17:24
by TabletHater
Thank you ozky. Yes, it's in /usr/share/icons/hicolor/scalable/apps.

Re: No icons of source-installed apps

PostPosted: Mar 15th, '12, 18:20
by ozky
No problem :D you can use pkgs.org to check where those packages install all files.
http://pkgs.org/mageia-cauldron/mageia- ... 6.rpm.html

Re: No icons of source-installed apps

PostPosted: Mar 15th, '12, 18:26
by TabletHater
Hmmm, that would be usefull. Thanks again pal.

Re: No icons of source-installed apps

PostPosted: Mar 15th, '12, 23:45
by TabletHater
For the record, have sorted out the Goldendict icon problem.