Richbits

Updating to Lubuntu 24.04

Install stuff

sudo apt install guake unp lxterminal python3-pyotp python3-pyperclip python3-pyqrcode cmake ninja-build clang-18 libomp-18-dev libboost-dev pybind11-dev python3-dev cuda-toolkit-12-6 pre-commit python3-bs4 sqlitebrowser fatrace net-tools evince

Guake text doesn't resize

Guake preferences -> Appearance -> Uncheck "Use the system fixed width font" and set Font to "Monospace Regular 16"

Pyperclip doesn't work

Edit /usr/lib/python3/dist-packages/pyperclip/__init__.py from

if gi.version_info[0] >= 3:

to

if False and gi.version_info[0] >= 3:

Install Nvidia Drivers

sudo apt install nvidia-driver-550

Grub menu

Edit /etc/grub.d/30_os-prober to comment out

#if [ "\${timeout}" = 0 ]; then
#  set timeout=10
#fi

Run sudo update-grub

Install stuff

  • Install CUDA 12.6 from here
  • Install TeXLive from here

Configuration

  • Set up ram drive (link)
  • Set up /tmp drive in the same way

Setup NuPhy 75 function keys:

Immediate

echo -n 0 | sudo tee /sys/module/hid_apple/parameters/fnmode 

To make this persistent edit /etc/modprobe.d/hid_apple.conf to include

options hid_apple fnmode=0