Using keyboard with Ubuntu Terminal

Refer: https://askubuntu.com/questions/822262/how-do-i-get-menu-accelerator-keyboard-shortcuts-to-work-in-terminal

Apparently Gnome Terminal is different from "normal" apps and has accelerators turned off by default? (Why is this?)

Anyway, the solution was to go to Edit menu -> Preferences -> General and enable the "Enable mnemonics" checkbox.

How to delete the Windows.old folder from Windows 10

If you upgraded your PC from a previous version of Windows, consider getting rid of this space-hogging folder.

Did you upgrade your PC to Windows 10? If so, ever wonder what happened to the previous version of the OS? It probably disappeared into the mists of Windows past, right?

Wrong. Your old OS didn't get erased; rather, it's lingering in a system folder called, aptly enough, Windows.old. And depending on the size of that version, it could be hogging a lot of precious space.

First things first: If you think you might want to downgrade from Windows 10 back to the previous version, don't delete that folder.

Second, unless you're seriously strapped for space on your hard drive, you don't have to do anything: Windows 10 will automatically delete the Windows.old folder one month after you performed your upgrade.

If you'd rather not wait -- if you want to reclaim that storage now -- you can delete the folder immediately, though not in the way you might expect. Indeed, if you simply click the folder and then press the Delete key, Windows will tell you you need permission, yada-yada, etc.

Here's the proper way to delete the Windows.old folder:

Step 1: Click in Windows search field, type Cleanup, then click Disk Cleanup.

Step 2: Click the "Clean up system files" button.

Step 3: Wait a bit while Windows scans for files, then scroll down the list until you see "Previous Windows installation(s)."

Step 4: Check the box next to the entry, then make sure there are no other boxes checked (unless you do indeed want to delete those items). Click OK to start the cleanup.

Install SQL Developer on Ubuntu 18.04 with OpenJDK 8

## Install Java 8 SDK

```Bash
sudo add-apt-repository ppa:openjdk-r/ppa
sudo apt-get -y update
sudo apt-get -y install openjdk-8-jdk
```

## Install Oracle SQL Developer

Before you can use SQL Developer with OpenJDK 8, you need to install JFX. Please note, that Oracle does not officially support OpenJDK, but it does work; however, you need to use JFX version 8. You will have to download the "Other Platform" where the JRE is NOT included with the installation.

Refer: <https://www.oracle.com/technetwork/developer-tools/sql-developer/downloads/index.html>

## Install JFX

Refer: <https://stackoverflow.com/questions/52484814/oracle-sql-developer-problem-initializing-welcome-page>

```Bash
sudo apt install -y libopenjfx-java=8u161-b12-1ubuntu2 --allow-downgrades
sudo apt install -y libopenjfx-jni=8u161-b12-1ubuntu2 --allow-downgrades
sudo apt install -y openjfx=8u161-b12-1ubuntu2 --allow-downgrades
```

Verify you have OpenJFX 8 installed:

```Bash
dpkg -l | grep openjfx
```

Location of Java, required for Oracle SQL Developer:

```Text
/usr/lib/jvm/java-8-openjdk-amd64
```

Brasero ISO Images

Refer: http://manpages.ubuntu.com/manpages/bionic/man1/bchunk.1.html
Refer: https://unix.stackexchange.com/questions/29671/how-can-i-convert-a-cue-bin-with-cdr-tracks-image-into-a-single-iso-file/29675

Save file as CUE file, and after the *.bin and *.cue files are created

bchunk [-v] [-p] [-r] [-w] [-s] <image.bin> <image.cue> <basename>

$ bchunk QUEEN.bin QUEEN.cue QUEEN.iso

If the BIN file contains CD-Audio tracks you cannot convert it to an ISO image! The reason for this is that, unlike e.g. a CD-ROM, the data structure of an audio CD is fundamentally incompatible with an ISO 9660 file system. See the link below for a paper that gives a good explanation of this:

http://journal.code4lib.org/articles/9581

However, you could use bchunk (as suggested above) with the -w option, which generates output in WAV format. Command line would be something like this:

bchunk -s -w IMAGE.bin IMAGE.cue IMAGE

This will create WAV files for each audio track, e.g.:

IMAGE001.wav
IMAGE002.wav

$ bchunk -s -w QUEEN.bin QUEEN.cue QUEEN

Ubuntu Change Username

Refer: https://askubuntu.com/questions/944852/how-can-i-change-the-username

First, make sure you have root login access, from a root shell prompt, enter the following then exit and re-login, and you'll be fine.
Create a temporary admin account to run the following, then after you logon to jboss1, rename the account and delete the temp account.

$ usermod -l **new_username** -m -d /home/**new_username** **current_username**

$ gedit /home/<username>/.config/gtk-3.0/bookmarks

Chrome Distill Page Read Mode

Refer: https://www.howtogeek.com/423643/how-to-use-google-chromes-hidden-reader-mode/

Direct link to setting:  chrome://flags/#enable-reader-mode

Currently there is no button, you still need to go into options, "distill page"

Citrix Receiver on Ubuntu 18.04

Refer: https://datawookie.netlify.com/blog/2018/12/citrix-receiver-on-ubuntu-18.04/

Citrix Access

Simply installing the package leaves you with a SSL error whenever you try to connect to a Citrix resource. You need to jump through a couple of extra hoops to get it actually working.

Installing the Package

Download the package from here (scroll down to the "Debian Packages" section)  for "Web Packages (Web Receiver only)":
https://www.citrix.com/downloads/citrix-receiver/linux/receiver-for-linux-latest.html

Install it. - Citrix-for-Ubuntu1804-icaclientWeb_13.10.0.20_amd64.zip

$ sudo dpkg -i icaclient_13.10.0.20_amd64.deb
$ sudo apt install -f

Now you need to sort out the SSL certificates

Sorting the Certificates

Link in the certificates (these should already be resident somewhere on your machine).

$ sudo ln -s /usr/share/ca-certificates/mozilla/* /opt/Citrix/ICAClient/keystore/cacerts/

Create a hash for each certificate.

$ sudo c_rehash /opt/Citrix/ICAClient/keystore/cacerts/

And you are ready to roll! Connect to your Citrix resources. Enjoy.

Create Live Ubuntu USB Drive

Refer: https://www.howtogeek.com/howto/14912/create-a-persistent-bootable-ubuntu-usb-flash-drive/

This worked but the performance degraded and had issues once all of the patches started being applied, probably better to just use a live cd.