Active Topics

 



Notices


Reply
Thread Tools
Posts: 209 | Thanked: 8 times | Joined on Nov 2005 @ Fishers, Indiana
#31
Originally Posted by penguinbait View Post
Can you tell me whats installed, is this a plain jane. I have heard of people having problems if they are running a theme. I am only using the default theme, could this be an issue with you?
I suppose it's a possibility as I'm using the "Danjon" theme that's included in the default image. I'm not sure how that would interfere with matchbox shutting down though. I am definitely not running a plain jane fresh install; I have abiword, maemo-mapper, fbreader, fmradio-applet, and a host of other apps.
Originally Posted by penguinbait View Post
stopmaemo should be run as user, the variables in the stopmaemo script are necessary to get matchbox to stop. I only ran as user, no sudo is needed.

If you look in the stopmaemo you will see the line to stop matchbox, what happens if you run that manually.
It doesn't do anything aside from the message you get that matchbox is shutting down.
Originally Posted by penguinbait View Post
You say you "SEE" matchbox is still running? Are you talking visibly, not ps? You can not see matchbox running, you can see maemo-desktop running?
I can see it by running "ps -ef | grep matchbox". At that point I see the matchbox-wm process listed as "/usr/bin/matchbox-window-manager -theme theme3 -use_t". I can also detect that fact it's running by trying to move windows (after KDE has started) which turn transparent instead of moving and exhibit the theme decorations from Hildon instead of KDE. I edited stopmaemo and commented out the "startkde" line to avoid having all those mesages scrolling past; after running the stopmaemo script several times it never stopped matchbox except in one isolated instance I can't reproduce (rebooted to test it and that was it-- never again).

Larry
 
penguinbait's Avatar
Posts: 3,096 | Thanked: 1,525 times | Joined on Jan 2006 @ Michigan, USA
#32
Originally Posted by lbattraw View Post
I suppose it's a possibility as I'm using the "Danjon" theme that's included in the default image. I'm not sure how that would interfere with matchbox shutting down though. I am definitely not running a plain jane fresh install; I have abiword, maemo-mapper, fbreader, fmradio-applet, and a host of other apps.

It doesn't do anything aside from the message you get that matchbox is shutting down.

I can see it by running "ps -ef | grep matchbox". At that point I see the matchbox-wm process listed as "/usr/bin/matchbox-window-manager -theme theme3 -use_t". I can also detect that fact it's running by trying to move windows (after KDE has started) which turn transparent instead of moving and exhibit the theme decorations from Hildon instead of KDE. I edited stopmaemo and commented out the "startkde" line to avoid having all those mesages scrolling past; after running the stopmaemo script several times it never stopped matchbox except in one isolated instance I can't reproduce (rebooted to test it and that was it-- never again).

Larry

I run default theme, the openbox thread recently reported similar poblems with changing the theme, to any theme. There is a MBTHEME Defined in stopmaemo script, perhaps it needs to call it by the proper theme. Try to comment out the MBTHEME, or deterMine what the value for your theme. If I get some time, I will play around. Best bet is to change to default theme and see if it works?? lemme know
 
penguinbait's Avatar
Posts: 3,096 | Thanked: 1,525 times | Joined on Jan 2006 @ Michigan, USA
#33
OK, I just tested this,
I booted to hildon, changed my theme to Danjun and started KDE, worked fine.

I then rebooted.
Started hildon with Danjun theme, started KDE from menu. It booted up and crashed on the Panel.

I rebooted to hildon Danjun theme again and changed my theme to the default theme again. Started KDE, crashed again.

rebooted,
boots up to hildon with default theme, started KDE - COMES UP FINE


Switch your theme back to default "Adria" if you want to run KDE. I will see if I can determine a way to use your themes, if you figure it out please post.

I am done for tonight.
 
