From kde Thu Mar 08 10:20:05 2012 From: Daniel Barna Date: Thu, 08 Mar 2012 10:20:05 +0000 To: kde Subject: Re: [kde] using remote URL instead of cache Message-Id: <4F5887D5.203 () cern ! ch> X-MARC-Message: https://marc.info/?l=kde&m=133120209822672 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--===============3540842867008003300==" --===============3540842867008003300== Content-Type: multipart/alternative; boundary="------------010809060904030007070402" --------------010809060904030007070402 Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit 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 --------------010809060904030007070402 Content-Type: text/html; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit
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
--------------010809060904030007070402-- --===============3540842867008003300== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________ 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. --===============3540842867008003300==--