Installing Latest Ubuntu Kernel

Trying to fix broken trackpad in Lenovo Ideapad 330

Refer: https://itsfoss.com/upgrade-linux-kernel-ubuntu/

From this article: https://askubuntu.com/questions/1049a787/lenovo-ideapaad-330-touchpad-not-working/

The following two items need done, to get the two finger and edge scrolling to work also:

sudo modprobe -r psmouse
sudo modprobe psmouse

Turn off video auto play in Firefox

Refer: https://support.mozilla.org/en-US/questions/1222694

about:config?filter=autoplay

Helpful Reply
The pref that controls auto-play has been changed in the current Firefox release (63.0.1) to an Integer value.

media.autoplay.default = 0

When the first two prefs listed below (or at least user-gestures-needed) are true then there is also a setting available in "Options/Preferences -> Privacy & Security -> Permissions" and you can inspect and modify the exceptions.

media.autoplay.enabled.user-gestures-needed = true
media.autoplay.ask-permission = true
media.autoplay.default = 0 [0=Allowed, 1=Blocked, 2=Prompt]
You can open the about:config page via the location/address bar. You can accept the warning and click "I accept the risk!" to continue.

http://kb.mozillazine.org/about:config
See also:
https://support.mozilla.org/en-US/kb/block-autoplay

Install Flash Plug-in Ubuntu 18.04

Refer: https://computingforgeeks.com/how-to-install-latest-adobe-flash-player-on-ubuntu-18-04-linux/

sudo add-apt-repository "deb http://archive.canonical.com/ $(lsb_release -sc) partner"
sudo apt update
sudo apt -y upgrade

sudo apt install adobe-flashplugin
sudo apt-get install browser-plugin-freshplayer-pepperflash

Adobe Flash should now also be available on search menu too

Install Yeti Microphone on Ubuntu 18.04

Basically you just need to get into sound settings and use Yeti for input and speakers for output.   18.04 seems to recognize it right out of the box now.

Refer: https://www.omgubuntu.co.uk/2011/12/how-to-set-up-blue-yeti-mic-in-ubuntu

Install Minecraft on Ubuntu 18.04

Refer: https://linuxconfig.org/how-to-install-minecraft-on-ubuntu-18-04-bionic-beaver-linux

Download Minecraft Package

The first step is to download the official minecraft package. Open up terminal and enter the following wget command to download the Minecraft.deb package:

$ wget -o ~/Minecraft.deb https://launcher.mojang.com/download/Minecraft.deb

Install Minecraft.deb package

The easiest way is to install the previously downloaded Minecraft.deb package is by using gdebi tool. First make sure that gdebi command is available on your system:

$ sudo apt install gdebi-core

Install the Minecraft.deb package:

$ sudo gdebi ~/Minecraft.deb

Trying to fix suspend

Refer: https://www.dell.com/community/Inspiron/Suspend-resume-problems-on-Ubuntu-18-04/td-p/6072410

Re: Suspend-resume problems on Ubuntu 18.04
It is the buggy nouveau driver again. That's what solved the issue for me.
Edit the file /etc/default/grub.

$ sudoedit /etc/default/grub.
Add "nouveau.modeset=0" to the line that says GRUB_CMDLINE_LINUX then press ^O to save the file and ^X to live then run.

Snap Programs Cannot Run Via SSH -X

Refer: https://forum.snapcraft.io/t/x11-forwarding-using-ssh/2381/2
Solution by: jdstrand

strace was used to find solution:
Refer: https://www.tecmint.com/strace-commands-for-troubleshooting-and-debugging-linux/

Symptom:
$ handbrake-jz.ghb
X11 connection rejected because of wrong authentication.

Here's the fix for Handbrake:
ln -s ~/.Xauthority ~/snap/handbrake-jz/current/.Xauthority

Here's the generic solution:
ln -s ~/.Xauthority ~/snap//current/.Xauthority