Date: prev next · Thread: first prev next last
2019 Archives by date, by thread · List index


Hi Girvin

Thanks for the reply. I too use Slackware.

I've only got the /usr/share/icons/hicolor/icon-theme.cache script on my system. Do I need to reboot the machine for the change to take effect?

Alex

On 10/10/2019 19:20, Girvin Herr wrote:
Alex,

I am assuming you are using a Linux distro, since you mention kde and xfce. I am using Slackware Linux and xfce. I would first try running the following script as root to refresh the icon cache before you get too deep:

#!/bin/sh
# Cache the icons:
if [ -x /usr/bin/gtk-update-icon-cache ];  then
  for THEME in gnome locolor hicolor ; do
    if [ -e /usr/share/icons/${THEME}/icon-theme.cache ];  then
      /usr/bin/gtk-update-icon-cache  /usr/share/icons/${THEME} >/dev/null 2>&1
    fi
  done
fi

#
# Update the desktop database:
if [ -x /usr/bin/update-desktop-database ];  then
  /usr/bin/update-desktop-database  -q  /usr/share/applications
fi

#
# Update the mime database:
if [ -x /usr/bin/update-mime-database ];  then
  /usr/bin/update-mime-database  /usr/share/mime  >/dev/null 2>&1
fi


It won't hurt to refresh the desktop and mime databases also, as shown in the script. Historically when I suggested this to other users with icon problems, running this script cured their problems. I run this as part of my installation script when the LibreOffice package is installed, thus updating the databases at install time.

FYI, the icons are defined in the .desktop files for each of the LibreOffice apps in:

/opt/libreoffice5.3/share/xdg/*.desktop

Look for the "Icon=" entry in the desktop file. Additionally, you may have defined additional desktop files in ~/Desktop . This directory is where the desktop shortcuts may have been copied/placed by you to your desktop.

And the icon files are in:

/usr/share/icons

Note that libreoffice5.3 is the version I happen to be using. Substitute your version as needed. Note also that these are for my Slackware system. Your distro may place them elsewhere, but it should be similar.

HTH.

Girvin


On 10/10/19 2:49 AM, mcmurchy1917techy wrote:
I've got a problem that's bugging me.

The initial problem was that if I started calc, it started as expected except that in the task manager bar, which displays the running applications, I see an icon with a X and a circle through it, I suspect this icon is the default icon for running applications, the icon I'm expecting in the task manager bar is the calc icon. The Base and Impress icons displayed as expected.

The icon for writer displayed perfectly.

It bugged me so much yesterday that I decided to temporarily change from kde4 to xcfe. I started up Calc and got what I suspect was the default icon not the calc icon. Started writer got the default icon not the writer icon.

Returned to kde4.

This time. Started up Calc andgot the icon with a X and a circle through it not the calc icon - same as before. Started up Writer andgot the icon with a X and a circle through it not the writer icon, whereas previously I would have got the writer icon. The same was seen with the Base and Impress icons which were displayed as the X and a circle through it.

By switching from kde4 to xfce and then back again, I've made matters worse.

My question is where does the desk top environments get these icons from? How can I get the calc and writer icons displaying in the task manager bar

Alex






--
To unsubscribe e-mail to: users+unsubscribe@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.