Re: Have KDE send URL to default browser, not tmp file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Friday, 2010-12-24, Dotan Cohen wrote:
> When clicking links in KDE applications, KDE downloads the file in the
> URI to a tmp file, then passes that file to the browser. For example,
> try this:
> $ kde-open http://dotancohen.com
> 
> See that the address in the browser starts with file:///var/tmp/kdecache-*
> 
> Now, contrast with other options:
> $ gnome-open http://dotancohen.com
> $ python -mwebbrowser http://dotancohen.com
> 
> How can I get KDE apps to pass the URI to the web browser, instead of
> a tmp file? Thanks!

The program associated with text/html or set as web browser is probably 
missing the %u or %U parameter in its command.

Without knowing if the target application can handle URLs by itself, KDE 
assumes a safe fallback and passes the fetched content as a file.

By default the text/html is set to Konqueror with the following command:
kfmclient openURL %u text/html

Cheers,
Kevin

-- 
Kevin Krammer, KDE developer, xdg-utils developer
KDE user support, developer mentoring

Attachment: signature.asc
Description: This is a digitally signed message 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.

[Index of Archives]     [Trinity (TDE) Desktop Users]     [Fedora KDE]     [Fedora Desktop]     [Linux Kernel]     [Gimp]     [GIMP for Windows]     [Gnome]     [Yosemite Hiking]
  Powered by Linux