Re: Can I change the icon of an application?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Fri, Sep 30, 2011 at 11:26 PM, Duncan <1i5t5.duncan@xxxxxxx> wrote:
> Two possibilities, ensure that the various kde components have updated
> their info, and if that fails, we try a command-line option available to
> all kde apps.

I tried the first method, using all 3 escalation levels of cache
cleaning, and non worked: I ran kbuildsycoca4, and it finished with no
errors. I restarted plasma-desktop, and kwin. None of these made any
difference: the replacement icon would show up on the launcher, and
bounce around the mouse cursor when I launched it, but that's it. The
icon in the task-bar and the <Alt>-<Tab> task-switcher was still the
old icon.

Then I tried the 2nd route: `--icon`. Surprisingly, it also did not work:

   konsole --icon "/usr/share/icons/oxygen/128x128/apps/kdevelop.png"

The above launched Konsole with its regular icon.

At this point, I was curious so I tried a random KDE app instead of Konsole:

   kpat --icon "/usr/share/icons/oxygen/128x128/apps/kdevelop.png"

Lo and behold, that worked; KPatience was launched with the KDevelop
icon, representing it in both the task-bar and the task-switcher!

So to sum up:

1. Changing the launcher icon will only change the icon that renders
on the launcher, and bounces about the cursor.
2. The `--icon` flag does work for certain KDE apps (KPatience).
Mysteriously, it does not work for certain other KDE apps (Konsole).
Of course, if you want to set the icon for a non-KDE app (like
Firefox), you're SOL.

I'd be most interested to know why Konsole doesn't respect `--icon`.
Also, wondering if there's anything one can do about setting the icon
for non-KDE apps like Firefox.

Thanks, D.
___________________________________________________
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.


[Index of Archives]     [Fedora Desktop]    [Linux Kernel]     [Red Hat Install]    [GIMP for Windows]    [Gnome]    [Red Hat Development]    [Gaim]     [Gnome Discussion]    [Gimp]    [Yosemite Hiking]

  Powered by Linux