maratona-linux / maratona-meta

Pacote Virtual que transforma o Ubuntu em Maratona Linux
GNU General Public License v2.0
12 stars 5 forks source link

Fix firefox launcher and openjdk11 detection #47

Closed DaviAntonio closed 3 years ago

DaviAntonio commented 3 years ago

IntelliJ and Visual Studio Code fail to detect both the system JDK/JRE and the flatpak SDK extension, requiring the user to manually configure the environment.

Both IDEs can access the normal files: they have been packaged with the Flatpak option --filesystem=host. This enables them to access the usual OpenJDK installation path in Debian or Ubuntu, /usr/lib/jvm/java-11-openjdk-amd64 using the alternative /var/run/host/usr/lib/jvm/java-11-openjdk-amd64 path.

The default configuration of ICPC's home directory was changed by writing a configuration file for VSCode and linking the alernative path for system JDK where IntelliJ downloads its own SDKs.

For more information please check:

The default address used to access BOCA will change in the future. In order to avoid problems, it was updated in the desktop entry.

A bug with random new windows appearing when opening links through Firefox Boca has been fixed by defining a Window Manager Class Key in the desktop entry.

As the standard Ubuntu 20.04 installation does not use Unity Shell, the OnlyShowIn restriction to the configured actions has been removed.