Add display rotation: Rot pill, chandra-ctl rotate, sensor auto-rotate
CI / test (push) Failing after 51s
CI / test (push) Failing after 51s
- Rotate the display 0/90/180/270 degrees in the KMS host, with scanout and libinput touch/pointer coordinates transformed to match - Add a touch "Rot" pill beside "KB": tap turns 90 CW, long-press or right-click flips 180 - Add `chandra-ctl rotate [cw|ccw|flip|0|90|180|270|status]`; CHANDRA_ROTATE sets the initial orientation - Add session/chandra-auto-rotate, which follows iio-sensor-proxy orientation (disable with CHANDRA_AUTO_ROTATE=0) - Advertise window_menu, maximize, fullscreen and minimize via xdg_toplevel.wm_capabilities (xdg_wm_base v5+) - Add docs/handset.md covering handset touch, scaling, OSK and rotation
This commit is contained in:
1 parent
905dab8725
commit
2e00009c79
21 files changed
+669
-63
No files matched your search
+2
-1
@@ -10,6 +10,7 @@
|
||||
chandra-ctl launch ID start desktop app ID (org.kde.kwi) as the dock does
|
||||
chandra-ctl windows how Chandra sees each window, and what is under the pointer
|
||||
chandra-ctl screenshot [PATH] save a full-screen PNG directly without opening the editor
|
||||
chandra-ctl rotate [ARG] rotate/flip display (cw, ccw, flip, 0, 90, 180, 270, status)
|
||||
chandra-ctl auth-demo [MODE] show the password dialog with a pretend check (password "demo");
|
||||
MODE: password, face, face-ok, die, slow, users (docs/auth-dialog.md)
|
||||
chandra-ctl auth-status the password dialog's agent: registered with polkit, or why not
|
||||
@@ -25,7 +26,7 @@ import os
|
||||
import socket
|
||||
import sys
|
||||
|
||||
USAGE = "usage: chandra-ctl [--socket PATH] [--quiet] {reload [NAME] | list | ping | shortcut ID | kiosk [lock|unlock|status] | launch ID | windows | screenshot [PATH] | auth-demo [MODE] | auth-status | help}"
|
||||
USAGE = "usage: chandra-ctl [--socket PATH] [--quiet] {reload [NAME] | list | ping | shortcut ID | kiosk [lock|unlock|status] | launch ID | windows | screenshot [PATH] | rotate [ARG] | auth-demo [MODE] | auth-status | help}"
|
||||
|
||||
|
||||
def runtime_dir():
|
||||
|
||||
Reference in new issue
Block a user