mikelindner.com

Powering the web since 1995

Short Version of Macbook Camera on Ubuntu

October 27th, 2019


git clone https://github.com/patjak/bcwc_pcie.git
cd bcwc_pcie
make
sudo make install
sudo depmod
sudo modprobe -r bdc_pci
sudo modprobe facetimehd


“Night Mode” for Ubuntu

October 8th, 2019


One of the things I liked with MacOS was night mode in the evenings. This is where it shifts the colour temperature of the display to a warmer (more red) colour temperature.

Redshift is the package for Ubuntu that does this.

sudo apt install -y redshift-gtkredshift-gtk &

Once you have that running click on the icon that appears and select Autostart

in ~/config/resdhift.conf add something like this (it’s for Melbourne AU)

[redshift]temp-day=6500temp-night=3700location-provider=manual

[manual]lat=-37.8136lon=144.9631

One shot color change:

redshift -O 3700

Reset to normal:

redshift -x

Find your latitude and longitude (to set sunrise and sunset) here:
Read more…