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?
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.