Freitag, 29. November 2019

Disable Bluetooth on system startup

I have issues with Bluetooth, waking up my notebook a short time after going into sleep mode. Finally I found out is was related to Bluetooth. Turning off Bluetooth solved the problem.
But how to automatically disable it, in case I have to reboot the device?

Open the start programs and add a new one. Give it a name like

Disable Bluetooth

and put in the command field

rfkill block bluetooth


Dienstag, 5. November 2019

Install a minimal Eclipse for ABAP that uses Java 13 on Ubuntu

Java

AdoptOpenJDK 13



Download Java 13 from https://adoptopenjdk.net/ and unpack the archive to /usr/lib/jvm/jdk-13.0.1+9.

JavaFX 13

Eclipse needs JavaFX and Java 13 does not come with JavaFX any more. So download it from https://openjfx.io/ and anpack to the same folder where Java has been installed.

Eclipse

Eclipse minimal 4.13

Eclipse has a numbering system that might confuse you - version 2019-09 is the same as 4.13, got it?
Get the Eclipse Platform Runtime Binary to install just the minimum requirements for the ABAP IDE from https://download.eclipse.org/eclipse/downloads/ and unpack it to any folder in your home directory.

ABAP Tools

Add the software site and install ABAP tools by going to
Help → install new Software → Add
Then enter ABAP Tools as name and add https://tools.hana.ondemand.com/2019-09 to the location field. Save and then install all packages from that repository.

eclipse.ini

Edit the eclipse.ini file and add the following lines at the beginning:
-vm/usr/lib/jvm/jdk-13.0.1+9/bin/java

Desktop Icon

For Linux Gnome or Unity desktop a eclipse.desktop file must be created:
Linux Desktop[Desktop Entry]Encoding=UTF-8Version=1.0Type=ApplicationTerminal=falseExec=~/Eclipse/eclipse-2019-09-abap/eclipseName=Eclipse ABAP 2019-09Comment=Eclipse ABAP IDEIcon=~/Eclipse/eclipse-2019-09-abap/icon.xpmName[de_AT]=Eclipse ABAP 2019-09StartupWMClass=Eclipse
Save that file in ~/.local/share/applications or /usr/share/applications. Then search for "eclipse" using the <Super> button, start the application and add it to the favorites if you want to do so.