No icons of source-installed apps

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

No icons of source-installed apps

Postby TabletHater » Mar 14th, '12, 18:29

None of the apps I've installed from source have icons. Any idea to solve this?
TabletHater
 
Posts: 112
Joined: Feb 28th, '12, 02:30

Re: No icons of source-installed apps

Postby doktor5000 » Mar 14th, '12, 20:48

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
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18054
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: No icons of source-installed apps

Postby TabletHater » Mar 14th, '12, 21:18

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.
TabletHater
 
Posts: 112
Joined: Feb 28th, '12, 02:30

Re: No icons of source-installed apps

Postby doktor5000 » Mar 14th, '12, 21:46

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?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18054
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: No icons of source-installed apps

Postby TabletHater » Mar 14th, '12, 21:56

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.
TabletHater
 
Posts: 112
Joined: Feb 28th, '12, 02:30

Re: No icons of source-installed apps

Postby TabletHater » Mar 14th, '12, 22:05

I can't find its icon file in /usr/share/icons or /usr/share/pixmaps.
TabletHater
 
Posts: 112
Joined: Feb 28th, '12, 02:30

Re: No icons of source-installed apps

Postby doktor5000 » Mar 14th, '12, 23:35

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.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18054
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: No icons of source-installed apps

Postby TabletHater » Mar 14th, '12, 23:40

I'm really sorry!!! I was busy too, didn't notice!! Well, here it is: it says nothing.
TabletHater
 
Posts: 112
Joined: Feb 28th, '12, 02:30

Re: No icons of source-installed apps

Postby doktor5000 » Mar 14th, '12, 23:49

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.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18054
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: No icons of source-installed apps

Postby TabletHater » Mar 14th, '12, 23:52

I'll look for it or ask the good developer himself.
TabletHater
 
Posts: 112
Joined: Feb 28th, '12, 02:30

Re: No icons of source-installed apps

Postby TabletHater » Mar 15th, '12, 16:52

Cantata developer has sorted out his icon problem. So this seems to be an issue the developers of those apps has to sort out.
TabletHater
 
Posts: 112
Joined: Feb 28th, '12, 02:30

Re: No icons of source-installed apps

Postby ozky » Mar 15th, '12, 17:15

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.
Image
Mageia user
User avatar
ozky
 
Posts: 581
Joined: Jul 2nd, '11, 08:48
Location: Nakkila Finland

Re: No icons of source-installed apps

Postby TabletHater » Mar 15th, '12, 17:24

Thank you ozky. Yes, it's in /usr/share/icons/hicolor/scalable/apps.
TabletHater
 
Posts: 112
Joined: Feb 28th, '12, 02:30

Re: No icons of source-installed apps

Postby ozky » Mar 15th, '12, 18:20

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
Image
Mageia user
User avatar
ozky
 
Posts: 581
Joined: Jul 2nd, '11, 08:48
Location: Nakkila Finland

Re: No icons of source-installed apps

Postby TabletHater » Mar 15th, '12, 18:26

Hmmm, that would be usefull. Thanks again pal.
TabletHater
 
Posts: 112
Joined: Feb 28th, '12, 02:30

Re: No icons of source-installed apps

Postby TabletHater » Mar 15th, '12, 23:45

For the record, have sorted out the Goldendict icon problem.
TabletHater
 
Posts: 112
Joined: Feb 28th, '12, 02:30


Return to Basic support

Who is online

Users browsing this forum: Google [Bot], JJF1 and 1 guest

cron