Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 254578

Summary: xdg-utils-1.0.2-r2 has no dependency for its use of kfmclient
Product: Gentoo Linux Reporter: Joe Harvell <landshark>
Component: Current packagesAssignee: Gentoo KDE team <kde>
Status: RESOLVED INVALID    
Severity: minor CC: cnyegle
Priority: High    
Version: 2008.0   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Output of "emerge --info"

Description Joe Harvell 2009-01-11 20:07:08 UTC
In KDE4, I click on Applications->System->Manage Printing and nothing happens.

Expected Behavior is that a browser opens to manage printing through the CUPS http interface.

Using KDE Menu Editor, I notice that the Command for this item is "xdg-open http://localhost:631/."  When I execute that from a shell, I get the following:

$ xdg-open http://localhost:631
/usr/bin/xdg-open: line 329: kfmclient: command not found
/usr/bin/xdg-open: line 321: test: : integer expression expected
/usr/bin/xdg-open: line 322: test: : integer expression expected
/usr/bin/xdg-open: line 323: test: : integer expression expected

Clearly xdg-open has a runtime dependency on whatever package contains kfmclient.  I'm not sure how to find out which package that is.  The comments in Bug #252638 seem to indicate that is in kde-base/konqueror.

I don't use konqueror, so I hope the fix doesn't mean this package gets pulled in.  I would hope to be able to use "Manage Printing" without having to install konqueror.

By the way, what happened to the KDE print management utilities?
Comment 1 Joe Harvell 2009-01-11 20:08:30 UTC
Created attachment 178115 [details]
Output of "emerge --info"
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-01-12 22:00:04 UTC
Well I guess, even with adjusted dependencies, xdg-open would still fail as reported in bug #252638
Comment 3 Timo Gurr (RETIRED) gentoo-dev 2009-01-13 20:54:05 UTC
Well that's the expected behaviour of xdg-open. xdg-open uses the default apps as defined by the desktop environment you're using. So if you're logged into a KDE session it'll try to use kfmclient. You can change this KDE setting via KDE's systemsettings or by manually editing .kde/share/config/kdeglobals to suite your needs:

[General]
BrowserApplication[$e]=!firefox
Comment 4 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-01-20 14:33:22 UTC
*** Bug 255640 has been marked as a duplicate of this bug. ***