Reply
Thread Tools
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#61
I've uploaded a version of blueman to the mer repo with basic hildon elements (window, application and menu) and fullscreen on F6. It's still not finished, and I will do as much as I can but I'm not a python programmer so if anyone wants to contribute - please do so.

Hacked applet to have right click menu with "left" mouse button:

Last edited by qwerty12; 2009-04-12 at 15:47.
 

The Following 5 Users Say Thank You to qwerty12 For This Useful Post:
Posts: 367 | Thanked: 47 times | Joined on Nov 2008 @ Brooklyn, NY
#62
Originally Posted by Stskeeps View Post
OK, I lied. To fix the crash-everything-when-using-Control-Panel-Panels bug, I had to fix the desktop layout. When you see a hildon-desktop-layout-alpha update, you really want to rm -rf ~username/.osso/hildon-desktop before rebooting.
Will that get my task menu/switcher back from the graves since the clock plugin killed it?

Edit: that did it. Thanks

Last edited by FRZ; 2009-04-12 at 20:20.
 
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#63
Moar blueman screenies:








Tethering doesn't work due to some bug somewhere (http://trac.tspre.org/qwerty12/b.png), connecting to a headset is successful but no sound is sent. The input service really does work - I was controlling my N800, running Mer, using my W810's built in remote control feature!

It's in the Mer repo if you wish to give it a go - it should be available from the application manager in blue pill mode.

Last edited by qwerty12; 2009-04-13 at 16:03.
 

The Following 2 Users Say Thank You to qwerty12 For This Useful Post:
daperl's Avatar
Posts: 2,427 | Thanked: 2,986 times | Joined on Dec 2007
#64
Originally Posted by qwerty12 View Post
Hacked applet to have right click menu with "left" mouse button
Here's some basic code to simulate tap-and-hold:

Code:
class whatever(...):
    ...
    tah_timeout = 1000 # milliseconds
    tah_max_dist = 5 # pixels
    ...
    def __init__(self...):
        ...
        self.press_event = None
        self.button_is_down = False
        self.connect('button-press-event', self.on_button_press)
        self.connect('button-release-event', self.on_button_release)
        ...

    def tap_and_hold(self):
        if self.button_is_down:
            x, y = self.get_pointer()
            dx = abs(x - self.press_event.x)
            dy = abs(y - self.press_event.y)
            if dy <= self.tah_max_dist and dx <= self.tah_max_dist:
                self.press_event.button = 3
                self.press_event.time = gtk.get_current_event_time()
                gtk.main_do_event(self.press_event)
        return False

    def on_button_press(self, widget, event):
        self.button_is_down = True
        self.press_event = event.copy()
        gobject.timeout_add(self.tah_timeout, self.tap_and_hold)

    def on_button_release(self, widget, event):
        self.button_is_down = False
__________________
N9: Go white or go home
 

The Following 5 Users Say Thank You to daperl For This Useful Post:
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#65
Awesome, many thanks! I'm currently attaching the activate signal to the on right click def and using gdk.geteventtime (something like this, did I mention I'm not a programmer? ). I'm using your code from the tear thread for tap & hold in the blueman-manager (you are credited for it) and this code for the applet sounds much better than my hack. I'll apply it tommorow, thanks!
 
daperl's Avatar
Posts: 2,427 | Thanked: 2,986 times | Joined on Dec 2007
#66
Originally Posted by qwerty12 View Post
...did I mention I'm not a programmer?
Well, you can live in denial all you want, 'cause "you're the best damn non-programmer I've ever seen." [appropriately stolen from "The Natural"]

Are you really only 16? That's a joke, right?
__________________
N9: Go white or go home
 

The Following User Says Thank You to daperl For This Useful Post:
Posts: 367 | Thanked: 47 times | Joined on Nov 2008 @ Brooklyn, NY
#67
Originally Posted by daperl View Post
Well, you can live in denial all you want, 'cause "you're the best damn non-programmer I've ever seen." [appropriately stolen from "The Natural"]

Are you really only 16? That's a joke, right?
My sentiments exactly. Cause he is doing pretty good.
 

The Following User Says Thank You to FRZ For This Useful Post:
Posts: 126 | Thanked: 94 times | Joined on Jun 2007 @ Berlin, Germany
#68
Will it be possible to use the classic Maemo desktop layout in Mer as well? I can't see the approach I see in current Mer screenshots as going to work well with my favorite theme (LCARS), and I'm also not too keen on losing the vertical screen space due to the larger bar at the top.
 
Posts: 607 | Thanked: 296 times | Joined on Jun 2008 @ Finland
#69
Originally Posted by Sho View Post
I'm also not too keen on losing the vertical screen space due to the larger bar at the top.
Larger? Isn't 52px exactly the same what Diablos statusbar is?
__________________
Touch Book .. do not waste you money on it.
 
Posts: 126 | Thanked: 94 times | Joined on Jun 2007 @ Berlin, Germany
#70
Dunno, going by the screenshots Mer's looks larger to me.
 
Reply

Tags
firmware, linux distribution, mer, mer release


 
Forum Jump


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