View Single Post
Posts: 7 | Thanked: 4 times | Joined on Jul 2009
#9
Originally Posted by Bundyo View Post
Well, you can modify xiojason's script here, but use other means for opening the browser, not dbus. It is a startup proxy after all.
http://talk.maemo.org/showpost.php?p...&postcount=566
Thats perfect! I have it instituted. I changed where it said "tear" for "midori" (as dumb as that sounds) and Midori will launch, but has no clue the arguments I sent it. I tried different things but I'm still lost.

Code:
        os.execl('/usr/bin/dbus-send', 
            '/usr/bin/dbus-send', '--session', '--type=method_call', 
            '--print-reply',
            '--dest=com.nokia.midori', '/com/nokia/midori',
            'com.nokia.midori.OpenAddress', 'string:%s' % uri)
Any suggestions? I've searched for hours here and on Google. Either I suck at searching or no ones wrote about that.