My ThinkPad P15v

I ordered the extra SSD on March 15, 2024 and a week later I had disassembled the computer, booted Linux Mint and transferred all my files over from the Windows SSD on this machine and also from my personal machine. That was when my Linux journey started, at the end of March 2024!
purchase specs guide disassembly inside
ssd manufacturer precautions at 30 degrees above motherboard
unlink and uninstall onedrive
stupid menntaský
make do with dropbox backups for now
move to linux mint, mirror
dual drive dual boot
to install multimedia codecs on mint i enable secure boot with my teacher computer password
linux mint user same as teacher computer, ditto password
map network drive works!
ftp has the oldest pass
install vscode, enable autosave
disable screen lock
Trouble installing Tex Live, this removed it (this is what that operation means)
When the installation failed again and hold context was already applied and sudo dpkg --configure -a did not work, I could remove texlive with these commands:
sudo dpkg -r texlive-full
sudo dpkg -r context-modules
sudo dpkg -r context
and sudo apt update and then sudo apt upgrade removed the font files that were left over from the bad installation
In the end I opened Synaptic Package Manager and marked all the TeX packages for removal and clicked Apply (all except untex, which wanted to take Cinnamon with it)
When I tried to reinstall texlive, Synaptic said I had held a lot of broken packages and that it could not fix them
I restarted the computer and then I could install texlive with Synaptic and all the packages mentioned came with it except texlive-pictures, which I added manually. VSCode threw this error when I tried to compile: Recipe terminated with fatal error: spawn latexmk ENOENT
So I added these three packages in Synaptic
Do not install Microsoft font with Software Manager, remove bad installation with: sudo dpkg -r ttf-mscorefonts-installer
Install ImageMagick (use convert instead of magick command) and FFMPEG
Create Bash script
To get emoticons in the Zoom app, I saved this file as /home/svavark/Desktop/57-add-emoji-support.conf and then sudo moved it to /etc/fonts/conf.d/57-add-emoji-support.conf with the command sudo mv /home/svavark/Desktop/57-add-emoji-support.conf /etc/fonts/conf.d/ and then ran fc-cache -f
To get Biblatex working in VSCode I needed to install biber in the Synaptic Package Manager.
In the LaTeX Workshop plugin in VSCode, I disabled automatically building on save, because I have autosave on, which saves after every keystroke.
I replaced noveau with the proprietary NVidia driver for my graphics card as suggested by the operating system.
To run Office and Fusion 360 in Linux I used WinApps. I first tried to run Fusion 360 in Bottles but it did not work. Fusion 360 is slow in WinApps. Maybe Looking Glass can help, although the WinApps author has doubts about that. Update: Winapps is slow, buggy and annoying. Office apps are bad, Fusion 360 is impossible. I used the installation guide to add apps. I used the Adding pre-defined applications paragraph to add Fusion 360 permanently I used ./bin/winapps manual "C:\Program Files\Prusa3D\PrusaSlicer\prusa-slicer.exe" in the folder /home/svavark/winapps to run PrusaSlicer once.
To sync the photos from my iPhone I used pip install icloudpd
and then icloudpd --directory /home/MY_COMPUTER_USERNAME/Pictures/iCloud_Photos --username MY_ICLOUD_USERNAME --watch-with-interval 3600
I could maybe turn icloudpd into a Cinnamon applet. I am this far along.
This might be the way to instal DaVinci Resolve on my Linux Mint system.
I want Super+L to lock the screen instead of opening the Cinnamon debugger.
To me, hibernation is one of the most important features of a laptop. Linux Mint does not enable it by default, because it is not compatible with all hardware. I will try to enable it manually. First I need to disable Secure Boot. Then I need to follow these instructions. I seem to have a 2 GB swap file, but I cannot find its identfier using blkid. Maybe I need to create a new swap file?
To enable the serial port in the Arduino IDE, I used this guide.
To get the Arduino IDE to program the Xiao RP2040 I tried to enable SCSI in the Linux kernel as suggested here. I couldn't find good instructions on how to do it, so I ran llama3 in my terminal and followed its instructions, but I didn't get any output when I ran lsmod | grep sg. Then I tried programming the Xiao with MicroPython in Thonny, and that worked OK (this is probably pretty bad, as it was originally intended for a unipolar stepper). The pin numbers are the same as in the Arduino IDE. I found that out with my handy LED debugging board. Then I fried the Xiao by shorting with a metal caliper, so I ended up running the stepper on a Raspberry Pi Pico.
I still have not managed to program a chip using the Arduino IDE in Linux.
ADmesh fixes STLs in the Linux terminal. Example: admesh --write-binary-stl=bwicker-fixed.stl bwicker.stl
Ctrl-Alt-Shift-R is a quick way to record the Cinnamon desktop (1 screen) without audio to a smallish webm file. Easily transcoded to a very small 720p mp4 with FFMPEG.
To get better battery life, I installed auto-cpufreq
To connect to my Windows tower at the Fab Lab I used Remmina to make an RDP connection, it is great! This is my preferred method of using Windows apps on my Linux machine now, especially since I have a shared folder between the computers.
To get my SpaceMouse Pro to work on Linux, I installed Spacenavd from the Linux Mint Software Manager. It works better in Ondsel on a Linux system than it did in Windows! It also works super well in Blender! The official driver from 3DConnexion is not for Debian based systems.
To get DaVinci Resolve to scale correctly on my 4K laptop screen I followed this.
I set up a very long hostname when I booted Linux Mint for the first time, and it annoyed me whenever I opened the terminal. Turns out you can change it.
I can connect to the Windows tower with Remmina, but only on the same network.
I want to connect to the Windows tower and the Raspberry Pi from anywhere in the world using SSH.
I downloaded the two latest versions of Salome Meca and followed the 2024 FEA4FREE installation guide, but I made the mistake of using sudo apt-install singularity, which turned out to be a video game, not the SIF utility that I needed. The next step is to remove games from the PATH, so that I can use singularity. It is installed, but I don't know how to run it (except maybe point to the exact path if I can find it). After rebooting, singularity worked! I was able to install and run Salome Meca in software rendering mode.
To convert Markdown files to PDF I installed the Markdown PDF Plus extension in VSCode. I press Ctrl+Shift+P to get the Command Palette and search for Markdown PDF Plus: Export PDF.
Dont install the Flatpak version of the Arduino IDE, Earle Philhower says so (under Linux-specific Notes). Install the Linux Mint system package instead.