![]() |
[Solved] starting microb browser without the bookmarks window
Is there a way to do that from command line?
i cannot even find a way to close this bookmarks window using any command without killing the browser itself - which i find very weird since if i click its X button it does not close the browser. |
Re: starting microb browser without the bookmarks window
I don't have a N900, but you could try something like this with wmctrl to make the application think its being closed from the useri nterface:
Code:
wmctrl -c Web |
Re: starting microb browser without the bookmarks window
Quote:
|
Re: starting microb browser without the bookmarks window
(EDIT) Ahh.. scratch that: you mean you want to programmatically close the bookmarks window but not the whole browser?
Quote:
Note: I'm on stock PR1.3.1, no CSSU. |
Re: starting microb browser without the bookmarks window
Quote:
Code:
wmctrl -l |
Re: starting microb browser without the bookmarks window
Quote:
|
Re: starting microb browser without the bookmarks window
You guys like it the hard way... Why not calling the appropriate dbus method to start a new browser ?
dbus-send --system --type=method_call --dest="com.nokia.osso_browser" --print-reply /com/nokia/osso_browser/request com.nokia.osso_browser.open_new_window string:"about:blank" boolean:false Et voilą! |
Re: starting microb browser without the bookmarks window
Quote:
to make it open the microb browser with the URL you can use: dbus-send --session --type=method_call --print-reply --dest="com.nokia.osso_browser" /com/nokia/osso_browser/request com.nokia.osso_browser.switchboard_launch_microb string:http://www.google.com however - this also opens the bookmarks window which is the main issue. |
Re: starting microb browser without the bookmarks window
1 Attachment(s)
Quick reply...
MicroB can be started as "browser", for instance, in case of "browser --view=box" the window with list of bookmarks is closed as soon as you open anything in browser. That's not to say that this style of browsing will not require stylus and patience. http://i.imgur.com/RKhhm.png?1?7208 Best wishes. __________________ Per aspera ad astra... |
Re: starting microb browser without the bookmarks window
Quote:
|
Re: starting microb browser without the bookmarks window
Quote:
Code:
browser --view=tab --url="about:mozilla" The screenshot was with: 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... |
Re: starting microb browser without the bookmarks window
@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. |
Re: starting microb browser without the bookmarks window
Quote:
Code:
ID=`xdotool search --name "Web"`
|
Re: starting microb browser without the bookmarks window
Quote:
|
Re: starting microb browser without the bookmarks window
Quote:
Maemo 5: 21.2011.38 (CSSU Testing) Ah, code to start normal window with needed URL without seeing bookmarks window (probably doesn't work when MicroB isn't default browser, though): Code:
/usr/bin/browser_dbuscmd.sh load_url about:mozilla Best wishes. Quote:
__________________ Per aspera ad astra... |
Re: starting microb browser without the bookmarks window
@wikiwide
browser --help just opens the bookmark window without leaving any message in x-term. Defining default browser on Maemo is easily done via package 'browser-switchboard'. If your commands would work it would be smth like microb --url="about:mozilla" (but this also opens the bookmark window) |
Re: starting microb browser without the bookmarks window
Quote:
Code:
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" |
Re: starting microb browser without the bookmarks window
Yep, this (of course) works.
But it opens Opera when Opera is the default browser, so not what the OP is asking for ... |
Re: starting microb browser without the bookmarks window
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: Code:
/usr/bin/maemo-invoker browser
|
Re: starting microb browser without the bookmarks window
Quote:
|
Re: starting microb browser without the bookmarks window
BTW: Sometimes desktop links opens the bookmarks window,
sometimes not. Strange. So, how to disable the appearance of the bookmarks window when opening desktop links? My N900's problem is that the bookmarks window jams the browsing badly. Even if I immediately close the bookmarks window, the browsing is jammed. When bookmarks window does not come up, browsing works ok. More strange happens: it takes 9 minutes to open a webpage via the bookmarks window. Thus I prefer the desktop links. But then the desktop links may cause more problems: Only four desktops, so many links. No ability to organize the links: say, by labeling and grouping desktop areas. Perhaps because I have so many links, the system menus are starting to show as black: menu entries are invisible. Likewise the character dialog. The desktop links and app icons are many times invisible too. The toolbar bitmap is showing wrong bitmaps: like the clock is replaced by bitmap taken from some other part of display. Switching to other browsers is no because Firefox Mobile and Opera are some kind of jokes compared to the Web in usability. (And I have advice: when hardware is limited, the browser should be more cabable, not reduced like Firefox Mobile.) |
Re: starting microb browser without the bookmarks window
Quote:
Quote:
Did you know how many packages are connected to default browser, in one way or another? microb-eal, microb-engine, microb-engine-common, tablet-browser-ui, tablet-bookmark-manager, and many others. Searching for bookmark window is a nightmare. Quote:
Quote:
Quote:
Oh, and I thank Sentinel1705 for tip: there is a small config file at "/home/user/.browser". And there are MicroB tweaks. And who knew that MicroB renders not only nokia maps, but also chat conversation and SMS conversation, if rtcom-messaging-ui is to be believed? Quote:
Since you prefer to use MicroB as default, this should work for you: Code:
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" Best wishes. __________________ Per aspera ad astra... |
Re: starting microb browser without the bookmarks window
The final tested working solution for this issue is the following script which will open the url from parameter 1 with a single maemo browser window:
#!/bin/sh current=$(browser-switchboard-config -b) browser-switchboard-config -s -b "microb" 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:"$1" sleep 5 browser-switchboard-config -s -b "$current" |
All times are GMT. The time now is 00:21. |
vBulletin® Version 3.8.8