Viva Konqueror! (even on Ubuntu)

During my stay in Venezuela, searching for a development environment that didn't weigh a ton and take too many valuable blinkcounts to load, even on the Pentium 4 workstation I was using there with a full giga of memory (the popular "open source" IDE will go nameless for the moment, since it is pretty damn useful and unavoidable on many projects), I came across... Konqueror and Vim! We'll have a lot more to say about vim 7 on other posts. For now, Konqueror... awesome!

For many reasons (imagine Midnight Commander, the name of one of its profile settings... PLUS embedded terminal at the bottom) it won the File Manager of the Year award at Linux Questions .

OK, but wait a minute... I installed Ubuntu, no Kubuntu, right? Guess I'll have to forego Konqueror goodness Cry

But, wait... I can install Konqueror on Ubuntu! Tongue out

So I fire-up Synaptic on this AMD64/SATA wonderbox clone which is just amazing (I bought it just before leaving for Venezuela in April, barely got to use it), and install Konqueror!

But there are a couple of caveats. First, there is no profile loading thingee, and .... no way to get my profiles up! Double waagh CryCry!

Why not use Kubuntu? Well, I must make the confession that Ubuntu being the center of attention for so many talented people, and Kubuntu being another project, the truth is (and it may just be my prejudice) I don't want to be locked into KDE and Konqueror, I just want to use Konqueror and anything else that I find useful.

We do have a solution (otherwise this post would not exist). But it was not intuitive by any means and involved a lot of searching on the old forums. You have to do the following on Ubuntu:

Install Konqueror (and KDE stuff) using synaptic or other tool.

Install konsole (for embedded terminal in file manager profiles).

Copy: /usr/share/apps/konqueror/konqueror-orig.rc

To: ~/.kde/share/apps/konqueror/konqueror.rc

Who knows what godforsaken brilliant-sherlock konfigurator made the decision to emasculate the default konqueror configuration file and take out all these features by default, making sure not to document how to put them back. Shame! But, overriding the default rc configuration file in this manner immediately brings back the "old" Window menu heading (with window splitting icons as well as Hide/Show Terminal Emulator and Navigation Panel) and adds the Load View Profile (with a default File Management as well as the Web Browsing view profiles).

Here is my own homespun "Midnight Commander" profile, with Terminal Emulator, plus I have added to icons to the Main Toolbar (Settings >> Configure Toolbars), one to pop-up a terminal in the current directory (sometimes very useful) and the other to show/hide the embedded terminal (shortcuts could have been added/modified via Settings >> Configure Shortcuts):


Kongqueror with Midnight Commander theme on Ubuntu: Kongqueror with Midnight Commander theme on Ubuntu
Konqueror with Midnight Commander theme on Ubuntu

Making your own profile

I made the above profile by:

Enabling the navigation bar on the left hand side (Midnight Commander tree view on current directory)

Splitting the screen (Window Menu)

Showing terminal emulator (Window Menu)

Hitting Settings >> Configure View Profiles, then typing in the name for the profile (MidnightCommander or whatever you prefer, but without spaces) and hitting the Save button.

Now, when I fire up Konqueror I can do Settings >> Load View Profile >> MidnightCommander to obtain the above screen.

I can even do:

victorkane@mentor:~$ kfmclient openProfile MidnightCommander

which means I can have different iconified Konquerors dotting the desktop landscape.

To end up with, here are the two rc files, just in case in some soon-to-come version the scissors happy konfigurator eliminates the alternative rc file:

