Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 421363 - x11-apps/xinput_calibrator-0.7.5[-gtk] installs incorrect desktop entry
Summary: x11-apps/xinput_calibrator-0.7.5[-gtk] installs incorrect desktop entry
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
Depends on:
Reported: 2012-06-16 11:37 UTC by Maxim Kammerer
Modified: 2020-06-24 20:39 UTC (History)
0 users

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

xinput_calibrator.desktop (xinput_calibrator.desktop,296 bytes, text/plain)
2013-08-20 22:35 UTC, Maxim Kammerer

Note You need to log in before you can comment on or make changes to this bug.
Description Maxim Kammerer 2012-06-16 11:37:57 UTC
For USE=-gtk, /usr/share/applications/xinput_calibrator.desktop contains:

  Exec=/bin/sh -c "xinput_calibrator; cat"

The reason for "cat" is that xinput_calibrator prints vital information on standard output upon termination. At least on LXPanel + Openbox setup, this results in "Cannot parse command line arguments" message. The problem is with the quotes; suggest replacing the line with (working with LXPanel):

  Exec=sh -c xinput_calibrator;read\ x

Using "read" instead of "cat" here so that the user can just it Enter instead of closing the window (or non-intuitive Ctrl-D). An argument to "read" is required in dash.

Another option would be a wrapper script.
Comment 1 Maxim Kammerer 2013-08-20 22:35:12 UTC
Created attachment 356538 [details]
Comment 2 Larry the Git Cow gentoo-dev 2020-06-24 20:39:18 UTC
The bug has been closed via the following commit(s):

commit f6ad7d8754c7f4cf9d871d78a191d3ba6f198b64
Author:     Matt Turner <>
AuthorDate: 2020-06-24 20:36:07 +0000
Commit:     Matt Turner <>
CommitDate: 2020-06-24 20:38:57 +0000

    x11-apps/xinput_calibrator: Port to EAPI 7
    And drop IUSE=gtk since it depends on gtkmm:2.4.
    Signed-off-by: Matt Turner <>

 ...-0.7.5-r1.ebuild => xinput_calibrator-0.7.5-r2.ebuild} | 15 +++++++--------
 1 file changed, 7 insertions(+), 8 deletions(-)