Posts: 450 | Thanked: 16 times | Joined on Mar 2006
#34
For what it's worth, I switched to the Adria theme -- and still got the "KDE Panel - The KDE Crash Handler." I guess it's always "come up fine" for me with this one(!) exception. That is, the system (KDE) overall has never crashed. (Am I perhaps misunderstanding what consitutes a "crash" in this context?)

Last edited by ascherjim; 2007-03-29 at 01:28.
 
penguinbait's Avatar
Posts: 3,096 | Thanked: 1,525 times | Joined on Jan 2006 @ Michigan, USA
#35
OK, I lied.

Here is how you fix it

Just do a ps and grep for matchbox
Nokia-N800-51:~# ps -fe | grep matchbox
880 user 2864 S < /usr/bin/matchbox-window-manager -theme theme3


Change MBTHEME='default' to whatever theme you are running, in this case Danjun or theme3.


Nokia-N800-51:~# vi stopmaemo
MBTHEME='theme3'
TITLEBAR=yes
DESKTOPMODE=plain
LOWLIGHT=no
SHOWCURSOR=yes
DIALOGMODE=static
SUPERMODAL=yes


There you go Larry!!
 
penguinbait's Avatar
Posts: 3,096 | Thanked: 1,525 times | Joined on Jan 2006 @ Michigan, USA
#36
Originally Posted by ascherjim View Post
For what it's worth, I switched to the Adria theme -- and still got the "KDE Panel - The KDE Crash Handler." I guess it's always "come up fine" for me with this one(!) exception. That is, the system (KDE) overall has never crashed. (Am I perhaps misunderstanding what consitutes a "crash" in this context?)
You have to reboot after changing your theme to Adria
 
Posts: 450 | Thanked: 16 times | Joined on Mar 2006
#37
HEY! I rebooted and now everything looks good! The Switch to the Adria theme -- and rebooting -- must be the answer, at least for me. Many thanks Penguinbait. Now go and placate your wife! Regards, Jim
 
Posts: 209 | Thanked: 8 times | Joined on Nov 2005 @ Fishers, Indiana
#38
Originally Posted by penguinbait View Post
OK, I lied.

Here is how you fix it

Just do a ps and grep for matchbox
Nokia-N800-51:~# ps -fe | grep matchbox
880 user 2864 S < /usr/bin/matchbox-window-manager -theme theme3


Change MBTHEME='default' to whatever theme you are running, in this case Danjun or theme3.


Nokia-N800-51:~# vi stopmaemo
MBTHEME='theme3'
TITLEBAR=yes
DESKTOPMODE=plain
LOWLIGHT=no
SHOWCURSOR=yes
DIALOGMODE=static
SUPERMODAL=yes


There you go Larry!!
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
 
Posts: 209 | Thanked: 8 times | Joined on Nov 2005 @ Fishers, Indiana
#39
Small change here... There are bunch of .defs files that contain nifty scripts for parsing out the current theme and so forth. Here's the modified stopmaemo script using them. Much shorter...

Larry

source /etc/osso-af-init/osso-gtk.defs
source /etc/osso-af-init/matchbox.defs
echo Theme is $MBTHEME

source /etc/osso-af-init/maemo-af-desktop.sh stop
sleep 2
source /etc/osso-af-init/matchbox.sh stop
sleep 1

export PATH="/usr/bin:/bin:/usr/local/bin:/usr/local/samba/bin:/usr/local/samba/sbin"
export QTDIR=/usr/local/include/qt
export PATH=$PATH:/usr/local/qt/bin:/usr/local/kde/bin:/usr/local/bin:/usr/local/sbin
export LD_LIBRARY_PATH=/usr/local/qt/lib:/usr/local/kde/lib:/usr/local/lib:$LD_LIBRARY_PATH
export XDG_CONFIG_DIRS=/usr/local/kde/etc/xdg/
export XDG_DATA_DIRS=/usr/local/kde/share
export KDEDIR=/usr/local/kde

/usr/local/kde/bin/startkde &
 
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.
 
Reply


 
Forum Jump


All times are GMT. The time now is 09:13.