Summary: | kde-base/okular-4.10.5 - *.desktop erroneous double-quotes around %c in Exec line | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Olivier Diotte <olivier> |
Component: | [OLD] KDE | Assignee: | Gentoo KDE team <kde> |
Status: | RESOLVED UPSTREAM | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://projects.kde.org/projects/kde/kdegraphics/okular/repository/revisions/155312269bb268c8a77487031f6421488b4f0f0a | ||
Whiteboard: | fixed in 4.11 | ||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 484884 |
Description
Olivier Diotte
2013-10-25 09:15:48 UTC
After testing, this doesn't work correctly: I had to remove everything after the %U to get it to open only one window. As said in the forums, maybe the files are actually correct and need to be adapted to other window managers. In that case, I suppose this bug is invalid, yet I'll let the maintainer decide what to do about this, maybe there is value in bringing this "issue" to attention. This should be already fixed by upstream. I hadn't noticed the quotes (that was indeed a problem). But we are still missing the '-icon ' in front of %i. On my machine, running 'xdg-open /path/to/file.pdf' errors out (using 4.12) if I don't add that on the Exec line. Running this one-liner, as root, fixes it in the meantime: sed -r -i 's/Exec=okular %U %i -caption %c/Exec=okular %U -icon %i -caption %c/' /usr/share/applications/kde4/okular*.desktop (In reply to Olivier Diotte from comment #3) > I hadn't noticed the quotes (that was indeed a problem). But we are still > missing the '-icon ' in front of %i. On my machine, running 'xdg-open > /path/to/file.pdf' errors out (using 4.12) if I don't add that on the Exec > line. > > Running this one-liner, as root, fixes it in the meantime: > > sed -r -i 's/Exec=okular %U %i -caption %c/Exec=okular %U -icon %i -caption > %c/' /usr/share/applications/kde4/okular*.desktop Please report this upstream, this is not distribution issue. |