DistroWatch Weekly: Tips and Tricks with Konqueror and Kate

The current DistroWatch Weekly is guest-edited by Adam Doxtater, of Mad Penguin. His Tips and tricks section takes a look at Konqueror and Kate and lets us know that "Konqueror and Kate make an excellent remote admin team... and a killer casserole". He covers Konqueror's split view and the power of kioslaves to edit directly from a remote server.

Dot Categories: 

Comments

by fast_rizwaan (not verified)

Could you please tell me how to hide the sidebar buttons, they really look "awful," I prefer Metabar alone and no other sidebar button. I remember something has to be added in konquerorsidebartngrc or something like that. TIA.

by Bram Schoenmakers (not verified)

You can just rightclick on each undesired sidebar button and choose "Remove". If that is what you meant.

yes

by asharrot (not verified)

¿F9?

by fast_rizwaan (not verified)

I love konqueror for it's universal document view/preview capability. May it be music, video, text, pictures, or documents (pdf, ps, rtf, odt, etc).

If we improve konqueror's Music and Video preview support with a *sidebar playlist* then who'd need a dedicated music player like xmms, juk.

Konqueror really rocks!!! thanks konqi and kdelibs developers for wonderful kparts!

by Thorsten Schnebeck (not verified)

amarok provides a sidebar playlist for konqi

Bye

Thorsten

by Rev (not verified)

It sounds as though you just use konq, not kde itself?
If I am correct on this please explain how you were able to do this
thanks.

by piters (not verified)

Being a "die-hard" KDE user (since pre-1.0),and in particular
a die-hard konqueror user, I'm still not convinced...

The ultimate tool for me is still Midnight Commander + Konsole.
MC does:
*)remote access via ftp and ssh
*)opens tar.gz, zip, unpacks RPMs, etc in place
*)deleted file recovery on ext2
*)a flexible editor with user-defined syntax-highlightling
*)easily extensible with any file-viewer you want
*)excellent integration of panels with commandline
(I mean CTRL-ENTER and CTRL-X,P and hiding the panels using "ESC" to
show the output of the commands I executed).

All in one, with memory-footprint of some 500kB...

Plus my favourite konsole features: add new session,
send output to all sessions, switch to previous/next session...

And no, customizing Krusader key-bindings is far from approaching it...
Typing CTRL-ALT-N (new konsole window) and typing "mc" is probably
one of the most used key combinations on my PCs... and it's ready in less than half-a-second... And it works great over ssh over a modem line.

I would really appreciate deeper integration of konq/kioslaves with command-line. There's a lot of commandline behind system administration anyway... Simple embedding of konsole and browsers in the same window
is not enough...

by Kevin Kramme (not verified)

You can do a lot of KIO slave work from commandline using kioexec and kfmclient

by TomM (not verified)

I could probably google, but this is easier :).

How do you use KIO slaves on the cmd line? For example, I love smb:// because I can't scp to my linux box from windows. How can I do a cmdline cp smb://server/path/file /path?

I looked at kioexec --help and got nothin'.

thanks

by Kevin Krammer (not verified)

kfmclient copy URL destination

by Evan "JabberWok... (not verified)

FWIW, the name kfmclient is depreciated... kioexec is the exact same app, and is preferred.

by Kevin Krammer (not verified)

Are you sure about that?

How does
kfmclient exec http://www.kde.org/
map to kioexec?

by Evan "JabberWok... (not verified)

Heh. I popped back to post a correction and you had already checked.

Yup, they are different. For some reason (maybe somebody had suggested it at one point), I thought they were identical and merely linked. I do note that kfmclient is awfully small.

Great... now I have a couple hours of poking around ahead of me to play with them and read through the source code. :)

by ChrisK (not verified)

A quick way to figure out the cmd line version of a konq copy operation is to drag a remote file from konq to konsole, which pops up a dialog asking among other things if you want to copy the file to the working directory. If you choose copy, then the appropriate command is executed in that terminal session. Of course, at this point the file is already there ;-) but it's still helpful for the 'reverse' case, i.e. copying the file back.
Drag and drop *into* terminal sessions is for me one of those "KDE just got it right" sort of things :-)

-chris

by Kevin Krammer (not verified)

