Web Browser Hero

Perhaps the most versatile, feature-rich web browser available today is on your Desktop and you may not even know its name.

Konqueror the Internet Protocol Client

One of the most interesting and useful features of Konqueror is its ability to act as a client for almost any Internet protocol such as ftp, fish(ssh), smb/cifs, and so on. This is accomplished through the use of KIO plugins referred to as IOSlaves. There is also a long list of local protocols such as audiocd, man, lan, settings, and others. To see a full list of the protocols that are supported, open the KDE Control Center->KDE Components->File Manager->Previews & Meta-Data. You can also check online at: http://docs.kde.org/stable/en/kdebase/kioslave/index.html.

fish/SSH/SFTP

Konqueror can use its file manager powers to connect securely to a remote host and browse a filesystem, open files, create new files, and so on via fish. To use fish, or any Internet protocol, enter the name of the protocol into the Location field and the name of the host you wish to connect to. Konqueror makes no distinction between fish and sftp for connectivity–the experience is the same for you–a remote file manager.


fish://server

or

sftp://server

If you have never connected to this host before, you will be prompted with the remote host’s RSA key fingerprint (as shown in Figure 3) and asked if you would like to continue with the connection. This prompt and acceptance is familiar to those of you who have used ssh at the command line to connect to a remote host. Once you accept the connection, you will be prompted for your password. See Figure 4. After you have been authenticated by the remote host, you are placed into your home directory. Konqueror now becomes a file manager on the remote host restricted only by your user account permissions.

Figure 3: RSA Key Prompt
Figure 3: RSA Key Prompt

Figure 4: SSH Password Authentication
Figure 4: SSH Password Authentication

To copy files to your local system, right-click the file or files you wish to copy and select Copy To->Home Folder->Copy Here. To copy files from the local host to the remote host, open a new tab: Location->New Tab. In the new tab, enter the location from which you want to copy files. You can then copy or cut and paste to the remote host’s window. You can also drag and drop between windows and hosts using Konqueror.

smb/Samba/CIFS

You can also use Konqueror to connect to Windows network shares. To do this, you use the smb protocol.


smb://server/share

If the share is secure, you will be prompted for a username and password. Sometimes using a simple username/password pair will not allow you to connect to a share. You may have to use the computer name or domain with your username to make the connection. When your connection to the share has been established, you may use the share just as you would as if you had connected by fish to a Linux system. Each network connection is platform independent.

Konqueror makes no changes to its behavior based on the remote connection. You could be browsing an nfs share in one tab, a samba share in another, and a fish connection in a third. Fortunately Konqueror keeps track of the different types of connection, for your benefit, in the Location field. Regardless of where you browse or function you perform, if it is on a remote host; the connection parameter remains in the Location field. See Figure 5.

Figure 5: Browing Multiple Locations
Figure 5: Browing Multiple Locations

Internet Protocols

  • fish (ssh)
  • ftp
  • imap/imaps
  • ldap/ldaps
  • mac
  • nfs
  • nntp
  • pop3/pop3s
  • print/printdb
  • sftp
  • sieve
  • smb
  • smtp/smtps
  • webdav/webdavs

Konqueror the Local Protocol Client

Perhaps the most unique feature of Konqueror is its ability to be an interactive Desktop manager. You can use the usual path to get to your CDROM drive, Settings, Trash, Applications, etc. but with Konqueror, you don’t have to. Local protocol resources are browsed similarly to remote ones. In the Location field, enter:


settings:/Network

Note that there is a single slash (/) after the colon in the local protocols. These are the icons you see if you had used the KDE Control Center->Internet and Network. Refer to Figure 6. Among these local protocols is audiocd which allows you to browse the contents of an audio CD as shown in Figure 7. The files you see in Figure audio are in the WAV format but if you notice the other folders; you will see that you can copy the files from the CD in multiple formats. The files are available in CDA, Ogg Vorbis, FLAC, WAV, and even as a full CD extraction in any of the formats.

Figure 6: KDE Settings Window
Figure 6: KDE Settings Window

Figure 7: Audio CD Files Ready to Rip
Figure 7: Audio CD Files Ready to Rip

Your new favorite method for viewing man pages may be by using Konqueror’s man protocol. To use it, type man:/command.


man:/ps

See Figure 8 how Konqueror handles man pages. It makes man page pleasant to look at and in a printable format as well.

Figure 8: man ps
Figure 8: man ps

Local Protocols

  • applications
  • ar
  • audiocd
  • camera
  • devices
  • file
  • floppy
  • fonts
  • lan
  • man
  • mbox
  • media
  • programs
  • remote
  • rlan
  • settings
  • system
  • tar
  • trash
  • zeroconf
  • zip

Taking Konqueror to the Next Level

Do you want the newest features and bug fixes for, or the newest version of, Konqueror? This is where it gets a little sticky and offputting for newer users. You have to upgrade KDE to upgrade Konqueror because Konqueror is part of the kdebase tree. If your distribution doesn’t have the latest version of kde packages available via apt-get or yum, then you must resort to compiling from source. At a minimum, you will need the kdebase and kdelibs packages or sources.

Should you decide to upgrade KDE via source, you need the following prerequisites:

  • Qt 3.3.2 or higher
  • C++ 2.95.x or higher
  • bunzip2
  • OpenSSL 0.9.6 or higher
  • libpcre
  • libxml2 2.3.13 or higher

