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

Problem: krusader as default manager

Tags: krusader, file manager krusader, file manager krusader, file manager
(comma "," separated)
AlmostSurelyBob
Registered Member
Posts
4
Karma
0
OS
Hello everybody,

I am trying to set Krusader as my default File Manager. I am running openSUSE 64 11.1 for 64 bit with KDE version 4.1.3.

I tried two ways of approaching this problem:

Configure Desktop -> Default Applications

... but there is no file manager in the list box.

Configure Desktop -> Advanced -> File Associations -> inode -> directory and adding krusader here.

Unfortunately this simply does not work. When I add Krusader and click on the directory icon Krusader tries to launch but eventually crashes.

The same thing happens when I right-click directory and choose Open with... -> Krusader.

So what am I doing wrong? Are there any options that need to be set?

My second question is about the possibility of using Krusader in one instance mode. Is it possible? I have seen some very old posts saying that it is not, so has anything changed since then?

Any hints and comments greatly appreciated.
User avatar
Hans
Administrator
Posts
3304
Karma
24
OS
First of all I hope you mean 4.3.1 and not 4.1.3. :p

I have "File Manager" in System Settings (Configure Desktop in openSUSE?) -> Default Applications. Using KDE(mod) 4.3.2 here, I doubt it got added in a bugfix release. Maybe another openSUSE user can help you.

To see what causes the crashes, you can try to check "Run in terminal" and see the output.


Problem solved? Please click on "Accept this answer" below the post with the best answer to mark your topic as solved.

10 things you might want to do in KDE | Open menu with Super key | Mouse shortcuts
AlmostSurelyBob
Registered Member
Posts
4
Karma
0
OS
Thanks for the reply.

First of all I hope you mean 4.3.1 and not 4.1.3


About KDE in KDE applications says explicitly 4.1.3.

The hint appeared to be quite useful. When I open the terminal with "Open with..." Krusader it says:

Code: Select all
krusader: Unexpected argument '/home/robert/Documents/science'.
krusader: Use --help to get a list of available command line options.


I know that the directory name should be preceded with --left or --right modifiers. However when I make some changes in the Command field in File Associations the change is simply not saved. After clicking OK and rechecking the command field I get the see the same value, namely:

krusader -caption "%c" %i

When I add --left in Open with... window nothing changes and I get the above error.

Of course when I execute krusader from command line with --left or --right modifier it works very well. I also tried to execute a script from "Open with" but it also didn't work.

In other words there is no way I get adjust the way krusader is executed. I seem to be unable to change the command.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
If Krusader itself provides that file, I suggest you file a bug with them, as they are shipping a defective file.

I do not know why the File Associations editor fails occassionally. Try closing it, running "kbuildsycoca4 --noincremental" and re-open it.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
AlmostSurelyBob
Registered Member
Posts
4
Karma
0
OS
Many thanks. Truly many thanks as it worked. I am not precisely sure what has transpired since the command

Code: Select all
kbuildsycoca4 --noincremental


replied with
Code: Select all
> kbuildsycoca4 --noincremental
kbuildsycoca4 running...
kbuildsycoca4(16517) KBuildMimeTypeFactory::createEntry: Missing <comment> field in  "/usr/share/mime/application/x-xpinstall.xml"
kbuildsycoca4(16517) KConfigGroup::readXdgListEntry: List entry MimeType in "/opt/kde3/share/applications/kde/k3b.desktop" is not compliant with XDG standard (missing trailing semicolon).
kbuildsycoca4(16517)/kdecore (KService) KServicePrivate::init: The desktop entry file  "/usr/share/applications/YaST2/groups/system.desktop"  has Type= "Application"  but no Exec line

kbuildsycoca4(16517)/kdecore (KService) KBuildServiceFactory::createEntry: Invalid Service :  "/usr/share/applications/YaST2/groups/system.desktop"
kbuildsycoca4(16517)/kdecore (KService) KServicePrivate::init: The desktop entry file  "/usr/share/applications/YaST2/groups/hardware.desktop"  has Type= "Application"  but no Exec line

kbuildsycoca4(16517)/kdecore (KService) KBuildServiceFactory::createEntry: Invalid Service :  "/usr/share/applications/YaST2/groups/hardware.desktop"
kbuildsycoca4(16517)/kdecore (KService) KServicePrivate::init: The desktop entry file  "/usr/share/applications/YaST2/groups/support.desktop"  has Type= "Application"  but no Execline

kbuildsycoca4(16517)/kdecore (KService) KBuildServiceFactory::createEntry: Invalid Service :  "/usr/share/applications/YaST2/groups/support.desktop"
kbuildsycoca4(16517)/kdecore (KService) KServicePrivate::init: The desktop entry file  "/usr/share/applications/YaST2/groups/apparmor.desktop"  has Type= "Application"  but no Exec line

