Virtualbox, Ubuntu and USB

Have you tried to install VirtualBox on a Debian-based system and had all kinds of problems? Typically it all starts with “sudo apt install virtualbox” and then you realize that you can’t install the Oracle VM VirtualBox Extension Pack. You can’t see any of your USB devices. You can’t update the software…UGH

Here’s a fix. If you already installed using the terminal, you can first “sudo apt remove virtualbox” and then “sudo apt autoremove”. Then bring up your web browser and go to the official Oracle VM VirtualBox website. From there, you can download the .deb package. Launch it and install.

Once your program is installed, open VirtualBox and navigate in the toolbar to File/Preferences and then to the Extensions icon. Make sure the Extension Pack is installed. If not, you can download it and install with the ‘plus’ icon on the right.

Now you can create your virtual machine using ‘New’ icon or alternatively, use the “Add” icon to add an existing machine from a folder. To get your USB device working with your virtual machine, either right click on the VM and go to settings, or select the “Settings” icon to the right of it. Toward the bottom of the icon panel on the left, you will see ‘USB’. Select that and you should see USB 1.1, 2.0, and 3.0 options. Pick the relevant one and then the “+” icon on the right. You should see a list of options. Once you add the USB device, it should be available once you boot your virtual machine. Enjoy!

Install Brave Browser in Debian-based system like Ubuntu

How Does Brave Browser on Windows Compare?

Brave is a great privacy-focused browser with built-in (optional) crypto functionality. It blocks trackers and ads without an extension and it’s the only browser I know of that blocks Youtube ads. Very useful!

There’s only an X86 version as of now, so it will not work with Raspberry Pi yet. I am running it on my work iphone and my de-googled android.

sudo apt install apt-transport-https curl gnupg

curl -s https://brave-browser-apt-release.s3.brave.com/brave-core.asc | sudo apt-key --keyring /etc/apt/trusted.gpg.d/brave-browser-release.gpg add -

echo "deb [arch=amd64] https://brave-browser-apt-release.s3.brave.com/ stable main" | sudo tee /etc/apt/sources.list.d/brave-browser-release.list

sudo apt update

sudo apt install brave-browser

Migrate from Windows to Ubuntu with 3 lines in a terminal

You can obviously tailor this list to your needs, but with this post you can install at once these programs in a Debian-based distribution (x86 or Raspberry Pi!):
FTP, audio editor/streamer/player/tagger, office suite, radio streamer, remote desktop client, video editor, web browser, social media, disc utility, bit torrent client, email client, virtual machine, photo editor, CAD, CD burner, comic/ebook reader

sudo apt-get update && sudo apt-get upgrade && sudo apt-get dist-upgrade

sudo apt install filezilla audacity vlc rhythmbox thunderbird lynx mc krita libreoffice brasero gparted picard freecad transmission remmina obs-studio kid3-qt sound-juicer snapd p7zip-full p7zip-rar

Raspberry Pi has an ARM processor, so a few of these programs are unavailable. OBS Studio can be installed with this guide. Use this command instead:
sudo apt install filezilla audacity vlc rhythmbox thunderbird lynx mc libreoffice brasero gparted picard freecad transmission remmina kid3-qt sound-juicer snapd p7zip-full

(Reboot before you install anything with 'snap'):
sudo snap install freac foliate telegram-desktop

At the end of the page is an explanation of which programs do what.
Note: Every program on this list works on almost any Debian-based Raspberry Pi distribution, including Kali, Ubuntu Mate, Ubuntu Desktop, Raspberry PI OS

Raspberry Pi only: Tip for games and tweaks
There’s a CLI program called pi-kiss that can install multiple games, emulators, system configurations, tweaks, tools, scripts, etc.

curl -sSL https://git.io/JfAPE | bash

Launch the program:
cd /root/piKiss
./piKiss.sh

Continue reading “Migrate from Windows to Ubuntu with 3 lines in a terminal”

Install nifty Raspberry Pi Imager program on any Debian distro

The Raspberry Pi Image program that comes with Raspberry Pi OS allows you to install an OS (similar to Etcher but with Pi images incorporated into it) to SD card, SSD, etc. Has lots of stock images, including Retropie, several Ubuntu variants, Raspberry Pi OS and more. You can also flash a custom image and wipe drives.

sudo apt update && sudo apt upgrade
sudo apt install snapd
sudo snap install rpi-imager

Mount an Apple APFS drive in Ubuntu

Mount an Apple APFS drive in Ubuntu

Install ‘fsapfsmount’:

sudo apt install libfsapfs-utils

List your drives:

sudo fdisk -l

Look for the drive you want to mount. Example:

Device      Start        End    Sectors   Size Type
/dev/sdb1      40     409639     409600   200M EFI System
/dev/sdb2  409640 2000409223 1999999584 953.7G unknown

/dev/sdb2 is the drive we want to mount

Issue the command to mount the drive:

sudo fsapfsmount -f 1  [directory to mount at]

sudo fsapfsmount -f 1 /dev/sdb2 /media/usb

The drive contents will be inaccessible to all but the root user. 

Protonmail in eMail client

So far, Protonmail has evaded us with eMail client support.

Now the option exists via the Protonmail Bridge, which is available for Mac OSX, Windows 10 and GNU/Linux.

Here’s how I set it up in Ubuntu:
From the protonmail.com/bridge/install page, click on the GNU/Linux to download the .deb file. Double-click on it and launch the software manger. Install.
Unfortunately, right now the only email client that works with this Protonmail Bridge is Thunderbird, which is a Mozilla product. I had previously deleted this app out of protest of Mozilla’s anti-speech behavior but since it’s free and open source, and the only option for now, I will have to live with it. If you do not have this program, in a terminal, type:

sudo apt install thunderbird

Before you setup Thunderbird, you will need to launch and configure the Protonmail Bridge. All of the instructions for configuration are here: https://protonmail.com/bridge/install

Then to setup Thunderbird, go here for instructions:
https://protonmail.com/bridge/thunderbird

Ubuntu wifi broken? Try this:

My Ubuntu 20.04.1 LTS wifi (no adapter found) on my Mac Mini (Intel i5-3210) was broken and I tried many things to fix it without luck.

This was the fix. It might work for you if you are having the issue. First go into settings, about, software updates and turn off the broadcom driver under ‘additional drivers’. Then open a terminal (Ctrl-T) and type :

sudo apt purge bcmwl-kernel-source
wget http://mirrors.edge.kernel.org/ubuntu/pool/restricted/b/bcmwl/bcmwl-kernel-source_6.30.223.271%2Bbdcom-0ubuntu7_amd64.deb

sudo dpkg -i bcmwl-kernel-source_6.30.223.271+bdcom-0ubuntu7_amd64.deb

My64 – mini ITX system in a *new* c64 case

This is a project that I definitely WILL do early next year:

I thought the whole setup was great except for one annoying thing: I don’t like cables coming out the sides of anything.  I know this is standard procedure – even a macbook pro costing thousands of dollars does this. Would have been nice to have the power on the back. But this is a clean setup, looks great and isn’t too expensive, relatively speaking.
When I got to the end and saw what the function keys did I almost spit my coffee.
Outstanding!
The mainboard/CPU mini-itx combo was really interesting. I didn’t know those existed, especially at that low price. I tried to find the board and they are out of stock everywhere but even better – the highest end version of the board is available for only $120:
Now that ARM processors are coming to the market for desktop computing, I wonder what kind of mini-computing setups we will see in the near future. I can picture something that looks like a 5″x5″x1″ shape that people shove behind a monitor that has Windows 10 and an SSD drive for under $200. We’ll see…