LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-18-2017, 11:24 PM   #1
FedoraPete
LQ Newbie
 
Registered: Feb 2017
Posts: 19

Rep: Reputation: Disabled
Application menu icons are black


Hi, after a fresh install of Fedora 25 (Gnome), I've noticed some applications menu icons are black.

All the default applications are fine, but for new installed application, some of these applications are affected such as the following:
- CherryTree
- Getting Things GNOME
- DropBox (in a popup dialog)


I typically log into Gnome which is where the problem happens. But when I log into Gnome Classic, the icons are displaying correctly. I suspect it may be a Wayland issue since it's new.


Anyone else encountered this, and is there a fix?

Thanks.

(PS: This is my first post).
 
Old 02-20-2017, 12:32 PM   #2
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
check and try different themes within the offending DE/WM
 
Old 02-20-2017, 03:09 PM   #3
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,982

Rep: Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626
Hello and welcome to LQ.

Kind of hard to say. Since you see a few then what are these programs and where did you get them from? I know more than a few issues with x programs on wayland, not sure it would show up in the window manager. I get the feeling that some issue with the icon or colors or the ability to show the type of icon support. ?? Dunno, wild guesses.
 
Old 02-25-2017, 03:44 AM   #4
FedoraPete
LQ Newbie
 
Registered: Feb 2017
Posts: 19

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by jefro View Post
Hello and welcome to LQ.

Kind of hard to say. Since you see a few then what are these programs and where did you get them from? I know more than a few issues with x programs on wayland, not sure it would show up in the window manager. I get the feeling that some issue with the icon or colors or the ability to show the type of icon support. ?? Dunno, wild guesses.
Hi, and thanks

Those applications which have the issue (I listed in my first post).
Also notice it in Atom (editor), when selecting the File/Open File, or File/Open Folder menu items.

Some of these applications are obtained from the Fedora repos, and some downloaded from websites.
 
Old 02-25-2017, 03:47 AM   #5
FedoraPete
LQ Newbie
 
Registered: Feb 2017
Posts: 19

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by BW-userx View Post
check and try different themes within the offending DE/WM
In Tweak, I've changed 'Global Dark Theme', GTK+, and Icons to non-default settings. Problem still persists, i.e. icons are still black.

I'll look for a different Shell theme and post findings...
 
Old 02-25-2017, 03:51 AM   #6
FedoraPete
LQ Newbie
 
Registered: Feb 2017
Posts: 19

Original Poster
Rep: Reputation: Disabled
I'm sure everyone must have this issue. As mine is a fresh install of Feddy 25 (Gnome).

If anyone is using Atom (editor) under Fedora 25 (Gnome), can you please post if your menu icons (File/Open File) are displaying correctly. Thanks.
 
Old 02-25-2017, 07:14 AM   #7
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
I do know that running xfce4. upon first run I will not have all of my icons and have to change the theme. The reason being that not all icons show is because of who ever wrote the theme could not have included the icons that are associated with he item.

Causes and effect.

In your case you state that black icons are showing up where their should be what one would call regular icons depicting the item it is representing.

here you state
Quote:
Originally Posted by FedoraPete
All the default applications are fine, but for new installed application, some of these applications are affected such as the following:
- CherryTree
- Getting Things GNOME
- DropBox (in a popup dialog)
that it is the after install 'extra' applications that are not showing their icons.

Seeings that the theme changes did not correct the issues. Then you'll have to dig further into your system.

Code:
/usr/share/applications
is where the desktop files are kept. you will need to check each associate desktop file for the icon name, find the icon and add a hard path to the icon.

Try this with one desktop and it should fix it.
ie
Code:
(userx@SlackO⚡️~)>>$ cat /usr/share/applications/mplayer.desktop
[Desktop Entry]
Type=Application
Name=MPlayer
GenericName=Media Player
X-GNOME-FullName=MPlayer Media Player
Comment=Play movies and songs
Keywords=Player;Capture;Audio;Music;Song;Video;Movie;Film;Clip;DVD;VCD;CD;Disc;DVB;TV;
Keywords[de]=Player;Wiedergabe;Capture;Mitschnitt;Audio;Musik;Lied;Video;Film;Clip;DVD;VCD;CD;Disc;Disk;DVB;TV;

Icon=mplayer <-----

