Mac stuck in Ubuntu 18.04

I have installed Ubuntu on my Mac, but now it boots into Ubuntu by default. I have paired my magic keyboard to ubuntu, and apparently it doesnt work if i’m no in ubuntu, so holding down the option key while booting up doesn’t work. I dont have any usb keyboards. I want to get back to macOS, so can you please help me? GRUB or rEFInd wouldn’t work anyway since when it goes into the ubuntu desktop is the only time it’ll recognize the keyboard.

Tesseract -tessdata-dir option not working in ubuntu 18.04

I am trying to use the best model from tesseract. However, I am getting the following error:

tesseract sample.jpg stdout --tessdata-dir tessdata/ Error opening data file tessdata/eng.traineddata Please make sure the TESSDATA_PREFIX environment variable is set to your "tessdata" directory. Failed loading language 'eng' Tesseract couldn't load any languages! Could not initialize tesseract. 

Here is the folder structure: .

├── sample.jpg └── tessdata     └── eng.traineddata  Ubuntu Version: Distributor ID: Ubuntu Description:    Ubuntu 18.04.1 LTS Release:        18.04 Codename:       bionic tesseract version: tesseract 4.0.0-beta.1  leptonica-1.75.3   libgif 5.1.4 : libjpeg 8d (libjpeg-turbo 1.5.2) : libpng 1.6.34 : libtiff 4.0.9 : zlib 1.2.11 : libwebp 0.6.1 : libopenjp2 2.3.0 

Moving Secondary Internal HDD from 14.04 to 18.04

I recently installed 18.04 onto a new machine and I wanted to move an old 4TB secondary internal HHD to it. I removed the drive from the old computer (after powering it down) and placed it in an external enclosure I had lying around. After plugging it into the new 18.04 box though the drive is not recognized.

sudo blkid 

returns

/dev/sdb: PTTYPE="PMBR" 

And when firing up gparted I’m confronted with this:

Invalid argument during seek for read on /dev/sdb 

also

sudo hdparm -N /dev/sdb 

returns

max sectors   = 7814037168/12631728(18446744072933654192?), HPA setting seems invalid (buggy kernel device driver?) 

I know the drive was formatted as ext4 on the old 14.04 box using gparted and was mounted using fstab in /Server. I’m not sure where to go from here. I figured it would be simple to move this non-system drive used for media from one computer to another. I have the data backed up but would prefer not to have to go through recovery unless absolutely necessary.

How to re-enable wayland in Ubuntu 18.04 LTS

I recently experimented with i3 (sudo apt install i3 -> reboot -> select i3 from login screen cog) and decided to go back to gnome3 with wayland. However upon removing i3 it appears that the default login screen no longer shows the option to start gnome wayland session. The reason for wanting to use wayland is easy out of the box support for 144hz screen and having no issues with it so far. Login screen does not show option “Gnome on wayland” as previously. I would like to have it the way it used to be: input password and enjoy 18.04 LTS with gnome 3 on wayland with 144hz enabled. I have set WaylandEnable = true in /etc/gdm3/custom.conf and restarted multiple times to no luck. Heres a bit of info:

OS: Ubuntu 18.04.1 LTS x86_64

Kernel: 4.20.0-042000-generic

Shell: bash 4.4.19

Resolution: 2560×1440

DE: GNOME 3.28.3

WM: GNOME Shell

Terminal: gnome-terminal

CPU: Intel i7-4790K (8) @ 4.500GHz

GPU: AMD Hawaii XT

Memory: 1077MiB / 32107MiB

Thanks in advance for help!

/home partition doesn’t seem to be mounted in Ubuntu 18.04

After some difficulties dualbooting Ubuntu 18.04 with Windows 10, I’ve noticed that my /home partition isn’t mounted. How would I go about mounting it. I though about using the built in Disks program, and changing the mounting point, but I don’t want to mess with something I don’t fully understand.

Here's a GParted screenshot

My system’s installed on /dev/sda7, and my home partition was supposed to be /dev/sda9

Ipod Classic 160g not showing music after sync with Rythmbox running Ubuntu 18.04

I have an Ipod classic, running Ubuntu 18.04. I have formatted the Ipod, synced it in Rythmbox and can see the playlist and can play the playlist in Rythmbox, but when unplugging it, there is no music indicated on the ipod. I have tried all 3 ways of formatting. Clearly it stores the music, but does not recognize it there.