Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 153426 - "media:/" is not recognised in some command line settings with KDE
Summary: "media:/" is not recognised in some command line settings with KDE
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-30 03:18 UTC by Marko Djukic
Modified: 2006-10-30 05:58 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marko Djukic 2006-10-30 03:18:23 UTC
When using USB keys and HAL, together with KDE/konqueror, an USB key which is inserted will be automatically mounted and will show up on the desktop.

Clicking that desktop icon, konqueror will show the directory with a path "media:/<device>", for example in my case: "media:/sdb".

However, openoffice files when launched from this location will fail because the command for the file association (keditfiletype) is by default:
"oowriter2 %U"

Which expands to:
"oowriter2 media:/sdb/somefile.odt"

But openoffice understands this to mean to launch a file in the users directory:
"oowriter2 /home/marko/media:/sdb/somefile.odt"
and fails.

If I manually change the command line to be without "%U", just:
"oowriter2"
then everything works. However, I'm not sure if this breaks anything else.

If this is a good solution, would it be possible to default to this in KDE builds?
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-10-30 05:58:21 UTC
This is a known upstream design issue, there's no direct solution to this but lying in the .desktop file saying that OOo does not handle URLs, which is false, and such an option was already discarded by our OOo maintainers.