kfmclient-kde4 wrapper script neglects to pass arguments to KDE4 kfmclient

Bug #176694 reported by Chris Samuel
2
Affects Status Importance Assigned to Milestone
kdebase-kde4 (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: kdebase-kde4

When selecting the "Konqueror KDE 4" menu item nothing happens.

The menu item executes:

kfmclient-kde4 openProfile webbrowsing

which, when run from the command line, returns the error:

$ kfmclient-kde4 openProfile webbrowsing
Syntax Error: Not enough arguments

This is because the script neglects to pass the supplied arguments through to /usr/lib/kde4/bin/kfmclient,
the entire script is just:

#!/bin/sh
export LD_LIBRARY_PATH=/usr/lib/kde4/lib
export KDEHOME=~/.kde4
export KDEDIRS=/usr/lib/kde4
/usr/lib/kde4/bin/kfmclient

My fix is to just change that last line to:

/usr/lib/kde4/bin/kfmclient $*

There may be a better way to do that, I'm not a bash expert!

I'll attach the patch against kfmclient-kde4 anyway.

Revision history for this message
Chris Samuel (chris-csamuel) wrote :
Revision history for this message
Terence Simpson (tsimpson) wrote :

Yep, this was fixed :)

Changed in kdebase-kde4:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.