And when you compile KDE components, you will need to do so in this order:

  • arts
  • kdelibs
  • kdebase
  • All other KDE packages
  • kdeaddons

This order is necessary to meet the dependencies for each package. Please note that even if you check your prerequisites, you may have to download the sources for one or more and compile them prior to attempting any of the KDE sources. This is especially true on rpm-based systems.

Summary

This article has barely scratched the surface of the capabilities and features of Konqueror but at least now you have an idea of what Konqueror is and what it can do for you. It is the most versatile application I have ever had the pleasure to use. KDE has always been my personal choice for a Linux Window Manager and Konqueror further justifies that choice. To find out everything there is to know about Konqueror, visit the website.

Kenneth Hess is a Linux evangelist and freelance technical writer on a variety of open source topics including Linux, SQL, databases, and web services. Ken can be reached via his website at http://www.kenhess.com. Practical Virtualization Solutions by Kenneth Hess and Amy Newman is available now.

Comments on "Web Browser Hero"

georgecaragea

I use konqueror all the time for a variety of tasks, although only rarely for web browsing. This article seems to refer to Konqueror/KDE 3.x, how have things changed in KDE 4.x? And why on earth is dolphin the preferred file manager for KDE 4??

Reply
ron@mideiros.net

Konqueror is great. The swiss army knife of KDE. I have heard this is changed in KDE 4 with Dolphin (still on KDE 3.5). From what I have seen, distros keep pushing KDE to be more like GNOME, which is garbage. Stay the course!

Reply
timothyb89

It’s extremely rare for me to find a page that doesn’t render correctly in both 3.5 and 4.0.

Konqueror uses KHTML (now WebKit in 4.0)- the same engine Safari uses, so you can basically render anything in Konqueror that can be rendered in Safari.

Also, to load pages like Yahoo that check the user agent: Tools> Change Browser Identification and they should load perfectly. (Use Firefox, Mozilla, or Safari)

Konqueror (for KDE 4) is also capable of the standard file management, just like Dolphin. I suppose you could use it as your default file manager, but Dolphin is an awesome file manager.

Reply
mitzip

I often use Konqueror as a web browser when I don’t want to launch Firefox, for fear of hosing my internet connection for 5 minutes while I wait for all 188 tabs to load up. ;-) I also LOVE Konqueror’s customizable “Action” menus. There are TONS of them available from flipping, splitting, joining PDFs on the fly to batch auto resizing images. Not to mention writing my own! The only problem is in KDE 4 they’ve introduced Dolphin as the default file manager. I’m still not so sure about it. Dolphin definitely hasn’t shown to be a contender to Konqueror, IMHO.

Reply
codie hacka

Konqueror is an awesome tool all the way around, and is light to boot. Five stars for certain.

Reply
ghostly

Truly a great and handy browser. One of the little ‘tricks’ I regularly use is to do a google search, simply type gg: followed by your search string. Too easy!

Reply
justinlawrence

i still prefer konqueror over both firefox and dolphin. i would much have preferred if the dolphin guys had just added their great features (like the / filter and the breadcrumb navigation) onto the existing functionality of the konqueror file manager.

diverge then converge i say.

Reply
drteeth

For me, one of the most powerful features of konqueror (and also of dolphin) is the ability to attach a terminal window to the browser and tie it into the directory window. It gives me all the ease of use of a gui and the sheer power of the command line. A fantastically powerful combination.

Oh yes and don’t forget the filesize viewer is great way of seeing instantly your disk usage.

Love it!!

Reply
prairiedog6791

One indispensable feature for me in file management task is the context menu “copy to…” and “move to…”. Simply amazing, and I’m with drteeth about the terminal window.

Fantastic program!

Reply
btorre

Looks (and sounds) like konqueror is to kde as explorer is to windows. This concept is nothing new…however, it appears to be more elegantly implemented in this instance.

Reply
mahasamoot

I want KDE to due well as I don’t care for gnome. However, I’ve never been impressed by Konqueror. I get the impression that KDE is loosing ground, and pushing 2nd rate browsers doesn’t help. The KDE folks should work with the Mozilla guys to get proper integration of Firefox, Thunderbird and Sunbird. Then KDE really would have a top notch browser suite.

Reply
borrajax

Konqueror (as file manager) rules!! :D (although for web browsing I tend to use Firefox)

Dolphin… suc… eeeehm… doesn’t rule that much… ;)

Reply
davidmintz

Thanks! The tip about using fish://… to mount remote directories has improved my life. When I wanted to use konqueror following an upgrade from Fedora 7 to 10, I found it was not installed by default. No problem, except it took some stumbling and searching to discover a way to install it on Fedora 10:

yum install kdebase

Reply
ezeuba

I choose konqueror to dolphin anyday anytime. At least in konqueror one had access to root file manager, not available in dolphin… u have to tweak and heave and ho before u can get it right, and fater that it usually does not read the root directory well. Konqueror for me anyday, anytime

Reply
justinlawrence

i prefer konqueror as well.

dolphin has a few cool features that should have been integrated into konqueror, rather than a reinvention of the wheel. we’ve taken a huge step back and lost a lot of our advantage by not doing so.

Reply

Fantastic site. Plenty of useful information here. I am sending it to several pals ans also sharing in delicious. And certainly, thanks for your effort!

Reply

Leave a Reply to justinlawrence Cancel reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>