#TryExec=gmplayer

TryExec=mplayer

#Exec=gmplayer %F

Exec=mplayer  -use-filename-title  %F

Terminal=false
Categories=GTK;AudioVideo;Audio;Video;Player;TV;
MimeType=application/x-cd-image;application/x-cue;application
Where you see the define statement to tell the system what icon to use.

sometimes add on software does not follow the default layout of Linux/GNU where to put the icons and or every size an type of icon to use to match every setting. It then becomes incompatible with the default system way of doing things.

Now you will need to go into
Code:
/usr/share/icons

(userx@SlackO⚡️~)>>$ ls /usr/share/icons
Adwaita                  ComixCursors-Slim-Green   Oxygen_Blue    hicolor
ComixCursors-Black       ComixCursors-Slim-Orange  Oxygen_White   locolor
ComixCursors-Blue        ComixCursors-Slim-Red     Oxygen_Yellow  mono
ComixCursors-Green       ComixCursors-Slim-White   Oxygen_Zion    nuvola
ComixCursors-Orange      ComixCursors-White        Pulse-Glass    oxygen
ComixCursors-Red         HighContrast              Tango          redglass
ComixCursors-Slim-Black  KDE_Classic               default.kde4   whiteglass
ComixCursors-Slim-Blue   Oxygen_Black              handhelds
and find the icons. Their maybe a app out there to show all of your icons, though I have never heard of one.

I just look for what I need then add it to the icon declaration.
You could do a find on each one to try and save yourself some time and hassle of looking though every directory and sub-directory.

Code:
su
password
find /usr/share/icons  -type f -name *(name of icon)*
using wild cards to pick up anything remotely close to the name you are looking for.

this one here

Quote:
Dropbox (in a popup dialog)
by pop up dialog . do you mean the notification that shows when it logs in and such?
because Dropbox may have installed itself somewhere and kept its desktop file within the same directory it is installed in. Some apps do this, where one then needs to just move or copy it into /usr/share/applications to use it.

Last edited by BW-userx; 02-25-2017 at 07:15 AM.
 
Old 03-04-2017, 06:38 PM   #8
FedoraPete
LQ Newbie
 
Registered: Feb 2017
Posts: 19

Original Poster
Rep: Reputation: Disabled
BW-userx THANKS HEAPS for your detailed response! I now understand how desktop icons work.
Apologies for the delayed response. Having a family means limited time on the computer, and I've also looked into and fixed other issues or annoyances in Gnome or Fedora.

I've followed your instructions, but still no icons in the menu of the applications.

Here is what I did using the Atom (editor) as an example:

Attempt 1.
Re-pointed the icon in /usr/share/applications/atom.desktop
from
Icon=atom
to
Icon=Adwaita

The desktop launcher icon was changed to the purple Adwaita icon, but the icons in the application's menu are still black, e.g. File/Open File, or File/Open Folder.


Attempt 2.
Reading up I found that Atom stores it's desktop icon and other resource files in /usr/share/atom and NOT in the expected default location in /usr/share/icons

Re-pointed the icon in /usr/share/applications/atom.desktop
from
Icon=atom
to
Icon=/usr/share/atom/atom.png

The desktop launcher icon displayed the default atom icon correctly (cool), but the icons in the application's menu are still black again.

Next step
Looking into directory /usr/share/atom, I couldn't see any application icons, so my next step is to work out how to do a find from / (root) for all icons on my system and hope the atom icons reside somewhere.
 
Old 03-05-2017, 01:49 PM   #9
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
example
Code:
Exec=/opt/blender/blender %f
Icon=/opt/blender/blender.svg
apply what worked to all of them and see if that works for you too.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
When right/left clicking for a context menu to appear, it display a pitch black menu pupuela Linux - Newbie 4 08-07-2014 06:54 AM
[SOLVED] gnome application menu icons have no descriptions radiodee1 Debian 4 07-05-2010 08:32 AM
LXer: Application Menu (Global Menu) For Ubuntu Netbook Edition 10.10 Is Available Fo LXer Syndicated Linux News 0 05-28-2010 05:00 AM
Application Menu icons SeRi@lDiE Linux - Software 1 07-05-2006 10:26 PM
No OO icons in Application menu after install ilumindhs Linux - Software 4 06-18-2005 08:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:39 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration