On 08/23/2016 12:31 PM, Daniel Bauer wrote:
Am 23.08.2016 um 17:54 schrieb Anton Aylward:
On 08/23/2016 11:25 AM, Daniel Bauer wrote:
[snip]
I do the following: - on my local laptop I open dolphin and in the address bar type: fish://username@address_of_my_webserver/directory/directory/ - the directory contents are shown - I right click on the file (because it is a html file that I want to open in the editor and not in a browser) and choose "open with"
No comes the magic:
if I just tipe "kwrite" (or gvim) in the field of the open-with-dialog as I always did, the file gets opened with the respective editor, but in the window title a number is set before the file name (e.g. sample.html gets 6361_0_sample.html). Obviously instead of the file itself, a copy was created (well, that’s what I think now...)
Of course. See my other post. FISH is file transfer protocol. You have transferred using SSH - or SFTP or SCP perhaps, take a look at the relevant man pages[1] - a copy of that file to your local machine. You then edit that copy. Oh, right, you don't edit that copy, the editor makes a temporary copy of that downloaded file, and when you close the editor or do a save, it writes to that downloaded copy. You then need the reciprocal FISH 'magic' (SSH, SFTP or SCP) to put the edited copy onto the web server
In this case, the file does NOT get saved on the server, only when closing the window I am asked if I want to "upload" it, and when I y say yes, after asking if I want to overwrite, it gets saved on the server.
And ....? You don't say if that amounts to success. If it does, then what's the problem?
BUT
if I go down the tree of "known applications" in the open-with-dialog, click on "Dienstprogramme" (tools?) to open the subtree, scroll down that list and then click on kwrite... it opens the file without number-prefix, and saving saves the file...
I'm sorry. you mow have me confused. Where are you doing this? Is this an alternative to the FISH download? Is this an alternative to using kwrite or gvim?
The same applies when I search and click gvim from the list instead of typing it's name n the field...
Confused again. What field?
Also it behaves normal when I left click on a file who's type is asigned to kwrite on my system (as .txt, .css etc.).
I presume here you're talking about using dolphin to 'open' a file locally. I ask this because I use Konqeror for everything, not Dolphin, and so have to do mental mapping. For me, left click opens using the configured default for that file type. I presume that's what you mean here.
For obvious reasons I don't want to assign kwrite as standard app for html and thus must go thru the "open with" dialog.
OK, I have right-click on a "text" file in Konq and get a menu with an 'open with" and list of possible, preconfigured and alterable, tools. I don't have a field to type things in. Momment while I try Dolphin. No, I still don't see a field to tye, just the same menu as with Konq.
So there is a new difference added between simply typing the programs name or searching it in the list and then click it from there.
So I can't answer that from experience/testing, but I shouldn't think so. [1] And at https://en.wikipedia.org/wiki/Files_transferred_over_shell_protocol -- A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting frowned upon? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org