This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Krusader as default file manager

Tags: None
(comma "," separated)
2handband
Registered Member
Posts
304
Karma
0
OS

Krusader as default file manager

Mon Mar 22, 2010 7:39 pm
I'm testing krusader and want it to be my default file manager during the test phase. So I went into default applications and added it to the file manager app list, but it isn't working. I can open Krusader using the app launcher, but when I click on a directory in my desktop folder view it acts like it's trying to start (the little bouncy icon, all that) for about thirty seconds and then dies quietly, leaving no error messages of any kind. Does anybody know what's wrong?


john_hudson
Registered Member
Posts
549
Karma
2
OS
Try opening it a console and read the error messages.


John Hudson, proud to be a member of KDE forums since 2008-Oct.
2handband
Registered Member
Posts
304
Karma
0
OS
Okay, I set it to open in the terminal and then clicked on the directory /home/gene/Photos. The terminal popped up with the following:

Code: Select all
krusader: Unexpected argument '/home/gene/Photos'.


That's interesting...


User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
What is the output of the following?

Code: Select all
krusader --help-all


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
2handband
Registered Member
Posts
304
Karma
0
OS
Code: Select all
gene@lemon:~$ krusader --help-all                     
Usage: krusader [Qt-options] [KDE-options] [options]   

Krusader
Twin-Panel File Manager for KDE

Generic options:
  --help                    Show help about options
  --help-qt                 Show Qt specific options
  --help-kde                Show KDE specific options
  --help-all                Show all options         
  --author                  Show author information 
  -v, --version             Show version information
  --license                 Show license information
  --                        End of options           

Qt options:
  --display <displayname>   Use the X-server display 'displayname'
  --session <sessionId>     Restore the application for the given 'sessionId'
  --cmap                    Causes the application to install a private color
                            map on an 8-bit display
  --ncols <count>           Limits the number of colors allocated in the color
                            cube on an 8-bit display, if the application is
                            using the QApplication::ManyColor color
                            specification
  --nograb                  tells Qt to never grab the mouse or the keyboard
  --dograb                  running under a debugger can cause an implicit
                            -nograb, use -dograb to override
  --sync                    switches to synchronous mode for debugging
  --fn, --font <fontname>   defines the application font
  --bg, --background <color> sets the default background color and an
                            application palette (light and dark shades are
                            calculated)
  --fg, --foreground <color> sets the default foreground color
  --btn, --button <color>   sets the default button color
  --name <name>             sets the application name
  --title <title>           sets the application title (caption)
  --visual TrueColor        forces the application to use a TrueColor visual on
                            an 8-bit display
  --inputstyle <inputstyle> sets XIM (X Input Method) input style. Possible
                            values are onthespot, overthespot, offthespot and
                            root
  --im <XIM server>         set XIM server
  --noxim                   disable XIM
  --reverse                 mirrors the whole layout of widgets
  --stylesheet <file.qss>   applies the Qt stylesheet to the application widgets
  --graphicssystem <system> use a different graphics system instead of the default one, options are raster and opengl (experimental)

KDE options:
  --caption <caption>       Use 'caption' as name in the titlebar
  --icon <icon>             Use 'icon' as the application icon
  --config <filename>       Use alternative configuration file
  --nocrashhandler          Disable crash handler, to get core dumps
  --waitforwm               Waits for a WM_NET compatible windowmanager
  --style <style>           sets the application GUI style
  --geometry <geometry>     sets the client geometry of the main widget - see man X for the argument format

Options:
  --left <path>             Start left panel at <path>
  --right <path>            Start right panel at <path>
  --profile <panel-profile> Load this profile on startup


User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: Krusader as default file manager

Wed Mar 24, 2010 12:23 am
The following command line will work in this case:

Code: Select all
krusader --left %f


Open System Settings > Advanced > File Associations.
Find the needed associations for directories ( filter for "directory" and "inode" then alter the Krusader launcher to run that command instead.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
2handband
Registered Member
Posts
304
Karma
0
OS
You, sir, are amazing. That did it.

I'm a little fuzzy on the % arguments. Could you point me towards a good explanation?


User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
A list of what the various %f, %u, etc. operators are and what they do is explained in the File Assocation module documentation, which can be found here: http://docs.kde.org/stable/en/kdebase-r ... index.html


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
AClockingTigerSitup
Registered Member
Posts
1
Karma
0
OS
I had similar issues, and this definitely works! Many thanks Mr. Cooksley.

Lucid Lynx, KDE 4.4.2, Krusader Version 2.0.0 "Mars Pathfinder"

There's another forum post (viewtopic.php?f=66&t=83042) with a different script (kbuildsycoca4 --noincremental) that did not work for me.


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Sogou [Bot]