curiouser

curiouser

Joined 9 months ago

curiouser
Last active 3 days ago

thunderbolt hacking

0 0 4
1 # lspci -xxxx
2
3 86:00.0 PCI bridge: Intel Corporation Thunderbolt 4 Bridge [Maple Ridge 4C 2020] (rev 02)
4 00: 86 80 36 11 07 05 10 00 02 00 04 06 08 00 01 00
5 10: 00 00 00 00 00 00 00 00 86 87 8b 00 e1 f1 00 00
6 20: 10 f8 10 f8 01 f8 01 f8 00 00 00 00 00 00 00 00
7 30: 00 00 00 00 80 00 00 00 00 00 00 00 ff 01 02 00
8 40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
9 50: 15 00 00 00 1f 02 01 00 00 00 00 00 00 00 00 00
10 60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
curiouser
Last active 3 days ago

write a systemd service file to set graphics power off when integrated graphics mode after system76-power service starts

0 0 2
1 #!/usr/bin/env bash
2 # as superuser
3 sudo su
4
5 # write a systemd service file to set graphics power after system76-power service starts
6 vi /etc/systemd/system/system76-power-graphics-power-default.service
7
8 # enable our new service
9 systemctl enable system76-power-graphics-power-default
curiouser
Last active 3 days ago

Rough migration guide for Atom to Pulsar on Linux

0 0 1
1 #! /usr/bin/env bash
2 # NOTE: This worked for my migration from Pop!_OS 22.04 Atom 1.63.1 which was installed with flatpak (user)
3
4 # First, download and install the deb package found here https://pulsar-edit.dev/download.html
5
6 # for flatpak Atom migration to Pulsar deb - copy configuration and packages
7 rsync -av ~/.var/app/io.atom.Atom/data/ ~/.pulsar/
8
9 # for deb Atom migration to Pulsar deb - copy configuration and packages
10 #rsync -av ~/.atom/ ~/.pulsar/
curiouser
Last active 3 days ago

Hybrid graphics laptop DaVinci Resolve desktop file

0 0 1
1 # ~/.local/share/applications/davinci-resolve-studio.desktop
2 [Desktop Entry]
3 Version=1.0
4 Encoding=UTF-8
5 Exec=/bin/bash -c '__NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia QT_DEVICE_PIXEL_RATIO=1 QT_AUTO_SCREEN_SCALE_FACTOR=true /opt/resolve/bin/resolve'
6 Icon=/opt/resolve/graphics/DV_Resolve.png
7 Name=DaVinci Resolve Studio
8 Terminal=false
9 MimeType=application/x-resolveproj;
10 Type=Application