Skip to content

Instantly share code, notes, and snippets.

@kurtis318
Last active November 27, 2019 17:46
Show Gist options
  • Save kurtis318/ab263076a67cf0691d414f5dcf8a6903 to your computer and use it in GitHub Desktop.
Save kurtis318/ab263076a67cf0691d414f5dcf8a6903 to your computer and use it in GitHub Desktop.
Linux on MacMini tips and tricks

Installing NVIDIA driver

REF: https://linuxconfig.org/how-to-install-nvidia-driver-on-debian-10-buster-linux

sudo apt -y install nvidia-detect
nvidia-detect
sudo apt -y install nvidia-legacy-340xx-driver
sudo reboot

Fix fan running all the time

REF: https://github.com/linux-on-mac/mbpfan

There is no mbpro package in the deepin repository. Solution is to clone the mbpfan Git project, build and install the binary,

Here are the commands in short (after doing a git close of the Github project):

cd mbfan
make
sudo make install

sudo cp mbpfan.service /etc/systemd/system/
sudo systemctl daemon-reload
sudo systemctl enable mbpfan.service
sudo systemctl start mbpfan.service

Fixing Spotify repo pgp key

Spotify repo does not have a gpg key installed after installing from the Deepin App Store.

sudo apt-get update

Fetched 171 kB in 1s (138 kB/s)                           
Reading package lists... Done
W: GPG error: http://repository.spotify.com stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 4773BD5E130D1D45
W: The repository 'http://repository.spotify.com stable InRelease' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.

The following commands will fix this issue

sudo apt-get install dirmngr
sudo apt-key adv --keyserver hkp://pool.sks-keyservers.net:80 --recv-keys 4773BD5E130D1D45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment