Hello! I have been working on different setups and looks for when i login to IceWM vs KDE (via sddm as a display manager). I have been able to seperate the configurations for both. Except with the case for the icons.
IceWM does not have an icons configuration, and changing the icons via KDE (in the kde settings for icons) changes the icons for iceWM alongside it. Is there a specific way to seperate these two? So that opening icewm via sddm makes programs (like gnome files) use different icons then when i open the same apps in KDE?
I looked in many places but could not find where does KDE and iceWM read the currently selected icon theme from, so i couldnt seperate them manually via some environmental variable.
There is probably a ghetto way to fix this via setting a specific theme in kde settings then using a symlink to switch between them by using some script that makes these symlinks when each session is started by SDDM. But id rather not do this.
TL;DR: What methods do I have to set different icons for apps to use different icons depending on whether i am on KDE vs IceWM?
(PS: if there is an easy way specific to gtk apps. that would makes things alot easier since i exclusviely use gtk apps in iceWM and qt apps in KDE)
maybe environment variables is what you are looking for. Enviroment Variables
although i do this once when an app doesnt use my icon themes via executing
Hi! Thanks for your suggestion. It brings us somewhere but we’re not quite there yet.
IceWM can have environmental variables set in the .icewm/env file. so i figured what i could do is use a tool like gnome tweaks or lxappearance and then set XDG_CURRENT_DESKTOP=GNOME or LXDE so that iceWM will convince the apps that its acting as these other environments and takes their configuration instead.
I tested this, and it worked when I did this in KDE by just passing the environmental variable before running an app, and it works that way! Score! However, when i am in iceWM instead, this trick for some reason doesn’t work. Even passing the variable manually via the terminal didn’t fix it, so I know it’s not a problem with how IceWM is setting the variables. And then returning to KDE again changes the chosen icon back to what KDE had chosen. So, this fix is not permanent.
Any ideas? I also point out that I don’t actually have gnome or LXDE downloaded, but I am not sure thats the problem given that it works just fine while still in KDE, but I can’t be 100% sure.