Sunday, 11 March 2018

How to install VirtualBox Guest Additions in a Debian virtual machine - Unix & Linux Stack Exchange

How to install VirtualBox Guest Additions in a Debian virtual machine - Unix & Linux Stack Exchange:

For Debian 9, enable backports with contrib repository to /etc/apt/sources.list
  • deb stretch-backports main contrib

Then update and install:
  • sudo apt update
  • sudo apt install virtualbox-guest-utils virtualbox-guest-x11 virtualbox-guest-dkms dkms linux-headers-amd64 build-essential

'via Blog this'

Monday, 1 January 2018

Tuesday, 1 August 2017

Disable USB power saving for booting from USB

Having issues booting from USB connected SSD and disabling this in the Linux Kernal seems to solve the issues of the disk becoming unavailable.
Edit /etc/default/grub and change the following line:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash usbcore.autosuspend=-1"
Update the config with: sudo update-grub
Thanks to this post.

Chromium Hardware Acceleration Issues on Mint 18,2

I'm currently testing Mint18.2 and have run into a number of issues with Chrome. It initially started with corruption issues in Youtube.
After investigation I discovered that the hardware acceleration had been disabled. By adding the following switches to the 'exec' lines in /opt/google/chrome/google-chrome I was able to force all the acceleration options on:

  • --enable-native-gpu-memory-buffers
  • --enable-zero-copy
  • --disable-gpu-driver-bug-workarounds
  • --ignore-gpu-blacklist
  • --enable-gpu-rasterization
  • --enable-checker-imaging
I added these to the file by editing it with root (sudo) options. I suspect the file will be overwritten on update. There seems to be an environment variable for chromium which allows you to set command line options to pass to chromium without editing files, but I can't tell if this works for Chrome yet.

Sunday, 2 July 2017

Unable to update Skype because of GPG error

Recently installed NHSbuntu on an SSD and added Skype but kept getting the following error when trying to run 'apt update':

W: GPG error: stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 1F3045A5DF7587C3

Thanks to QwertyChouskie over at this thread for the answer:
'curl | sudo apt-key add -'

Tuesday, 30 May 2017

Bug #1587975 “packagekitd eats all the CPU” : Bugs : AppCenter

Bug #1587975 “packagekitd eats all the CPU” : Bugs : AppCenter:

Elementary OS problems with packagekitd using all CPU after installation of Skype.

Seems that the Skype repo doesn't add the GPG key properly.

I only had to run these lines:

curl | sudo apt-key add -

sudo apt update

'via Blog this'

Monday, 29 May 2017

elementary OS Snippets: Add My Weather Indicator To Wingpanel

elementary OS Snippets: Add My Weather Indicator To Wingpanel: My-Weather-Indicator is a ( Wing )panel-based weather applet that can show weather conditions, a forecast, a forecast map and check sunrise ...

I had to install software-properties-common before I could add the repository:

sudo apt install software-properties-common

sudo add-apt-repository ppa:atareao/atareao

sudo apt-get update
sudo apt-get install my-weather-indicator