Thanks for the leads, but no luck so far.
Sorry for the long post.. I'm keeping track of everything I've done so I don't backtrack and repeat myself.
Manage themes with obconf.
Specify your own custom one in ~/.gtkrc.mine
Code:
gtk-icon-theme-name = "nuoveXT-aero"
By default, themes are found in /usr/share/icons, e.g. /usr/share/icons/nuoveXT-aero/
helper script idea:
Code:
MYTHEME=nuoveXT-aero
ICONDIR=/usr/share/icons
success=no
for i in `find $ICONDIR -maxdepth 1 -type d`;do
if [ "$i" = "$ICONDIR"/"$MYTHEME" ]; then success=yes ; fi
done
if [ "$success" = "no" ]; then
echo fail!
elif [ "$success" = "yes" ]; then
echo "[ok] - $ICONDIR/$MYTHEME"
echo gtk-icon-theme-name = \""$MYTHEME"\" > ~/.gtkrc.mine
else
echo BAD BUG 1
fi
BUT, openbox actually uses the themes in /usr/share/themes, e.g. my current /usr/share/themes/minimal/openbox-3/themerc
However, I see other themes like /usr/share/themes/Wonderland/gtk-2.0/gtkrc
By the way: "export|grep gtk" gives me nothing.
Someone else said to edit /home/user/.gtkrc-2.0-kde with:
Code:
gtk-icon-theme-name="Oxygen-Refit"
To force a test, I tried:
Code:
echo gtk-icon-theme-name = \"nuoveXT-aero\" > ~/.gtkrc.mine
su
cd /usr/share/icons/nuoveXT-aero/22x22/apps/
mv firefox.png firefox.png-
mv firefox-icon.png firefox-icon.png-
# And to avoid Firefox falling back on a default, I tried:
cp web-browser.png firefox.png
mv web-browser.png firefox-icon.png
No luck. This theme isn't being used. I configured openbox largely by hand, and so I have this:
~/.config/openbox/rc.xml
It references my minimal theme, so maybe I should just copy the structure from somewhere else and give minimal some icons. Then maybe I can hijack the firefox icon.
Code:
su
cd /usr/share/icons/nuoveXT-aero/
cp -a nuoveXT-aero minimal
cd minimal/22x22/apps/
mv firefox.png firefox.png-
mv firefox-icon.png firefox-icon.png-
cp web-browser.png firefox.png
mv web-browser.png firefox-icon.png
No joy. It looks like ~/.gtkrc.mine is not being used to set the theme, because obconf is still set on minimal. So let's try modifying minimal. I looked, and /usr/share/icons/minimal/index.theme says that the toolbar default is 24, so I tried correcting that:
Code:
cd /usr/share/icons/minimal/24x24/apps/
mv firefox.png firefox.png-
mv firefox-icon.png firefox-icon.png-
cp web-browser.png firefox.png
mv web-browser.png firefox-icon.png
No joy. Now let's assume that the icons are being scaled from elsewhere. So I'll try deleting all but the largest icons.
Code:
su
cd /usr/share/icons/minimal/
# WARNING: rm -rf AS ROOT, so don't screw up this command!
find -maxdepth 1 -type d \
! -name extra \
! -name . \
! -name 128x128 \
-exec rm -rf {} \;
cd 128x128/apps/
mv firefox.png firefox.png-
mv firefox-icon.png firefox-icon.png-
cp web-browser.png firefox.png
mv web-browser.png firefox-icon.png
No luck. I know that /usr/share/themes/minimal is being used, and I want it to continue to be used, but it feels like all these icons are not coming from /usr/share/icons/minimal/
I checked for an icon default. I see /usr/share/icons/default has only index.theme but inside it only has
# [Icon Theme]
# Inherits=whiteglass
Since everything is commented out
I did not edit /usr/share/icons/minimal/index.theme and so it's just a copy from the other theme, so it would be a bit incorrect inside.
Btw, I also looked at every icon in /usr/share/icons/nuoveXT-aero/24x24/ and I could not find the icon being used for the applications which I want to update. So something's definitely awry.
I'm out of ideas. I'll continue to read through a couple of threads I found. Maybe I'll find something new to try.
I'm also going to check specifically for more skinning/style/theme info for openbox. Maybe there will be some insight there.