Skip to content

Add com.github.armaaar.CosmicAppletRotation#140

Open
armaaar wants to merge 1 commit intopop-os:masterfrom
armaaar:add-cosmic-applet-rotation
Open

Add com.github.armaaar.CosmicAppletRotation#140
armaaar wants to merge 1 commit intopop-os:masterfrom
armaaar:add-cosmic-applet-rotation

Conversation

@armaaar
Copy link
Copy Markdown

@armaaar armaaar commented Mar 25, 2026

Summary

Adds Screen Rotation (com.github.armaaar.CosmicAppletRotation) — a COSMIC panel applet for automatic screen rotation on devices with accelerometers.

  • Detects orientation via iio-sensor-proxy over D-Bus
  • Applies rotation using wlr-randr (via flatpak-spawn --host)
  • Toggle auto-rotate on/off from the panel

Repository: https://github.com/armaaar/cosmic-applet-rotation
Release: https://github.com/armaaar/cosmic-applet-rotation/releases/tag/v0.1.0
License: GPL-3.0-only

Permissions requested

Finish arg Reason
--socket=wayland Display access
--share=ipc Shared memory for Wayland
--device=dri GPU rendering
--system-talk-name=net.hadess.SensorProxy Accelerometer readings
--talk-name=org.freedesktop.Flatpak flatpak-spawn --host wlr-randr
--talk-name=com.system76.CosmicSettingsDaemon COSMIC settings integration
--filesystem=xdg-config/cosmic:rw Persistent config via cosmic-config

Screenshots

Rotation enabled
Rotation disabled

@jackpot51
Copy link
Copy Markdown
Member

Please read and follow the trademark policy

https://github.com/pop-os/cosmic-epoch/blob/master/TRADEMARK.md

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.

2 participants