The Following 4 Users Say Thank You to Wikiwide For This Useful Post: | ||
|
2012-11-23
, 19:43
|
|
Posts: 4,118 |
Thanked: 8,901 times |
Joined on Aug 2010
@ Ruhrgebiet, Germany
|
#12
|
|
2012-11-23
, 19:50
|
|
Posts: 565 |
Thanked: 618 times |
Joined on Jun 2010
@ Finland
|
#13
|
I tried killing a single browser window with wmctrl -i -c <window id> but it closed all browser windows.
ID=`xdotool search --name "Web"` xdotool windowactivate --sync $ID key --clearmodifiers --delay 100 alt+F4
|
2012-11-23
, 20:22
|
Posts: 669 |
Thanked: 433 times |
Joined on May 2010
|
#14
|
In X-Terminal, code:
will open MicroB with webpage "about:mozilla" loaded. All pages are in tabs within one window.Code:browser --view=tab --url="about:mozilla"
The screenshot was with:
It's an easier way to to make it open the microb browser with the URL you wish to see, and without the separate bookmarks window opening.Code:browser --view=box --url="about:mozilla"
There is also an old discussion, but its dbus command didn't quite work for me.
Also, changing "browser.startup.homepage" in "about:config" seemed to have no effect. Maybe, after restart?
Best wishes...
The Following User Says Thank You to impeham For This Useful Post: | ||
|
2012-11-23
, 20:43
|
Posts: 1,994 |
Thanked: 3,342 times |
Joined on Jun 2010
@ N900: Battery low. N950: torx 4 re-used once and fine; SIM port torn apart
|
#15
|
for me it starts the default browser - opera - how do i use this specifically for microb?
/usr/bin/browser_dbuscmd.sh load_url about:mozilla
@wikiwide
on which system with which version are you running your --view=box or --view=tab options?
On mine N900 with kp50 and microb-engine 20100401-1.9.2-5.2+0m5 they do not work.
But -and only using- the option --url="site_address" works fine.
The Following 2 Users Say Thank You to Wikiwide For This Useful Post: | ||
|
2012-11-23
, 21:35
|
|
Posts: 4,118 |
Thanked: 8,901 times |
Joined on Aug 2010
@ Ruhrgebiet, Germany
|
#16
|
|
2012-11-23
, 22:00
|
Posts: 1,994 |
Thanked: 3,342 times |
Joined on Jun 2010
@ N900: Battery low. N950: torx 4 re-used once and fine; SIM port torn apart
|
#17
|
dbus-send --system --type=method_call --dest="com.nokia.osso_browser" --print-reply /com/nokia/osso_browser/request com.nokia.osso_browser.load_url string:"about:mozilla"
|
2012-11-23
, 22:38
|
|
Posts: 4,118 |
Thanked: 8,901 times |
Joined on Aug 2010
@ Ruhrgebiet, Germany
|
#18
|
The Following User Says Thank You to peterleinchen For This Useful Post: | ||
|
2012-11-24
, 13:52
|
|
Posts: 565 |
Thanked: 618 times |
Joined on Jun 2010
@ Finland
|
#19
|
/usr/bin/maemo-invoker browser wmctrl -c Web /usr/bin/maemo-invoker browser --url http://google.fi
The Following 4 Users Say Thank You to laasonen For This Useful Post: | ||
|
2012-11-25
, 08:46
|
Posts: 669 |
Thanked: 433 times |
Joined on May 2010
|
#20
|
I took a fast look at browser-switchboard's source code and it looks like it replaces microb's dbus service and uses maemo-invoker to open microb when needed.
Something like this might work, if you are lucky:
Sure way would be to:Code:/usr/bin/maemo-invoker browser wmctrl -c Web /usr/bin/maemo-invoker browser --url http://google.fi
- Replace browser-switchboard's dbus-service with microb's dbus service
- Close all microb windows, if bookmark window opens
- Open webpage via dbus
- Replace microb's dbus-service with browser-switchboard's dbus service
The Following User Says Thank You to impeham For This Useful Post: | ||
The screenshot was with:
There is also an old discussion, but its dbus command didn't quite work for me.
Also, changing "browser.startup.homepage" in "about:config" seemed to have no effect. Maybe, after restart?
Best wishes...