OT: html code to open a document in kwrite?

Bob Elzer bob.elzer at gmail.com
Wed Jun 5 11:13:31 MST 2019


I think we are getting into overkill, He said he just wanted to click on
something to run the command.

Desktop icon would be the fastest and easiest to do.


On Wed, Jun 5, 2019, 9:34 AM azlobo73 <azlobo73 at gmail.com> wrote:

> A related option that might work depending on the browser used is webdav,
> but actually it would need to call a local file manager to do the lifting:
>
> Here's an example setup via ownCloud and KDE / Dolphin (just as an
> example):
>
>
> https://doc.owncloud.com/server/user_manual/files/access_webdav.html#accessing-files-with-kde-and-dolphin-file-manager
>
> One would hope that the functionality would be wired into the protocol
> (webdav:// or webdavs://) so if a link is crafted with it, the appropriate
> file manager launches to handle it.
>
> ---
> Ben
>
> python -c "exec(\"import math\\nprint ''.join(map(lambda x: chr(x), (
> (ord('a')-(3*5)), int(math.sqrt(math.pi*76)*5+2),
> int(math.ceil(math.e)*28), int(math.floor(math.e)*35),
> long(abs(4%3*35+3)*2))))\")"
>
> On Sun, Jun 2, 2019 at 11:29 AM Matt Graham <mhgraham at crow202.org> wrote:
>
>> >>> On Fri, May 31, 2019 at 10:16 AM Joe Lowder <joe at actionline.com>
>> >>> wrote:
>> >>>> $ kwrite filename <E>
>> >>>> But I would like to be able to do it by simply
>> >>>> clicking on an entry in a simple html menu.
>> >>>>
>> >>>> These attempts do not work:
>> >>>> <li><a href=file:/home/joe/notes>open notes text file</a>
>>
>> As I said the last time you posted this about a year ago:  If you have
>> an HTML file on your local disk opened with Konqueror, and that HTML
>> file has a <a href="path/to/file.txt">link like this</a>, you can
>> right-click on that link and get a KDE menu where one of the choices is
>> "Open with".  Kate and kwrite are choices available here.  While this is
>> not a single-click solution, it's a heck of a lot easier than almost
>> anything else anyone has mentioned.
>>
>> On 2019-05-31 12:02, Michael Butash wrote:
>> > Keep in mind, what you're asking to do (I think) is essentially
>> > allowing html and hosted files to transcend the browser to open files
>> > in the os and launch a file with a given application
>>
>> See above.  When the HTML file and the files it's linking to are all on
>> a local filesystem, as is the case here, the rules get relaxed.
>>
>> --
>> Crow202 Blog: http://crow202.org/wordpress
>> There is no Darkness in Eternity
>> But only Light too dim for us to see.
>> ---------------------------------------------------
>> PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.org
>> To subscribe, unsubscribe, or to change your mail settings:
>> https://lists.phxlinux.org/mailman/listinfo/plug-discuss
>
>
>
>
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.org
> To subscribe, unsubscribe, or to change your mail settings:
> https://lists.phxlinux.org/mailman/listinfo/plug-discuss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.phxlinux.org/pipermail/plug-discuss/attachments/20190605/8903ced6/attachment.html>


More information about the PLUG-discuss mailing list