[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde
Subject:    Re: [kde] using remote URL instead of cache
From:       Daniel Barna <daniel.barna () cern ! ch>
Date:       2012-03-08 10:20:05
Message-ID: 4F5887D5.203 () cern ! ch
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


First of all, sorry for not replying to the original mail (i.e messing 
up the thread in the archive). I received it in a digest email, did not 
manage to figure out how to reply in a correct way. I tried with %u 
(updated the .desktop file, ran kbuildsycoca4). Same: the file is cached 
in /var/tmp/kdecache-barna/, and this file is given to my app. Thanks

    On Thursday, 2012-03-08, Daniel Barna wrote:
>     Hi,
>
>     I have created a wrapper script around an application so that it can
>     handle remote files, and also directly save to the remote location (i.e.
>     immediately upload to the remote location when it saves the file)
>     The .desktop file contains this line:
>     Exec=my-application %U
>     indicating that this application can handle remote URLs. Nevertheless,
>     when I open a remote file in dolphin with my application, the remote
>     file is first downloaded to/var/tmp/kdecache-barna/... and this local
>     file is given to my application, instead of the original remote URL. Can
>     I change this behaviour somehow?
    Hmm, you are right that %U should have the desired effect.
    Can you try %u as well, i.e. indicating support for one URL?

    Cheers,
    Kevin


[Attachment #5 (text/html)]

<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <pre wrap=""><div class="moz-txt-sig">
<font color="#000000">First of all, sorry for not replying to the original mail (i.e \
messing up the thread in the archive). I received it in a digest email, did not \
manage to figure out how to reply in a correct way. 

I tried with %u (updated the .desktop file, ran kbuildsycoca4). Same: the file is \
cached in /var/tmp/kdecache-barna/, and this file is given to my app.  Thanks
</font><blockquote>On Thursday, 2012-03-08, Daniel Barna wrote:
<blockquote type="cite" style="color: #000000;"><pre wrap="">Hi,

I have created a wrapper script around an application so that it can
handle remote files, and also directly save to the remote location (i.e.
immediately upload to the remote location when it saves the file)
The .desktop file contains this line:
Exec=my-application %U
indicating that this application can handle remote URLs. Nevertheless,
when I open a remote file in dolphin with my application, the remote
file is first downloaded to <i class="moz-txt-slash"><span \
class="moz-txt-tag">/</span>var/tmp/kdecache-barna<span \
class="moz-txt-tag">/</span></i>... and this local file is given to my application, \
instead of the original remote URL. Can I change this behaviour somehow?
</pre></blockquote><pre wrap="">Hmm, you are right that %U should have the desired \
effect. Can you try %u as well, i.e. indicating support for one URL?

Cheers,
Kevin</pre></blockquote></div></pre>
  </body>
</html>



___________________________________________________
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 in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic