5

I use KDE 5 on Fedora 22.

I want to change the panel icon for an application I use (say, okular). I don't care about how the app icon appears elsewhere (e.g. in the menus) - whether that changes or not is fine. Now, I'm not root on this machine. How can I effect this change?

Note: I don't mean the "quick-launch" icon, which you would see when the application is not running, but the icon on each of the running instances' tabs.

3

Look in ~/.config for a file named plasm-org.kde.plasma.desktop-appletsrc.

It will contain something like:

[Containments][25][Applets][35][Configuration][General]
applicationName=GNU Emacs 24
genericName=Text Editor
iconName=/usr/share/icons/hicolor/scalable/apps/partitionmanager.svg
url=file:///usr/share/applications/emacs24.desktop

Change the IconName parameter to whatever you want the icon to be.

  • Note that editing the file while in KDE session the behaviour can be tricky. I recommend to logout from KDE and edit the file in terminal (Ctrl+Alt+F1, login, edit...). – Ikar Pohorský May 26 '16 at 12:59
3

kmenuedit will allow you do it via GUI

see this other question/answer

https://askubuntu.com/questions/647121/how-do-i-set-custom-application-icons-in-kde

0

I tried this method but it didn't work, even after refreshing the KDE desktop. In order to get the icon I wanted, I had to first make an entry in the Application Menu, edit the menu and then select an actual icon, either in the default location, or by placing an icon in a folder on my desktop and selecting that during the edit. Once I had the item in the menu, I could then slide it down onto the panel and either leave the item in the menu or delete it.

  • 3
    What is "this method" you refer to? – einpoklum Mar 5 '16 at 15:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.