Tested on:
- Pop!_OS 24.10
# Vivado requires libtinfo5. Ubuntu comes with libtinfo6 but they are compatible enough.
# List libtinfo versions| # Based on https://community.avaccess.com/t/kd-e10-34-monitor-with-3440x1440-goes-off-and-on-on-linux-xubuntu-24-04-only/446/3 | |
| # This solves the monitor disconnect and device restart that happened every ~25s on Pop!_OS 22.04 LTS | |
| # when the USB Type-B to Type-A cable was connecting the desktop and the dock/switch, with the device 2 (desktop) being active. | |
| # The original author reported the issue on Xubuntu 24.04 | |
| # The cause of the issue seems to be `brltty` taking over the UART interface on the KVM Switch/Dock, mistakenly detecting | |
| # the CP210x (USB to UART bridge) controller present on the device as a Braille terminal. | |
| # The following two lines stop the currently running `brltty` service and mask it so that it doesn't get activated again. |
| import os | |
| import subprocess | |
| import sys | |
| """ | |
| This script converts all .pptx files in a specified folder to .pdf format | |
| using LibreOffice. | |
| Functions: | |
| convert_pptx_to_pdf(input_folder): |
| # Fixes the fn row key for Lofree keyboards on Linux. | |
| # Non-permanent fix: https://github.com/alexeygumirov/lofree-flow-fn-fix/blob/main/lofreemodefix | |
| echo 'options hid_apple fnmode=2' | sudo tee /etc/modprobe.d/hid_apple.conf | |
| sudo update-initramfs -u |
| # Move an installation of Pop-OS! from one disk to another. | |
| # Useful guide if transferring data from a non encrypted install to an encrypted install. | |
| # Create a fresh install of Pop-OS! in the new drive, and operatating from the live env do: | |
| # unlock encrypted partitions | |
| sudo udisksctl unlock -b /dev/<part> | |
| # mount partitions | |
| sudo udisksctl mount -b /dev/mapper/data-root # Or some other alias returned earlier | |
| # REPEAT ABOVE FOR SOURCE AND DESTINATION |