...I'm fond of the terminal, but I like to have a well-armed desk (I'm a designer)
Linux saves the launchers in the same direction, independent of the distro or the desktop. That's what I understand, I'm going to find out more about the subject.
To all users:
In local for a single user:
These are * .desktop files that can be opened with any text editor.
For example, Jdownloader2 is installed in local:
Code: Select all
#!/usr/bin/env xdg-open
[Desktop Entry]
Type=Application
Name=JDownloader 2
Exec=/bin/sh "/home/lex/.jd2/JDownloader2"
Icon=/home/lex/.jd2/.install4j/JDownloader2.png
Categories=Network;Application;
I made the file Negatron.sh executable with the chmod command. And I execute it with the command ./Negatron.sh.
The first time it was executed, it showed me the selection screen and it was closed.
I run it again and it shows me this message:
Code: Select all
lex@home:/opt/negatron$ ./Negatron.sh
Gtk-Message: 00:29:47.444: Failed to load module "canberra-gtk-module"
Exception in Preloader start method
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.sun.javafx.application.LauncherImpl.launchApplicationWithArgs(LauncherImpl.java:389)
at com.sun.javafx.application.LauncherImpl.launchApplication(LauncherImpl.java:328)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at sun.launcher.LauncherHelper$FXHelper.main(LauncherHelper.java:767)
Caused by: java.lang.RuntimeException: Exception in Preloader start method
at com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:899)
at com.sun.javafx.application.LauncherImpl.lambda$launchApplication$1(LauncherImpl.java:182)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.NumberFormatException: For input string: "161-ea"
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
at java.lang.Integer.parseInt(Integer.java:580)
at java.lang.Integer.parseInt(Integer.java:615)
at net.babelsoft.negatron.preloader.NegatronPreloader.start(Unknown Source)
at com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$6(LauncherImpl.java:785)
at com.sun.javafx.application.PlatformImpl.lambda$runAndWait$7(PlatformImpl.java:326)
at com.sun.javafx.application.PlatformImpl.lambda$null$5(PlatformImpl.java:295)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.javafx.application.PlatformImpl.lambda$runLater$6(PlatformImpl.java:294)
at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
at com.sun.glass.ui.gtk.GtkApplication._runLoop(Native Method)
at com.sun.glass.ui.gtk.GtkApplication.lambda$null$5(GtkApplication.java:139)
... 1 more
Exception running application net.babelsoft.negatron.NegatronApp