View Single Post
Posts: 193 | Thanked: 41 times | Joined on Jan 2007 @ Paia, Maui, Hawaii
#2
Originally Posted by taylork View Post
I'm trying to setup my url-viewers line in pine.

What is the command to run the browser from on an xterm? How would I run it in a new or existing window and go to www.google.com for example?
From a thread relating to setting up 'gaimī fo launch email in the default browser:

- launch in a new window:
Code:
dbus-send --type=method_call --dest=com.nokia.osso_browser /com/nokia/osso_browser/request com.nokia.osso_browser.open_new_window string:%s
- launch in an existing window:
Code:
dbus-send --type=method_call --dest=com.nokia.osso_browser /com/nokia/osso_browser com.nokia.osso_browser.load_url string:%s
I just double checked this in Xtterm replacing %s with 'www.gmail.com' and it worked fine.

Perhaps somebody else knows a better way.


[PS: /usr/bin/browser 'www.gmail.com' gives me a "Segmentation fault "