View Single Post
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#16
Matan: I'm obviously not doing something right. I renamed your matchbox-window-manager to "matchbox-window-manager-matan" and copied the /etc/osso-af-init/matchbox.sh script to matchbox-matan.sh, and then I changed the new script to point to your mb-w-m instead of the standard one. I tried to shut down the mb-w-m (using the old matchbox.sh script) and then start the new one (using the new matchbox-matan.sh script) and it did really weird things; the stylus keyboard was up in the top left corner, I couldn't switch windows properly, the decorations disappeared... wow... it's almost as if the new window manager didn't start at all, even though the script acted like it did... no errors, just not working.

Perhaps I have to name it "matchbox-window-manager"? I won't be able to include this version in my package if I can't keep the old wm; completely replacing the wm is too invasive a procedure to inflict on the general public...

EDIT: Here's my script.

Code:
# Shut down Matchbox Window Manager.

. /etc/osso-af-init/af-defines.sh
. /etc/osso-af-init/matchbox.defs
echo dialogmode=$DIALOGMODE 
echo stopping matchbox...
. /etc/osso-af-init/matchbox.sh stop

# Start up Matchbox Window Manager again, with the new settings.

. /etc/osso-af-init/af-defines.sh

# Always run matan mbwm in free mode
. /etc/osso-af-init/matchbox.defs.window-hack

echo dialogmode=$DIALOGMODE 
echo starting matan matchbox...
. /etc/osso-af-init/matchbox-matan.sh start
__________________
qole.org --- twitter --- Easy Debian wiki page
Please don't send me a private message, post to the appropriate thread.
Thank you all for your donations!

Last edited by qole; 2008-10-15 at 18:20.