Make th1cc usable

Now that I've finally got th1cc (Private) cleaned up and running at sane temperatures again, I need find a Linux distribution that works for me.


It's good enough as it is, and I have a bunch of other stuff to be getting on with.

To do

  • Migrate data to the new drive
  • Restore the old drive with Dell's recovery image and store it away
    • Get the recovery image
    • Get an NVMe enclosure
    • Write the image
  • Audio & music:
    • Fix always defaulting to dock's audio output when docked. If a BT device is available, it should be used instead.
      • Switching fully to pipewire-pulse seems to have fixed these annoying niggles.
    • AirPlay support.
    • Google Cast support.
  • Enabling Zoom/Magnifier shouldn't make the display server repeatedly crash.
    • Fixed at some point.
  • macOS-style Zoom with Ctrl+scroll wheel:
  • Get the discrete GPU working properly:
    • Is Bumblebee still the right way to do this? -- Nope
    • Native support via DRI_PRIME? -- Yep
  • Keyboard stuff:
    • Make function keys behave as function keys first, media keys second (with Fn).
    • I need easier access to emoji.
      • Emoji Selector will do, but I wish it positioned the picker near the insertion point or at least in the centre of the screen.
  • Make the trackpad wonderful:
    • Not my favourite configuration, but it works as is.
    • Enable three finger drag.
    • Four finger swipe for workspace navigation.
    • Two-finger clicks should be interpreted as right-clicks. Tweaks -> Keyboard & Mouse -> Mouse Click Emulation -> Fingers.
    • Two finger swipe left and right should navigate back and forwards. -- It does in Firefox.
  • Fix annoying DE bugs:
    • Since the full screen extensions are all a bit naff, I gave up on them.
    • Assigning windows to the left/right side of a workspace shouldn't move them to a new workspace.
    • Fix weird maximise ghosting if a window briefly touches a display edge.
  • Improve Gnome Shell ergonomics:
  • Use Wayland, following Use GNOME on Wayland with Nvidia hardware
  • Figure out Wayland fractional scaling blurriness:
    • Electron:
      • Launching them with DRI_PRIME=1 enables acceleration using the discrete GPU, at the cost of battery life.
      • --enable-features=UseOzonePlatform --ozone-platform=wayland works only when --disable-gpu is specified, leading to really poor performance. This might be releated to Chromium bug 1125485.
    • JetBrains IDEs (and probably other Java apps):
      • Native support seems to have stalled completely (see JBR-3206)

Battery replacement

Check stats with upower:

upower -i /org/freedesktop/UPower/devices/battery_BAT0
  native-path:          BAT0
  vendor:               LGC-LGC8.33
  model:                DELL 5XJ28
  serial:               33128
  power supply:         yes
  updated:              Sat Nov 12 00:29:47 2022 (3 seconds ago)
  has history:          yes
  has statistics:       yes
    present:             yes
    rechargeable:        yes
    state:               fully-charged
    warning-level:       none
    energy:              94.0932 Wh
    energy-empty:        0 Wh
    energy-full:         94.0932 Wh
    energy-full-design:  97.114 Wh
    energy-rate:         0.0118 W
    voltage:             12.609 V
    charge-cycles:       N/A
    time to empty:       332.2 days
    percentage:          100%
    capacity:            96.8894%
    technology:          lithium-ion
    icon-name:          'battery-full-charged-symbolic'
  History (rate):
    1668212957  0.012   fully-charged
    1668212927  0.000   fully-charged

Initial capacity measure is 96.8894%. After a charge to 100% and run to empty, it's 93.7789%. Starting to suspect something is wrong with the circuitry.