Übercool!

Somehow I never thought about dragging to Konsole, I even had problems figuring out how to create script commands from kdcop (again DnD to Konsole)

Drag&Drop functionality is something really hidden. If you don't try it you never find out :(

P.S.: kfmclient copy is one of the examples in my KDE scripting presentation:
http://www.sbox.tugraz.at/home/v/voyager/scriptingkde/

by Roberto Alsina (not verified)

Of course you can scp into linux from windows!

http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html

by TomM (not verified)

Oh, I know its possible, but with the way my network is set up, my windows box can't get to my linux box. Something wierd about the vpn router the linux box is on.

by Evan "JabberWok... (not verified)

Other than deleted file recovery (as opposed to trash, which is the way Konqueror handles it), I see nothing in your bulleted list that Konqueror plus Kate can't do.

Perhaps you're just used to mc, and are trying to make Konqueror to work like it - a recipe for frustration. Try to approach a new app with an open mind and figure out how to use it in the manner it was designed.

As for your last point, there are a slew of commandline tools like kfile and kioexec, plus commandline apps like konsolekalendar as well as the dcop app and DCOP key bindings that allow integration in any manner you wish. I have...

grep dcop ~/usr/bin/* |wc -l
341

Over 300 calls to dcop in my personal tools, almost all of which are bash scripts. Some are bound to keys, but most are commandline tools. There are a handful of bash functions like klip ( http://www.linuxgazette.com/node/9047 ) in my .bashrc as well.

by Kris (not verified)

I use mandrake/mandriva. No different what version and computer I use, konqueror is so slow, when webpage uses flash animation. FF and flash is ok. I hope, this is mandriva problem.. but how can i fix this system ?

by fast_rizwaan (not verified)

a very user-friendly like Linspire (http://www.linspire.com) or Xandros!

by Kris (not verified)

I dont want install new distro. I want only know why mandriva and konqueror work slowly (pages where is flash) and konqueror take all power from cpu !?!If from other distros KDE & konqueror works fine webpages where is flash, then I think that mandriva team need fix something.

by superstoned (not verified)

the problem is with flash, the linux plugins for it just suck, afaik. i don't even have them installed, they make it all too slow. hope gplflash, which seems to be alive again, fixes this.

by Henrique Marks (not verified)

No. It is a Mandrake problem. I hope when they release Mandriva, a cooperative work of Mandrake and Conectiva and Xandros they can learn how to deliver a proper konqueror. I will say some of the problems with Mandriva, spread the news please:

- The use of cache is disabled (!!!!). I cant figure out why they did this. In my conectiva, it was never like this. Enable it.

- The use of javascript and java are disabled (!!!!). No comments. Easy Distribution ?

- it happened in my Mandriva, cant say if it was only my problem, but the cursor changes when i pass a link, and it doesnt appear a hand, it appears that bar that should appear in line edits. I really believe this is some strange error in my instalation only, but please, verify.

- the use of plugins were disabled (!)

- and at last, who is the artist that works there? it is all terribly ugly. i like carnival in brasil, but not in my computer.

I hope they produce a better product in the future first Mandriva release. this one thats out there is a monster, made in a hurry. it is not representative of Mandrake.

by Anonymous (not verified)

Am I also the only one who notices that KControl uses a *way old* outdated layout and is *never* updated to get the new KDE improvements? I still see ugly entries like "LookNFeel" in Mandriva.

by Kris (not verified)

But whay FireFox and flash works oko, but konqueror and flash don't ?

by superstoned (not verified)

it might be the combination, i dunno... as i said, i don't use it anymore, it was just problems problems problems. with firefox, too, here.

by ujwal (not verified)

Hi all,
i use debian 4.0 with firefox and konqueror on 386mb of RAM. Firefox goes to hell.. it always crashes after 1 or 1.5 hr using my 150mb or more of my RAM so i used konqueror in gnome. I found really shocked when i was not able to get my gmail (might be google's policy). The performance was extra, really much faster than firefox. Now a day's it is not. konqueror is very much slow. firefox loads much faster than konqueror. when watching youtube, firefox streams completely in 15 sec but konqueror displays video in scratch mode. I'm really sick of these. Wish to get solution for this problem.