Bug 16665

Summary: x11-misc/xdg-utils-1.0.2-r1: kfmclient: command not found
Product: Portland Reporter: Toralf Förster <toralf.foerster>
Component: xdg-utilsAssignee: Portland Bugs <portland-bugs>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium CC: guy
Version: 1.0   
Hardware: All   
OS: Linux (All)   
URL: https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2699
Whiteboard:
i915 platform: i915 features:

Description Toralf Förster 2008-07-10 12:05:41 UTC
Launching wireshark (as root where I don't configured KDE or sth. else) and clicking at "How to capture" I get :

tfoerste@n22 ~ $ su -c /home/tfoerste/devel/wireshark/wireshark
Password:
/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

The test operator in xdg-open isn't used in a safe way where a KDE environment isn't set. For the URL of original report pls see above.
Comment 1 Nicolas Lécureuil 2009-08-03 13:12:43 UTC
what is your Window Manager ?

kfmclient is used only if you are under KDE.
Comment 2 Toralf Förster 2009-08-04 01:04:12 UTC
I have KDE 3.5.10.
Comment 3 Fathi Boudra 2009-08-06 04:53:50 UTC
> I have KDE 3.5.10.

kfmclient is part of kdebase module.
It should be installed in a standard KDE installation.
which distribution do you use ?

we do the following in xdg-open:
1) detectDE (detect desktop environment)
2) open_kde (call open_kde if desktop environment detected if KDE)
3) kfmclient (called inside open_kde)
Comment 4 Toralf Förster 2009-08-07 00:55:51 UTC
I'm using Gentoo, however in the mean while I've a new ThinkPad w/ new packages where I can't reproduce the behaviour anymore - I'll close this bug.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.