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!

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>