You are not logged in.

Dear visitor, welcome to KDE-Forum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Tuesday, February 20th 2007, 4:33pm

Admin with Konqueror and Kate

Hi there,

I've been using Konsole and ssh protocol to manage Linux computers for a long time. But I've just discovered Konqui and Kate and it seems to be interesting enough to give them a try.

It is OK to connect to a computer using fish inside Konqui. It is OK to double-click on a file and edit it with Kate. But I cannot save (upload) the file. Actually Kate opens the file on the local computer as /var/tmp/kdecache-<username>/krun/12345.0.<filename>, which is just a copy of the original file. If I use directly Kate to open the file (not through Konqui), then everything goes fine and I can "save and upload".

I suppose there is a setting inside Konqueror that is not correct (Kate is not lauched correctly). Does someone know where is the magic button, what is the setting to change so that I can save directly on the remote computer? Thanx in advance for any clue...

Zorggy

KDE version: 3.3.1
Konqui version: 3.3.1 (of course)
Kate version: 2.3.1

bram85

Professional

Posts: 948

Location: Eindhoven

Occupation: Software Engineer

  • Send private message

2

Tuesday, February 20th 2007, 6:37pm

RE: Admin with Konqueror and Kate

I think this is a matter of switching %f into %u at the invocation of Kate.

You can check that in the K Menu (kmenuedit, locate Kate/KWrite and look how the command looks like). Also check the file associations of text files (the file types you'd like to edit) and check how Kate/KWrite is invoked. Remember, it should be %u and not %f.

By the way, your KDE version is fairly old. Perhaps the problem is in KDE itself but got fixed along the way (we're in the 3.5.x series right now).
Bram Schoenmakers
KDE Netherlands (www.kde.nl)

3

Tuesday, February 20th 2007, 7:39pm

RE: Admin with Konqueror and Kate

Hello Bram,

Wow, you kill me! Your answer is simply perfect:

First, I cannot change the distribution at work: it is Scientific Linux 4, based on Redhat Enterprise 4. Soon version 5 will appear, matter of months. Kate was not present in the K menu, that's why I've added it, simply.

At home I've got (several 8)) Fedora Core 6 and it works fine when connecting between computers. There is a "%U" after the command in the K menu. So I tried to remove it and... same behavior as at work. So tomorrow I'll add the now infamous "%U"!

Thank you very much Bram, now I can try managing, at least some parts, more than 200 computers with Konqui and Kate 8) 8) 8)

Zorggy.

bram85

Professional

Posts: 948

Location: Eindhoven

Occupation: Software Engineer

  • Send private message

4

Tuesday, February 20th 2007, 8:04pm

RE: Admin with Konqueror and Kate

Note that there's a difference between %u and %U. %u is a single file and %U stands for a list of files (same holds for %f and %F). The capital is fine in the case of Kate and other multidocument applications.

And note that U stands for URL and F stands for file. KDE apps can parse URL's pretty well (like fish:// links, but apps like mplayer don't understand them so they need %f)
Bram Schoenmakers
KDE Netherlands (www.kde.nl)