I think CommandLine.parse("xdotool version") should be CommandLine.parse("xdotool -v") in the checkFeatureAvailability method of LinuxUtil.java.
On Ubuntu 14.04 and Ubuntu 16.04 xdotool version fails with a segmentation fault.
It is a bug in xdotool that any unknown parameter that is passed causes a segfault. See my tests below:
htplainf@ub-mguibot:~$ cat /etc/issue Ubuntu 16.04.2 LTS \n \l htplainf@ub-mguibot:~$ xdotool -v xdotool version 3.20150503.1 htplainf@ub-mguibot:~$ xdotool version Segmentation fault (core dumped) htplainf@ub-mguibot:~$ xdotool any_unknown_param_causes_segfault Segmentation fault (core dumped) htplainf@ub-mguibot:~$
I think CommandLine. parse(" xdotool version") should be CommandLine. parse(" xdotool -v") in the checkFeatureAva ilability method of LinuxUtil.java.
On Ubuntu 14.04 and Ubuntu 16.04 xdotool version fails with a segmentation fault.
It is a bug in xdotool that any unknown parameter that is passed causes a segfault. See my tests below:
htplainf@ ub-mguibot: ~$ cat /etc/issue ub-mguibot: ~$ xdotool -v ub-mguibot: ~$ xdotool version ub-mguibot: ~$ xdotool any_unknown_ param_causes_ segfault ub-mguibot: ~$
Ubuntu 16.04.2 LTS \n \l
htplainf@
xdotool version 3.20150503.1
htplainf@
Segmentation fault (core dumped)
htplainf@
Segmentation fault (core dumped)
htplainf@