maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   OS2008 / Maemo 4 / Chinook - Diablo (https://talk.maemo.org/forumdisplay.php?f=29)
-   -   Matchbox: Titlebar Swiping (https://talk.maemo.org/showthread.php?t=77947)

auouymous 2011-09-27 05:05

Matchbox: Titlebar Swiping
 
N900 owners should look at forum section before breaking their devices.

Not sure if it is the matchbox hack or Telescope but the minimize/close buttons and part of the statusbar are broken in non-Diablo5 themes with this hack, could be broken without it and Telescope, I don't know. Works great with Diablo5 and Telescope.

Download the modified matchbox package and run dpkg -i matchbox-window-manager_1.2-osso19_armel.deb to install it. Then restart your device.

Open a couple apps and swipe horizontally, left[back] or right[forward], on the titlebar to cycle between them. Swipe down from the titlebar to hide the app. Hidden apps can not be cycled to with horizontal swipes, you'll need to switch to them with Telescope or task navigator to unhide and get them back in the window list. :)

http://maemo.qzx.com/matchbox-swipe-screenshot.png

Telescope doesn't refresh hidden(iconized) apps and its thumbnail will be a checkered pattern if it hasn't previously drawn it.

Swiping doesn't work in portrait mode because the menu and close button hotspots are too close, leaving no place to begin the swipe. You can use my Diablo5 Theme Tweaker to fix this.

--

The red area in the following screenshots opens the application menu when tapped and the blue area is where swipes must begin.

http://asui.garage.maemo.org/opt/mat...titlebar-2.jpg

Other themes use a much larger menu hotspot, leaving very little space to begin the swipe.

http://asui.garage.maemo.org/opt/mat...titlebar-1.jpg

You can decrease the red hotspot and increase the blue hotspot by editing /usr/share/themes/YOUR-THEME/matchbox/theme.xml and search for "custom". It will look like this:

<button x="3" y="0" w="315" h="60" action="custom" options="inputonly,pressonly" />

The 315 is the width of the red menu area. Reduce this value to something smaller like 100 and then you tap the left side of the title bar to open menu and swipe anywhere on the right side to switch. Reboot after you make this change.

--

The unpatched binary is 3.6k smaller than the original so I may have left something out but it appears to work for me.

--

Here is the source, patch and configure options if you want to build it yourself:

Matchbox source code: http://repository.maemo.org/pool/dia...indow-manager/

swipe patch

export DEB_BUILD_OPTIONS="maemo-launcher,thumb,vfp"
./configure --prefix=/usr --enable-alt-input-wins --enable-xsync --enable-frameanimation --disable-xrm

Addison 2011-09-27 05:33

Re: Matchbox: Titlebar Swiping
 
Using Microb, when I downloaded your file, it named it matchbox-window-manager-swipe.htm

Clicking on it in either Tear or Microb, it wouldn't pull up the download option, it just opens up to a new web page.

Do I just remove the .htm extension?

Sorry, I'm dumb. :)

Addison 2011-09-27 05:56

Re: Matchbox: Titlebar Swiping
 
Well, I'm fairly sure that I followed all of your instructions correctly.

It's not doing anything.

I have ASUI, CSSU and DT.

No Diablo5 theme or Telescope though.

Can I run anything on the command line to see what this is doing?

auouymous 2011-09-27 06:08

Re: Matchbox: Titlebar Swiping
 
Does the app's menu open when you tap anywhere on the titlebar? Will be almost impossible to swipe if so.

Try downloading it with wget as root, and make sure to chmod 755 it.

Addison 2011-09-27 06:20

Re: Matchbox: Titlebar Swiping
 
http://img99.imageshack.us/img99/538...1092702155.png

What's the tilebar?

I've just swept left and right on all places on the screen and nothing happens.

Can you post a pic of what you're doing?

auouymous 2011-09-27 06:47

Re: Matchbox: Titlebar Swiping
 
IMAGE REMOVED

The red area is the titlebar, when you tap the red area does the app's menu open? If so, does the menu also open if you tap the blue area? If not then the blue area is the space you have to swipe.

IMAGE REMOVED

With DIablo5 theme the red menu area is much smaller and the blue swipe area is larger.

Addison 2011-09-27 06:56

Re: Matchbox: Titlebar Swiping
 
Ooooooh!!

Yesh!

It actually works!

Awesome job Auounymous!!!!! :D

Addison 2011-09-27 07:02

Re: Matchbox: Titlebar Swiping
 
So this can only be used with apps that are in windowed mode?

auouymous 2011-09-27 07:19

Re: Matchbox: Titlebar Swiping
 
Quote:

Originally Posted by Addison (Post 1097109)
So this can only be used with apps that are in windowed mode?

Correct.

Are you only able to begin swipes in the tiny blue area?

Addison 2011-09-27 07:23

Re: Matchbox: Titlebar Swiping
 
Yeah, just that area alone.

I pretty much can get it nailed down to working 100% of the time though. :)


All times are GMT. The time now is 10:39.

vBulletin® Version 3.8.8