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.
Created attachment 356538 [details]
The bug has been closed via the following commit(s):
Author: Matt Turner <firstname.lastname@example.org>
AuthorDate: 2020-06-24 20:36:07 +0000
Commit: Matt Turner <email@example.com>
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 <firstname.lastname@example.org>
...-0.7.5-r1.ebuild => xinput_calibrator-0.7.5-r2.ebuild} | 15 +++++++--------
1 file changed, 7 insertions(+), 8 deletions(-)