How do I change the icon for an application on the KDE panel?
Solution 1
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
Solution 2
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.
Related videos on Youtube
einpoklum
Made my way from the Olympus of Complexity Theory, Probabilistic Combinatorics and Property Testing to the down-to-earth domain of Heterogeneous and GPU Computing, and now I'm hoping to bring the gospel of GPU and massive-regularized parallelism to DBMS architectures. I've post-doc'ed at the DB architecture group in CWI Amsterdam to do (some of) that. I subscribe to most of Michael Richter's critique of StackOverflow; you might want to take the time to read it. If you listen closely you can hear me muttering "Why am I not socratic again already?"
Updated on September 18, 2022Comments
-
einpoklum over 1 year
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.
-
Ikar Pohorský almost 8 yearsNote 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...).