Active Topics

 


Reply
Thread Tools
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#1
How to have some fun with matchbox.

As root run:
vi /etc/osso-af-init/matchbox.defs.

You will be presented with (this is also the default if you mess up):
Code:
#!/bin/sh
# matchbox.defs - Matchbox defines

TITLEBAR=yes
DESKTOPMODE=plain
LOWLIGHT=no
SHOWCURSOR=yes
DIALOGMODE=static
MBTHEME=$DEFAULTMBTHEME
SUPERMODAL=yes

if [ -f $HOME/.osso/mbtheme ]; then
    MBTHEME=`cat $HOME/.osso/mbtheme`
fi
What do these options do?

I will only go through the options that worked and the ones I have tried.

TITLEBAR:
  • Default is yes
  • Controls the bit with the title at the top

The only mod you can do is change it to no. What does that do?:


Change TITLEBAR=yes to TITLEBAR=no.


DIALOGMODE:
  • Default is static
  • Controls the movement of dialog boxes
  • Accepted options are: free | static | const-horiz

This mod lets you move around the dialog boxes! You see when you press on a window bar, it goes transparent? Now you can drag them. This can be fun for rotation

Free Mode:


Yes, it has a little bug where some dialog boxes are placed in wrong position but it can be fixed by dragging like so:



Constant/Consistent Horizontal:



This works perfectly, dragging works, movement is free but it makes things longer. (yes, I try not to laugh)

Being dragged:


Change DIALOGMODE=static to DIALOGMODE=free or DIALOGMODE=const-horiz.

SUPERMODAL:
  • Default is yes
  • Controls whether supermodal dialog boxes (ones that make you give an answer to them before letting you do anything else) can take priority.
  • Accepted options are: yes | no

Setting this to no will let you do other things while receiving a file over bluetooth for example



Change SUPERMODAL=yes to SUPERMODAL=no

I also have a thread on changing your device name too.

Some notes:

Changing DESKTOPMODE=plain to decorated is pointless but does something.
Changing LOWLIGHT=no to yes makes dialog boxes have a black 3d square thing. Not as cool as it sounds.
No idea about this one SHOWCURSOR=yes. (Yabbas says it may be for blinking text cursor.He was right about supermodal)
Leave MBTHEME=$DEFAULTMBTHEME as is. $DEFAULTMBTHEME is a variable pointing to your current theme set.

Last edited by qwerty12; 2008-04-12 at 08:36.
 

The Following 24 Users Say Thank You to qwerty12 For This Useful Post:
pixelseventy2's Avatar
Posts: 357 | Thanked: 115 times | Joined on Sep 2007 @ Sunny England :)
#2
Thanks, I've only enabled the dialog moving feature, but it works well
__________________
pixel - pushing buttons that shouldn't be pushed, and fiddling with things that shouldn't be fiddled with
 
Posts: 393 | Thanked: 112 times | Joined on Jul 2007
#3
Presumably showcursor enables/disables the blinking text cursor?

And supermodal enables/disables supermodal dialog boxes? [You know those dialogs that pop up, stay on top and don't let you click anywhere else until they disappear.]
 

The Following 4 Users Say Thank You to yabbas For This Useful Post:
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#4
Originally Posted by yabbas View Post
And supermodal enables/disables supermodal dialog boxes? [You know those dialogs that pop up, stay on top and don't let you click anywhere else until they disappear.]
Hehe, thanks, i'll disable it and see what happens (why cant I do anything when sending a file over bluetooth )
 
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#5
Yabbas, you are brilliant!

I can use my n800 while recieving a file over bluetooth. Time to update 1st post.
 
Benson's Avatar
Posts: 4,930 | Thanked: 2,272 times | Joined on Oct 2007
#6
Originally Posted by yabbas View Post
Presumably showcursor enables/disables the blinking text cursor?
No, showcursor is related to the general conspiracy to stop mice from working.
See here for more info.
 

The Following User Says Thank You to Benson For This Useful Post:
Natehunderd's Avatar
Posts: 29 | Thanked: 6 times | Joined on Mar 2008
#7
OK - I made it there... Now how to edit the file?
 
Benson's Avatar
Posts: 4,930 | Thanked: 2,272 times | Joined on Oct 2007
#8
Be root. Use any of joe, sed, nano, vi, emacs... it's just a flat file.
 
Posts: 11 | Thanked: 3 times | Joined on Aug 2008
#9
Hey I'm new to this so tell me if i'm doing something wrong because i can't get thsi to work. I used nano to edit the file. Here is what it now looks like.
Code:
#!/bin/sh
# matchbox.defs - Matchbox defines

TITLEBAR=yes
DESKTOPMODE=plain
LOWLIGHT=no
SHOWCURSOR=yes
DIALOGMODE=const-horiz
MBTHEME=$DEFAULTMBTHEME
SUPERMODAL=no

if [ -f $HOME/.osso/mbtheme ]; then
    MBTHEME=`cat $HOME/.osso/mbtheme`
fi
I saved the file over the original one but my windows are still fixed in one spot and bluetooth windows still keep me from doing anything else. Do you have to download a certain theme to use this hack? If anyone has any ideas let me know please. I am running diablo with the latest update.
 
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#10
You need to reboot to see the changes... perhaps that's what's wrong?
__________________
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!
 
Reply


 
Forum Jump


All times are GMT. The time now is 16:34.