steven676
|
2009-12-28
, 21:16
|
Posts: 114 |
Thanked: 201 times |
Joined on Apr 2009
|
#11
|
The Following User Says Thank You to steven676 For This Useful Post: | ||
|
2009-12-28
, 21:26
|
Posts: 114 |
Thanked: 201 times |
Joined on Apr 2009
|
#12
|
The Following User Says Thank You to steven676 For This Useful Post: | ||
|
2009-12-28
, 22:07
|
|
Posts: 4,274 |
Thanked: 5,358 times |
Joined on Sep 2007
@ Looking at y'all and sighing
|
#13
|
Hmm. Does running "maemo-invoker browser" from the shell bring up MicroB? Does running a symlink named "browser" pointing to maemo-invoker bring it up? If neither of those works, I'll have to think of a different way of starting MicroB.
Thanks, looks nifty -- going to have to think about how I want to integrate this, though (keep two copies of the code? #ifdefs?).
|
2009-12-29
, 08:49
|
Posts: 114 |
Thanked: 201 times |
Joined on Apr 2009
|
#14
|
I did this:
Commented out "X-Maemo-Prestarted=always" and "#X-Maemo-Prestarted-Priority=7000" in /usr/share/applications/hildon/browser.desktop (not sure if this is required, mind you).
Ran, as user: /usr/sbin/dsmetool -t "/usr/bin/maemo-invoker /usr/bin/browser.launch"
|
2009-12-29
, 09:07
|
|
Posts: 293 |
Thanked: 206 times |
Joined on Oct 2009
@ Germnay
|
#15
|
|
2009-12-29
, 09:28
|
|
Posts: 4,274 |
Thanked: 5,358 times |
Joined on Sep 2007
@ Looking at y'all and sighing
|
#16
|
A few questions:
- Can you check whether or not modifying /usr/share/applications/hildon/browser.desktop is actually required? (I'm hoping to avoid having to replace or modify another file.)
- Does passing -o instead of -t to dsmetool work for launching MicroB? (The description of -t suggests that it could reset the device if the invocation of the browser fails...)
- Does the "browser" process remain in memory after the last window is closed when MicroB is launched using dsmetool? Does it continue to answer the D-Bus methods for com.nokia.osso_browser (e.g. clicking on links in other applications brings up a MicroB window)?
Thanks!
|
2009-12-29
, 10:03
|
Posts: 114 |
Thanked: 201 times |
Joined on Apr 2009
|
#17
|
There appears to be a problem with this method, too: it only works once per reboot...
The Following User Says Thank You to steven676 For This Useful Post: | ||
|
2009-12-29
, 17:27
|
Posts: 133 |
Thanked: 172 times |
Joined on Jul 2009
@ Travel bag
|
#18
|
It sounds like you're running Diablo? Try installing the package with the Application Manager. When it fails, select Tools->Log from the menu, save the log, and put it somewhere where I can look at it and figure out what's wrong.
hildon-application-manager 2.1.19.1 W: Duplicate sources.list entry http://repository.maemo.org diablo/free Packages (/var/lib/apt/lists/repository.maemo.org_extras_dists_diablo_free_binary-armel_Packages) W: You may want to run apt-get update to correct these problems /usr/bin/dpkg-deb -f '/home/user/MyDocs/browser-switchboard_3.0-1_armel.deb' /usr/bin/dpkg --install '/home/user/MyDocs/browser-switchboard_3.0-1_armel.deb' (Reading database ... 34177 files and directories currently installed.) Unpacking browser-switchboard (from .../browser-switchboard_3.0-1_armel.deb) ... dpkg-divert: cannot open diversions: No such file or directory dpkg: error processing /home/user/MyDocs/browser-switchboard_3.0-1_armel.deb (--install): subprocess pre-installation script returned error exit status 2 Errors were encountered while processing: /home/user/MyDocs/browser-switchboard_3.0-1_armel.deb apt-worker: Ignoring version from wrong domain: libtelepathy-glib0 0.7.0-0osso2 apt-worker: /var/lib/apt/lists/repository.maemo.org_rtcomm_dists_diablo_free_binary-armel_Packages apt-worker: Ignoring version from wrong domain: libgalago-common 0.5.2-0osso8 apt-worker: /var/lib/apt/lists/repository.maemo.org_rtcomm_dists_diablo_free_binary-armel_Packages apt-worker: Ignoring version from wrong domain: libgalago3 0.5.2-0osso8 apt-worker: /var/lib/apt/lists/repository.maemo.org_rtcomm_dists_diablo_free_binary-armel_Packages apt-worker: Ignoring version from wrong domain: libtelepathy2 0.3.1-0osso2 apt-worker: /var/lib/apt/lists/repository.maemo.org_rtcomm_dists_diablo_free_binary-armel_Packages apt-worker: Ignoring version from wrong domain: libdb4.2 4.2.52+dfsg-2 apt-worker: /var/lib/apt/lists/repository.maemo.org_extras_dists_diablo_free_binary-armel_Packages
The Following User Says Thank You to shin For This Useful Post: | ||
|
2009-12-29
, 17:37
|
Posts: 133 |
Thanked: 172 times |
Joined on Jul 2009
@ Travel bag
|
#19
|
dpkg-divert: cannot open diversions: No such file or directory
touch /var/lib/dpkg/diversions
The Following User Says Thank You to shin For This Useful Post: | ||
|
2010-01-05
, 06:51
|
Posts: 114 |
Thanked: 201 times |
Joined on Apr 2009
|
#20
|
Meanwhile, I've updated the GUI to be more Fremantle-friendly; diff here: http://slexy.org/view/s2JL7ye01p