/usr/share/apps/konqueror/konqueror.rc /usr/share/apps/konqueror/konqueror-orig.rc
<?xml version = '1.0'?>
<!DOCTYPE gui SYSTEM "kpartgui.dtd">
<gui version="52" name="Konqueror" >
<MenuBar>
<Menu noMerge="1" name="file" >
<text>&amp;Location</text>
<Action name="new_window" />
<Action name="newtab" />
<Action name="open_location" />
<Separator/>
<Action name="sendURL" />
<Action name="sendPage" />
<Separator/>
<Merge/>
<Action name="print" />
<DefineGroup name="print" />
<Separator/>
<ActionList name="openwith" />
<Action name="quit" />
</Menu>
<Menu noMerge="1" name="edit" >
<text>&amp;Edit</text>
<Action name="copy" />
<Action name="paste" />
<Action name="del" />
<ActionList name="operations" />
<Separator/>
<Action name="properties" />
<WeakSeparator/>
<Merge/>
</Menu>
<Menu noMerge="1" name="view" >
<text>&amp;View</text>
<Action name="go_most_often" />
<ActionList name="viewmode" />
<Separator/>
<Merge/>
</Menu>
<Action name="bookmarks" />
<Menu name="tools" >
<text>&amp;Tools</text>
<WeakSeparator/>
<Merge/>
</Menu>
<Menu noMerge="1" name="settings" >
<text>&amp;Settings</text>
<Merge name="StandardToolBarMenuHandler" />
<Action name="saveviewprofile" />
<Action name="options_show_menubar" />
<Action name="fullscreen" />
<Separator/>
<Action name="options_configure_keybinding" />
<Action name="options_configure_toolbars" />
<Action name="options_configure_extensions" />
<Action name="options_configure" />
<Action name="configurespellcheck" />
</Menu>
<Menu append="about_merge" name="help" >
<text>&amp;Help</text>
<Action name="konqintro" />
</Menu>
<Merge/>
</MenuBar>
<ToolBar newline="true" hidden="true" name="mainToolBar">
<text>Main Toolbar</text>
<Action name="konq_sidebartng" />
<Separator name="separator_0" />
<Action name="print" />
<WeakSeparator/>
<Merge/>
<ActionList name="viewmode_toolbar" />
<ActionList name="fullscreen" />
<WeakSeparator/>
</ToolBar>
<ToolBar newline="false" hidden="true" index="1" name="extraToolBar" >
<text>Extra Toolbar</text>
</ToolBar>
<ToolBar newline="true" noMerge="1" name="locationToolBar" fullWidth="true" >
<text>Location Toolbar</text>
<Action name="back" />
<Action name="forward" />
<Action name="up" />
<Action name="home" />
<Action name="reload" />
<Action name="stop" />
<Action name="security" />
<Action name="clear_location" />
<!-- <Action name="location_label" /> -->
<Action name="toolbar_url_combo" />
<Action name="go_url" />
<Action name="animated_logo" />
</ToolBar>
<ToolBar newline="true" noEdit="true" iconText="icontextright" name="bookmarkToolBar" fullWidth="true" >
<text>Bookmark Toolbar</text>
</ToolBar>
<ActionProperties>
<Action shortcut="F9" name="konq_sidebartng" />
<Action shortcut="F6;Alt+O" name="location_label" />
</ActionProperties>
</gui>
<?xml version="1.0"?>
<!DOCTYPE gui SYSTEM "kpartgui.dtd">
<gui name="Konqueror" version="59">
<MenuBar>
<Menu name="file" noMerge="1"><text>&amp;Location</text>
<Action name="new_window"/>
<Action name="newtab"/>
<Action name="duplicate_window"/>
<Action name="open_location"/>
<Separator/>
<Action name="sendURL"/>
<Action name="sendPage"/>
<Separator/>
<Merge/> <!--Includes termination separator-->
<Action name="print"/>
<DefineGroup name="print" />
<Separator/>
<ActionList name="openwith" /> <!--Includes termination separator-->
<Action name="quit"/>
</Menu>
<Menu name="edit" noMerge="1"><text>&amp;Edit</text> <!--Here is what applies to a selection-->
<Action name="undo" />
<Action name="cut"/>
<Action name="copy"/>
<Action name="paste"/>
<Action name="rename"/>
<Action name="trash"/>
<Action name="del" />
<ActionList name="operations" /><!-- copy files and move files, when two directory views -->
<Separator/>
<Action name="new_menu"/>
<Separator/>
<Action name="editMimeType"/>
<Action name="properties"/>
<WeakSeparator/>
<Merge/>
</Menu>
<Menu name="view" noMerge="1"><text>&amp;View</text> <!--Here is what applies to the active view-->
<ActionList name="viewmode" />
<Action name="usehtml"/>
<Action name="lock"/>
<Action name="link"/>
<Separator/>
<Action name="reload"/>
<Action name="stop" />
<WeakSeparator/>
<Merge/>
</Menu>
<Menu name="go"><text>&amp;Go</text>
<Action name="back"/>
<Action name="forward"/>
<Action name="up"/>
<Action name="home"/>
<Separator/>
<Action name="go_system"/>
<Action name="go_applications"/>
<Action name="go_network_folders"/>
<Action name="go_settings"/>
<Action name="go_media"/>
<Action name="go_dirtree"/>
<Action name="go_trash"/>
<Action name="go_autostart"/>
<Action name="go_history"/>
<Action name="go_most_often"/>
<Separator/>
<Action name="history"/>
</Menu>
<Action name="bookmarks"/>
<Menu name="tools"><text>&amp;Tools</text>
<Action name="open_terminal"/>
<Action name="findfile"/>
<WeakSeparator/>
<Merge/>
</Menu>
<Menu name="settings" noMerge="1"><text>&amp;Settings</text>
<Action name="options_show_menubar"/>
<Merge name="StandardToolBarMenuHandler" />
<Separator/>
<Action name="fullscreen"/>
<Separator/>
<Action name="saveViewPropertiesLocally"/>
<Action name="removeLocalProperties"/>
<Separator/>
<Action name="loadviewprofile"/>
<Action name="saveviewprofile"/>
<Action name="saveremoveviewprofile"/>
<Separator/>
<Action name="options_configure_extensions"/>
<Action name="configurespellcheck"/>
<Action name="options_configure_keybinding"/>
<Action name="options_configure_toolbars"/>
<Action name="options_configure"/>
</Menu>
<Menu name="window" append="settings_merge"><text>&amp;Window</text>
<Action name="splitviewh"/>
<Action name="splitviewv"/>
<Action name="removeview"/>
<Separator/>
<Action name="newtab"/>
<Action name="duplicatecurrenttab"/>
<Action name="breakoffcurrenttab"/>
<Action name="removecurrenttab"/>
<Separator/>
<Action name="tab_move_left"/>
<Action name="tab_move_right"/>
<Separator/>
<ActionList name="toggleview" />
</Menu>
<Menu name="help" append="about_merge"><text>&amp;Help</text>
<Action name="konqintro"/>
</Menu>
<Merge/>
</MenuBar>
<ToolBar fullWidth="true" name="mainToolBar" newline="true"><text>Main Toolbar</text>
<Action name="back"/>
<Action name="forward"/>
<Action name="up"/>
<Action name="home"/>
<Separator/>
<Action name="reload"/>
<Action name="stop"/>
<Separator/>
<Action name="print"/>
<WeakSeparator/>
<Merge/>
<Separator/>
<ActionList name="viewmode_toolbar" />
<ActionList name="fullscreen" />
<WeakSeparator/>
<Action name="animated_logo"/>
</ToolBar>
<ToolBar hidden="true" name="extraToolBar" newline="false" index="1"><text>Extra Toolbar</text>
<Action name="konq_sidebartng" />
<Action name="findfile" />
<Action name="splitviewv" />
<Action name="splitviewh" />
<Action name="removeview" />
</ToolBar>
<ToolBar fullWidth="true" name="locationToolBar" newline="true"><text>Location Toolbar</text>
<Action name="clear_location" />
<Action name="location_label" />
<Action name="toolbar_url_combo" />
<Action name="go_url" />
</ToolBar>
<ToolBar noEdit="true" iconText="icontextright" fullWidth="true" name="bookmarkToolBar" newline="true"><text>Bookmark Toolbar</text>
</ToolBar>
<ActionProperties>
<Action shortcut="F9" name="konq_sidebartng" />
</ActionProperties>

