Problems saving documents in Ubuntu 18.04 on MacBook Pro 5,1

N00b starting his venture into Linux by building a dual-boot on a MacBook Pro 5,1 (OSX 10.9.5) with Linux 18.04 LTS. Formatted partitions, Installation from bootable EFI installation flash drive (pardon me if I’m not using the correct terminology – started this last week) went smooth. Installed b43 drivers for broadcomm wifi. Installed REFINDer. System and apps appeared to work well – until I tried saving documents.

Documents created in LibreWrite and the packaged Text Editor (I did not try vi or other command line editor) would hang/freeze the application, requiring quitting the program in some cases, requiring command line killall in others. The Save, Save As, and export options in the GUI menus all had the same result.

Syslog indicated apparmor was denying access to cgroup and wchan (I think those were the directories). My well-versed engineer friend wove some Linux magic and managed to allow access (it was not a matter of permissions, and he couldn’t quite explain what he did – my depth is still too shallow). In spite of his best efforts, the same processes would still hang the applications whenever it tried to create a new file. we were able to make new directories in the GUI. There was also no issue in copying items.

apt updates, etc, did not fix the issue.

The problem seems to be strictly creating new files from applications and writing them to the drive. I went through the same process using both SSD and HDD drives with the same result, just to eliminate potential drive issues.

Ultimately, I repartitioned my exf4 to allow for a swap space and installed Ubuntu 16 LTS. I now have no problems saving, duplicating, or reformatting files from applications.

My question – has anybody else run across this issue with 18.04 and MacBookPro 5,1? Both my engineer friend and I are under the assumption that there is some incompatibility between the 5,1 hardware (which is now almost a decade old) and the current 18.04 LTS. Any suggestions as to what could be causing this?

How to make an USB Ubuntu installation more compatible with different computers?

I always have a keychain USB-drive with me and noticed a while back that Ubuntu can easily be installed on it. I’ve successfully used this drive to test other people’s hardware for them and copy files from dead Windows installations or just check my own emails in a secure operating system while travelling.

So far, this method has worked very well, but not every single time. Some hardware will recognise the USB-drive, but refuse to boot from it. On others, the system boots, but has serious performance/display issues, which can make it unusable.

I’ve tried to compile a list of all compatibility options that have helped to increase the rate of a successful boot and operation of this drive, but I am not sure what else could be done to prevent issues or what would be other useful choices in general in this case. So far, I’ve noted down these points:

  • Use the vanilla Ubuntu ISO, rather than e.g. the slimmer Xubuntu, because Xubuntu in some cases doesn’t load a laptop’s WiFi drivers correctly while vanilla Ubuntu does.

  • Use a 64-bit ISO (for Europe/North America), because it’s more likely to encounter 64-bit processors in these regions today and some newer UEFI-versions will not boot 32-bit Ubuntu systems while they do 64-bit.

  • Reserve some space on the drive to create a swap partition, because some machines may have low RAM (or lower than it’s supposed to be) and very slow USB-swap is still better than a complete crash.

  • Enter the nomodeset parameter into /etc/default/grub, because the system will boot with many different GPUs and this should prevent display issues.

As well as two small tips on the side:

  • Some Windows 10 installations will not fully shut down and prevent entering the BIOS/boot menu. If that happens, boot the Windows system first and try either the Restart option instead of a normal shutdown or hold down Shift while pressing Shutdown to circumvent those Windows/UEFI boot-mechanics.

  • Updates take a long time over USB (by Ubuntu’s standards), especially on USB 2.0, so I suggest to disable all automatic updates and rather update the system manually when there is enough time/bandwidth available to do so.

Are there other setup options that would be beneficial in this scenario?

Would you suggest other kernel parameters or system configurations that could increase compatibility while not limiting the usage on such a minimal installation?

Ubuntu 18.10 no scaling settings

I’ve just installed 18.10, and haveno scaling settings availble in setting applet somehow. I’ve set com.ubuntu.user-interface scale-factor to {‘eDP-1’: 16} in donf-editor and it’ve scaled the login screen but does nothing for the desktop itself. I’ve also tried to play with all other “scale-…” setting in dconf with no success. The only thing worked was xsettings.overrides but it scales only windows, not dash/menu etc.
So wheres the good’old scale setting in ubutu 18.10?

Change resolution Ubuntu over Teamviewer

Im running a computer with Ubuntu 14.04.1, no screen attached. I have installed Teamviewer 10.0.36897. Im trying to get it to produce fullscreen when connecting to it through Teamviewer, allthough it only shows 1024×768.

Before connecting to my “Ubuntu-computer” I have – under properties – added 1920×1200, like image below shows, allthough this doesn’t help.

In Ubuntu under “Screens” the dropdown option to change resolution is grayed out, and Im not able to change there either.

How do I increase the resolution?

Brother MFC-495CW Scanner not working on Ubuntu 18.04

I am using Ubuntu 16.04 and my scanner, Brother MFC-495CW, is working fine. However I wanted to test Ubuntu 18.04 and installed it on a separate hard-drive. I followed the same instructions as for 16.04 but cannot make the scanner work on 18.04. When using “Simple Scan” I get Failed to scan, no scanners available. Please connect a scanner. Please help.

Ubuntu 18.04 installed from DVD: boots fine but no Wi FI so no Internet. Ubdates seemed to install off of…

It looks like the install went OK and I did updates from Internet during install, but Wi FI was not installed onto HDD version.

How do I find out what I need and install it if I have no Internet access?

Can I find minimal drivers in the DVD I installed from?

What packages do I need to copy from another Linux system I have?

The system was intended to be dual boot, but it may have clobbered a Win 10 install although parted says that there is some kind of windows partition on /dev/hda. It calls the partition type Win32, which may mean that Windows 10 got clobbered. Grub does not see a Windows Partition and boots into Ubuntu 18.04 where there is no wifi.