View Single Post
penguinbait's Avatar
Posts: 3,096 | Thanked: 1,525 times | Joined on Jan 2006 @ Michigan, USA
#40
Originally Posted by lbattraw View Post
Looks exactly like what's needed. I can't believe that Nokia would be so ridiculous as to actually worry about which theme was being used.... When shutting down. Very bad design. Anyway, here's a line that can automatically adjust to whatever theme you're using; seems to work great for me. I'm really hoping it doesn't get mangled when I post it:
MBTHEME=`ps -ef | grep matc | grep theme | sed 's/\([^\/]\+\)\(\/usr\/bin\/matchbox[-a-z0-9]\+\)\( -theme \)\([^ ]\+\)\(.*\)/\4/g'`

Larry
This is a Little cleaner, but I like your other idea better anyway

MBTHEME=`ps -fe | grep matchbox-window-manager | grep -v grep | awk '{print $8}'`

So I am assuming your now able to run KDE

Last edited by penguinbait; 2007-03-29 at 14:07.