</gui>

How to set the default View to Tree Style for New Tabs

Any Idea How to set the default View to Tree Style for New Tabs and Windows

Error: "KLauncher could not be reached via DCOP"

Once I had followed your steps and installed Konqueror (and dependant packages) using Synaptic, I ran (from a terminal: "konqueror") and when I tried to navigate to any place eg. "/home/myuser/", I got two popups, sequentially showing the following message:

KLauncher could not be reached via DCOP.

I've looked around for solutions to this but am none the wiser. :(

I have Konqueror 3.5.8 (Using KDE 3.5.8) in Ubuntu 7.10 (Gutsy Gibbon) for i386.

Any ideas?

This problem is discussed in various places on the internet

I did a search on "klauncher dcop".

I haven't encountered it myself (now with Konqueror 3.5.8 running on KDE 3.5.8 on Gutsy Gibbon Ubuntu 7.10)

According to http://www.cyberhobo.net/2003/07/14/klauncher-could-not-be-reached-via-d...

one suggestion is: "to fix this error just run “kdeinit”

Hope that helps.

Very Helpful

Indeed, thank you for posting this; it's probably saved many people quite a bit of time. I think it's really strange that Konqueror and Konsole were not included in the Ubuntu 'Add/Remove Applications' utility. If I can just launch Synaptic and install them using the same repositories, why are they not available in a way that would be simple to someone new to Linux? They are both great pieces of software and it seems like a real shame that they are being hidden like this. And then to remove useful functionality once they are installed -- it just seems like unnecessary bias. Thanks for saving me a few hours of my life.

Gracias For the Fix

_ Many thanks for the fix to Konqueror's ".rc" file. I was stunned and outraged by the crippled 3.5.x version on my new laptop (Ubuntu distro). I've been using 3.2 + 3.3 for several years and have gotten used to having the shell window on the "Tools" menu.
_ I prefer KDE over Gnome because of the button order (Go/Nogo). Here's a couple of points to consider :
1) Where is the system-wide UI switch that controls ALL utilities and applications so that a KDE user doesn't have to watch out for flipped buttons in a Gnome tool + so that a Gnome (Nogo/Go) user doesn't have to watch out for flipped buttons in a KDE tool ?
2) Where is the export-to/import-from XML of configuration data feature ? Why do I have to run all over my system chasing config. files so as to migrate from say a SUSE desktop to a Ubuntu laptop ? One quickly gets trapped on a system by all the hidden ".rc"s to the point where changing machines, OS's, or even desktop environments becomes extremely painfull. I know many of these files are a layer or two down from my home directory. But there are also a lot of corrupt configuration files that would wreck my new system which rules out a bulk copy.
_ Again my thanks.
DIJA,
RS

konqueror for ubuntu

Thank you so much for this article. I installed Ubuntu recently and after figuring out how to add konqueror, couldn't figure out where all my menu items had gone... Whoever decided to, as you say, demasculate the tool's .rc file is truly an idiot. Why turn such a powerful file manager into a weenie, stupid tool that has no features?

I would never have figured out how to get back my old konqueror without you.

THANKS!!!!