You are not logged in.
Hello, I have downloaded an icon theme for KDE, but I want to modify it in some parts. The thing is, that I am using the Alt Tab Design, where you see a big icon for each application (like the default one for Mac OS).
The problem is that some of the icons are too low resolution, so they look ugly in Alt Tab. I already found the high resolution icons, but where do I change it now? Using find I found some icon directories like /usr/share/icons, but it didn't work, when I just put the file there. So what do I need to do? Also do I need a svg or png?
Last edited by Magnus2552 (2016-05-18 20:16:00)
Offline
Arch wiki of icons: https://wiki.archlinux.org/index.php/Icons
Have information of
- Icon Theme Specification
- Icon themes
KDE - (Arch wiki: https://wiki.archlinux.org/index.php/KDE )
The KDE is using caches so after I have edited a icon theme:
- change the icon theme from the edited theme
- remove the icon cache: ~/.cache/icon-cache.kcache
- restart all applications and the plamashell
- change the icon theme to the edited theme
- rebuild the caches: 'kbuildsycoca5 --noincremental'
Offline
Sorry, if I am dumb, but I cannot seem to get it working...
I am already only focussing on only installing a single icon, but it still fails...
So, I have got an alternative firefox icon downloaded and I am navigated to its folder and I do the following command to install it to the Lüv Dark theme:
xdg-icon-resource install --theme Lüv\ Dark --size 128 firefox.png --novendor firefox
Now what this did, was creating this folder: ~/.local/share/icons/Lüv Dark/128x128/apps/ and putting firefox.png in it.
After that I also copied the file to /usr/share/icons/Lüv Dark/apps/128x128/
After that I temporary changed the theme to Breeze and rebuilt the icon cache:
rm ~/.cache/icon-cache.kcache && kbuildsycoca5 --noincremental
I then changed the icon theme back to Lüv Dark, but the Firefox icon still is the old one...
I also logged out and in again.
Pls help me, am I missing any important step?
Last edited by Magnus2552 (2016-05-16 16:18:26)
Offline
Ok, so now I figured out by myself what was missing. For future reference, I will describe what I did:
My theme is called "Lüv Dark". So in my example I already had copied my 128x128 sized firefox.png to /usr/share/icons/Lüv Dark/apps/128x128/firefox.png and I navigated to /usr/share/icons/Lüv Dark/ and I found a file called index.theme
Now one has to make sure two things in this file. First there has to be "apps/128x128" listet in the line with the directories and also there has to be an entry later in the file like this:
[apps/128x128]
Size=128
Context=Applications
Type=Fixed
Then save the file, go to the Icon settings and temporaly change the icon theme to something else. Then type in a terminal:
rm ~/.cache/icon-cache.kcache && kbuildsycoca5 --noincremental
Now when you change back your theme to Lüv Dark, the firefox icon has successfully changed ...
except the Alt Tab icon still is the old one. I have a screenshot for you: http://imgur.com/dzCVMuQ
As you can see on the right side in the taskbar, the icon for firefox has successfully changed. The firefox icon has also be changed for the desktop link, start menu etc...
Only the Alt Tab icon still is the old firefox icon. Does anyone know what I have to do to change it?
Offline
Is it the case that when themes change in packages that update via pacman that the last command you used is also executed during the update I wonder?
Last edited by mcloaked (2016-05-18 09:23:37)
Mike C
Offline
At here
Downloading the luv-icon-theme: https://github.com/NitruxSA/luv-icon-theme/wiki
Unpacking the luv-icon-theme-master.zip
Reading the README.md
Move the folder(s) *Luv* and *Luv Dark* ... or `~/.local/share/icons` for Plasma 5.
Adding Firefox icon to the ~/.local/share/icons/Lüv Dark/apps/64/firefox.svg
Using 'Cute Fox' svg: http://svgcuts.com/blog/2013/01/15/cute … te-sizzix/
Shutting the plasmashell down
kquitapp5 plasmashell
Cleaning all cache files (plasma, icon) from the ~/.cache/
Restarting plasmahell:
plasmashell
Turning the Icon theme to Dark Lüv.
Rebuilding the icon cache:
kbuildsycoca5 --noincremental
Testing....
The Firefox Window icon is still the default - and so it the Alt + Tab / Task Switcher ?? ( https://userbase.kde.org/System_Setting … _Behaviour ) icon.
An older - https://bugs.kde.org/show_bug.cgi?id=294163
Martin Gräßlin 2012-02-15 17:48:10 UTC
...We use the largest icon provided by the window...
The Firefox Window icon: https://developer.mozilla.org/en-US/doc … ndow_icons
There is a bug: https://bugzilla.mozilla.org/show_bug.cgi?id=543490
At here, the Firefox 47 beta is directly from the Mozilla and it is installed to the /usr/local/. So adding:
/usr/local/firefox/browser/chrome/icons/default/main-window.png
Now the Firefox Window icon is same at the Icon theme icon and the Alt + Tab is showing: http://i.imgur.com/DCwlx3l.png
Last edited by Rog131 (2016-05-18 17:41:49)
Offline
Wow, that's a badass of a guide! Thank you very much! Finally I can fix this minor, yet ultimatively annoying problem, thanks!
I will mark this thread solved as soon as I have reproduced the solution on my system.
Last edited by Magnus2552 (2016-05-18 18:01:03)
Offline
I just had the hugest facepalm ever...
I tried your solution and found my */firefox/browser/chrome/icons/default folder, which was in a different location than yours, since I have the stable Firefox from pacman. I tried some things out and I didn't seem to get it working. However, suddenly I stumbled across the section in the GUI KDE system settings where you can choose your GTK theme (nothing special expected here!), except... there is also an icon section for the GTK theme, independent of the global icon theme. And somehow my GTK icon theme was set to breeze-dark. So I changed my icon theme to the one I wanted and boom the Alt Tab design showed the correct icon.
I don't know what the hell I tried, when all I had to do is change a simple GUI switch (again facepalm)...
Thanks anyways for all your help and efforts
Last edited by Magnus2552 (2016-05-18 20:15:25)
Offline