Back to LanguageTool Homepage - Privacy - Imprint

Languagetool Standalone in snap

I maintainer LanguageTool package in snap format. Recently, the function of invoking the xprop command with the direct path has been added to the program Cannot run program "/usr/bin/xprop": error=2, No such file or directory

inside a snap package, calls to something on absolute paths in the system are prohibited. Help influence LanguageTool developers and change the functionality to call xprop in relative ways or using environment variables.

I’m not sure where that call could happen, could you post the complete stack trace?

I apologize to the developers. The problem is related to Java + snap. Please close this discussion. Cannot run program “/usr/bin/xprop”: error=2, No such file or directory
at java.lang.ProcessBuilder.start(
at java.lang.Runtime.exec(
at java.lang.Runtime.exec(
at java.lang.Runtime.exec(
at org.GNOME.Accessibility.AtkWrapper.(
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(
at java.lang.reflect.Constructor.newInstance(
at java.lang.Class.newInstance(
at java.awt.Toolkit.loadAssistiveTechnologies(
at java.awt.Toolkit.getDefaultToolkit(
at javax.swing.RepaintManager.(
at javax.swing.JComponent.repaint(
at java.awt.Component.repaint(
at javax.swing.JLabel.setText(
at javax.swing.JLabel.(
at org.languagetool.gui.Main.(
at org.languagetool.gui.Main.main(
Caused by: error=2, No such file or directory
at java.lang.UNIXProcess.forkAndExec(Native Method)
at java.lang.UNIXProcess.(
at java.lang.ProcessImpl.start(
at java.lang.ProcessBuilder.start(
… 18 more