kbuildsycoca4(16517)/kdecore (KService) KBuildServiceFactory::createEntry: Invalid Service :  "/usr/share/applications/YaST2/groups/apparmor.desktop"
kbuildsycoca4(16517)/kdecore (KService) KServicePrivate::init: The desktop entry file  "/usr/share/applications/YaST2/groups/virtualization.desktop"  has Type= "Application"  but no Exec line

kbuildsycoca4(16517)/kdecore (KService) KBuildServiceFactory::createEntry: Invalid Service :  "/usr/share/applications/YaST2/groups/virtualization.desktop"
kbuildsycoca4(16517)/kdecore (KService) KServicePrivate::init: The desktop entry file  "/usr/share/applications/YaST2/groups/network_devices.desktop"  has Type= "Application"  butno Exec line

kbuildsycoca4(16517)/kdecore (KService) KBuildServiceFactory::createEntry: Invalid Service :  "/usr/share/applications/YaST2/groups/network_devices.desktop"
kbuildsycoca4(16517)/kdecore (KService) KServicePrivate::init: The desktop entry file  "/usr/share/applications/YaST2/groups/security.desktop"  has Type= "Application"  but no Exec line

kbuildsycoca4(16517)/kdecore (KService) KBuildServiceFactory::createEntry: Invalid Service :  "/usr/share/applications/YaST2/groups/security.desktop"
kbuildsycoca4(16517)/kdecore (KService) KServicePrivate::init: The desktop entry file  "/usr/share/applications/YaST2/groups/network_services.desktop"  has Type= "Application"  but no Exec line

kbuildsycoca4(16517)/kdecore (KService) KBuildServiceFactory::createEntry: Invalid Service :  "/usr/share/applications/YaST2/groups/network_services.desktop"
kbuildsycoca4(16517)/kdecore (KService) KServicePrivate::init: The desktop entry file  "/usr/share/applications/YaST2/groups/misc.desktop"  has Type= "Application"  but no Exec line

kbuildsycoca4(16517)/kdecore (KService) KBuildServiceFactory::createEntry: Invalid Service :  "/usr/share/applications/YaST2/groups/misc.desktop"
kbuildsycoca4(16517)/kdecore (KService) KServicePrivate::init: The desktop entry file  "/usr/share/applications/YaST2/groups/software.desktop"  has Type= "Application"  but no Exec line

kbuildsycoca4(16517)/kdecore (KService) KBuildServiceFactory::createEntry: Invalid Service :  "/usr/share/applications/YaST2/groups/software.desktop"
kbuildsycoca4(16517) KConfigGroup::readXdgListEntry: List entry MimeType in "/usr/share/applications/yast2-metapackage-handler-ymu.desktop" is not compliant with XDG standard (missing trailing semicolon).
kbuildsycoca4(16517) KConfigGroup::readXdgListEntry: List entry MimeType in "/usr/share/applications/yast2-metapackage-handler.desktop" is not compliant with XDG standard (missingtrailing semicolon).
kbuildsycoca4(16517) KConfigGroup::readXdgListEntry: List entry MimeType in "/usr/share/applications/xfig.desktop" is not compliant with XDG standard (missing trailing semicolon).


But after that I was able to change the entry in File association to krusader --left and it works like charm now.

Would you be so kind as to give me a hint what (if it exists) file is actually edited by the File association GUI?
User avatar
Hans
Administrator
Posts
3304
Karma
24
OS
Slightly off topic, but you should really consider upgrading to KDE 4.3.2. The 4.1.x series were mainly for early adopters, many bugs have been fixed since then.

Would you be so kind as to give me a hint what (if it exists) file is actually edited by the File association GUI?

Unfortunately I don't know, you have to wait for bcooksley to answer this. ;)
If you created the Krusader menu item yourself, I think it should be in ~//.local/share/applications. It's a .desktop file.


Problem solved? Please click on "Accept this answer" below the post with the best answer to mark your topic as solved.

10 things you might want to do in KDE | Open menu with Super key | Mouse shortcuts
AlmostSurelyBob
Registered Member
Posts
4
Karma
0
OS
All right. Thanks for the suggestion. I might try it next weekend as I had indeed had quite a few small, yet disturbing, issues with my KDE. This version is the default one shipped with openSUSE. I use it for work and I am rather anxious about the compatibility issues that might arise when I upgrade. However I am keen to give it a try.
Kryten2X4B
Registered Member
Posts
911
Karma
4
OS
AlmostSurelyBob wrote:This version is the default one shipped with openSUSE. I use it for work and I am rather anxious about the compatibility issues that might arise when I upgrade. However I am keen to give it a try.


Given that, I would wait to upgrade until 11.2 is officially released in November (12th IIRC). Even then, of course, to proceed with caution - such as trying the livecd first. You don't have to wait all that much longer.


OpenSUSE 11.4, 64-bit with KDE 4.6.4
Proud to be a member of KDE forums since 2008-Oct.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Unfortunately I don't know exactly where File Assocations are stored, but I do know that menu items ( including changes to system wide ones ) are stored in the location referenced by Hans.

I think it has something to do with MIME databases, and is probably stored under ~/.local as well.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]


Bookmarks



Who is online

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