Skip to content

Instantly share code, notes, and snippets.

@jfuerth
Last active April 18, 2025 15:32
Show Gist options
  • Save jfuerth/bd531dd3426b735fa0480d3209bab14f to your computer and use it in GitHub Desktop.
Save jfuerth/bd531dd3426b735fa0480d3209bab14f to your computer and use it in GitHub Desktop.
Framework Laptop 16 + Ubuntu 24.04 Annoyances

Screen Resolution

Main gripe: at 100% scale, everything is too tiny; at 200%, everything is too big

  • You can enable advanced features and then select 125% scaling. Good size, but everything is blurry
  • My compromise: leave it at native resolution, and set Chrome and IDEA to scale their UI to 125%
    • not ideal, because most apps still appear too small
  • There are reports that native Wayland apps can scale cleanly, but it's an uphill battle to ensure nothing is going through the X11 compatibility layer

Sleep/Suspend/Hibernate

Main gripe: in suspend mode, the battery goes from 100% to 0% in less than 3 days

  • The tool amd_s2idle.py from amd-debug-tools is handy
    • Verifies that sleep works, recommends remedial steps if it's not working
    • Measures power drain during sleep
  • Suspend (AMD s2idle) works out of the box, but it's only good for short-term
    • Battery drain with 64 GB RAM is over 1% per hour
    • Battery goes to 0 within 3 days
  • Hibernate to disk is "experimental" and has been stripped from Ubuntu and GNOME Desktop
    • Framework support doesn't cover hibernate
    • You need to disable Secure Boot in the firmware (spam F2 while rebooting)
    • To enable it, you need a swap partition at least as large as RAM (64GiB for me)
    • You also have to set a kernel command line param resume=UUID=<swap-partition-uuid>
    • To enter hibernate manually, use sudo systemctl hibernate
    • You can set HibernateDelaySec=40min in /etc/systemd/sleep.conf along with AllowSuspendThenHibernate=yes (purportedly the default) to have the system wake up from sleep and then go into hibernation after a configurable time.
      • I have this set up but haven't verified it yet

Getting FUSE 2 (so you can run an AppImage)

  • if you sudo apt install fuse then it uninstalls ubuntu-desktop-minimal, ubuntu-session, and NTFS support. The login GUI stops working!
  • you need to sudo apt install libfuse2t64 instead
  • check /var/log/apt/history.log to see what got removed so you can add it back

Limiting battery charge to 80%

  • you can't! it's a firmware feature, and Framework firmware doesn't have it.
  • if it was available in the firmware, you could control it via /sys/class/power_supply/BAT1/charge_max_threshold

Open source QMK based firmware on keyboard modules

  • Technically true, but it's out of date and nobody is working on it anymore. GitHub repo is here.
    • RGB macropad is under keyboards/framework/macropad
  • A user has a forked version with fixes and instructions for compiling here
  • To put the macropad into programming mode, hold 2 and 4 keys while reseating the module
    • The first customization I made was to create a key binding for QK_BOOT. This works!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment