Getting default browser application within a script ?

Kevin Krammer kevin.krammer at gmx.at
Thu Sep 23 13:52:23 BST 2010


On Thursday, 2010-09-23, Aaron Lewis wrote:
> Hi,
>     How do i get the default web browser within a shell script ?
>     Is there any dbus interface or configuration files that we can
> rely on ?

If you just want something to be opened in the default browser, you can use 
xdg-open

Cheers,
Kevin
-- 
Kevin Krammer, KDE developer, xdg-utils developer
KDE user support, developer mentoring
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde/attachments/20100923/a0ee3eee/attachment.sig>
-------------- next part --------------
___________________________________________________
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.


More information about the kde mailing list