[kde] Sending HTML to konqueror from the command line (via a named pipe)
- From: Randy Kramer <rhkramer@xxxxxxxxx>
- Date: Tue, 21 Nov 2006 20:24:01 -0500
With the help of some posters over on the lvlug list (lvlug@xxxxxxxxxxxxxxxx),
I've been able to send some HTML to firefox and lynx from the command line,
via a named pipe, iiuc.)
I can't get the same thing to work for konqueror. Any hints? (I've tried
quite a few ways of invoking konqueror and variations on the URL.)
Here's what works in lynx and firefox:
[rhk@s14 rhk]$ mkfifo foo.html
[rhk@s14 rhk]$ echo "<HTML><HEAD></HEAD><BODY>TEST</BODY></HTML>" > foo.html
Then, in firefox, browse to file:///rhk/foo.html, or start firefox (or lynx)
with:
mozilla-firefox file:///rhk/foo.html &
Tried the same thing, and quite a few variations, with konqueror and none of
them work.
(The following is just a partial list of some of the variations--I've mixed
and matched, varied the number of slashes, added my host name, my fully
qualified host name, tried localhost...
* kfmclient openProfile webbrowsing /rhk/foo.html
* konqueror http:///rhk/foo.html
* dcop konqueror-21622 konqueror-mainwindow#1 newTab file:///rhk/foo.html
)
Any hints?
Randy Kramer
___________________________________________________
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.
- Prev by Date: Re: [kde] Changing the Web browsers cache setting through dcop
- Next by Date: [kde-linux] helo kde -qt prob on redhat 9
- Previous by thread: [kde] Changing the Web browsers cache setting through dcop
- Next by thread: [kde-linux] helo kde -qt prob on redhat 9
- Index(es):
Relevant Pages
|