Skip to content

surface: tablet OSK, thermald, and auto-rotate defaults - #445

Open
dixonSolutions wants to merge 1 commit into
Ultramarine-Linux:umrawhidefrom
dixonSolutions:surface-tablet-defaults
Open

surface: tablet OSK, thermald, and auto-rotate defaults#445
dixonSolutions wants to merge 1 commit into
Ultramarine-Linux:umrawhidefrom
dixonSolutions:surface-tablet-defaults

Conversation

@dixonSolutions

Copy link
Copy Markdown

Summary

Extends ultramarine-release-surface with tablet defaults validated on Surface Pro 9 (GNOME Wayland):

  • udev: ignore keyd virtual keyboard / Video Bus in libinput so they do not suppress GNOME OSK (ID_INPUT_KEYBOARD=0 alone is not enough)
  • environment.d + chrome/electron flags: Wayland text-input + --disable-gtk-ime so Chromium/Electron/QtWebEngine drive the compositor OSK (same path Firefox/Zen already use)
  • thermald: conservative passive policy for sustained package heat
  • gnome-auto-rotate user unit: accelerometer → gdctl when GNOME auto-rotate is enabled (no Touch Up confirm button)
  • presets: enable thermald and iio-sensor-proxy

Test plan

  • Build ultramarine-release with --with surface
  • On Surface Pro 9 GNOME: confirm OSK can auto-show in Chrome/Electron after session reload
  • Confirm volume keys still work (gpio-keys not ignored, only KEYBOARD tag cleared)
  • systemctl enable --now thermald (or via preset on new image) — package temps stay saner under load
  • systemctl --user enable --now gnome-auto-rotate — tilt rotates without floating button; respects orientation lock

Notes

Made with Cursor

Ship Surface-edition defaults so tablets do not need hand-tuned
dotfiles: ignore fake keyboards for GNOME OSK, Wayland text-input
flags for Chromium/Electron, thermald policy, and an optional
gdctl auto-rotate user unit.

Co-authored-by: Cursor <cursoragent@cursor.com>
@madonuko

Copy link
Copy Markdown
Member

Please test your PR

@nothingneko

nothingneko commented Aug 12, 2026

Copy link
Copy Markdown
Member

i will test this as well, thermald is an option i've been exploring for all images, but generally we like to keep anywhere platforms as in line with regular Ultramarine as possible. thermald also requires per-device setup, which complicates this, just installing and enabling it does not much

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants