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
Reboot
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: https://repo.skype.com/deb 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 https://repo.skype.com/data/SKYPE-GPG-KEY | 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 https://repo.skype.com/data/SKYPE-GPG-KEY | 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

Saturday, 27 May 2017

Installing Virtualbox Guest modules into Devuan

This involves the following:

1. Remove the cdrom as a package source
2. Add jessie-backports as a package source
3. Update the installation
4. Add the required packages


1. Remove the cdrom as a package source

As a privileged user, edit the /etc/apt/sources.list file and put a hash character in front of any line starting with 'deb cdrom':

$ sudo vi /etc/apt/sources.list


2. Add jessie-backports as a package source

Add the following three lines (if you're using the GB mirror) to your sources.list:

# jessie-backports
deb http://gb.mirror.devuan.org/merged/ jessie-backports main contrib
deb-src http://gb.mirror.devuan.org/merged/ jessie-backports main contrib

Adjust the URL if you are using a different mirror to what you are using for e.g. jessie-updates


3. Update the installation

$ sudo apt update
$ sudo apt dist-upgrade
$ sudo apt autoremove
$ sudo apt autoclean


4. Identify your kernel architecture:

$ uname -a
Linux devuan 3.16.0-4-amd64 #1 SMP Debian 3.16.43-2 (2017-04-30) x86_64 GNU/Linux

4. Add the required packages, replace amd64 with the architecture identified above as appropriate:

$ sudo apt install virtualbox-guest-utils virtualbox-guest-x11 virtualbox-guest-dkms dkms linux-headers-amd64 build-essential




Friday, 26 May 2017

Samba - Security Announcement Archive

Now it's SAMBA's turn with CVE-2017-7494.

Either upgrade to latest version, or put 'nt pipe support = no' into [global] section of smb.conf and restart smbd.



Samba - Security Announcement Archive:



'via Blog this'