How to customize the layout of the “View Modes” sub-toolbar in Konqueror

I’m not really in the mood for blogging right now, but this took me a lot of googling, so I should probably share it.

Did you ever wonder what arcane incantations went into customizing that “ActionList: viewmode_toolbar” subsection in your Konqueror toolbar? Wonder no more.

First, anyone who has used both Kubuntu and another distro (eg. Gentoo) will notice that it’s possible to change the number of dropdown buttons. I’m happy with the three I have, so I didn’t really look into this very closely, but apparently this patch file will switch between the two configurations when properly applied:

http://launchpadlibrarian.net/4891395/un84.diff

Now that the difficult part is out of the way, here’s the part that is so typically “KDE voodoo”. Easy to do… but you have to know it’s there first. (Which is still better than GNOME in my opinion, but that’s just me)

If you want to change the order of the buttons, remove (or re-add) entries (but not change which ones go into which buttons), or re-order the entries within each button (Keep in mind that this also lets you control which one gets the ‘default for this button’ status), here’s what you do:

  1. Go into the file association controls (Configure Konqueror –> File Associations is a nice quick way)
  2. Choose inode/directory and click the Embedding tab
  3. Re-order, add, and delete KParts.

It’s that simple. My suggestion is to install FileLight and then make it the top-most item in the right-most button with the traditional disk-usage viewer the bottom-most one.

Here are the relevant pages I ran across while googling. The rest was just experimentation on a hunch.

  • https://bugs.launchpad.net/ubuntu/+source/kdebase/+bug/43949
  • http://strabes.wordpress.com/2007/04/05/make-konqueror-use-your-default-view-mode-in-new-tabs/

CC BY-SA 4.0 How to customize the layout of the “View Modes” sub-toolbar in Konqueror by Stephan Sokolow is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

This entry was posted in Geek Stuff. Bookmark the permalink.

1 Response to How to customize the layout of the “View Modes” sub-toolbar in Konqueror

  1. Pingback: Bookmarks about Konqueror

Leave a Reply

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

By submitting a comment here you grant this site a perpetual license to reproduce your words and name/web site in attribution under the same terms as the associated post.

All comments are moderated. If your comment is generic enough to apply to any post, it will be assumed to be spam. Borderline comments will have their URL field erased before being approved.