.\" Generated by scdoc 1.11.5 .\" Complete documentation for this program is not available as a GNU info page .ie \n(.g .ds Aq \(aq .el .ds Aq ' .nh .ad l .\" Begin generated content: .TH "wlcctrl" "1" "2026\-11\-07" .PP .SH NAME .PP wlcctrl \- A command line utility for kylin\-wayland\-compositor .PP .SH SYNOPSIS .PP wlcctrl [command] [options.\&.\&.\&] .PP .SH GLOBAL OPTIONS .PP \fB\-\-help\fR .RS 4 Show a help message and quit.\& .PP .RE \fB\-v, \-\-version\fR .RS 4 Show a wlcctrl version and quit.\& .PP .RE \fB\-\-exec\fR .RS 4 Execute a shell command.\& .PP .RE \fB\-\-sleep\fR .RS 4 Set sleep time in milliseconds.\& Can be combined with other commands.\& .PP example: .RS 4 wlcctrl \-\-keydown a \-\-sleep 1000 \-\-keyup a wlcctrl \-\-mousepress 1 \-\-sleep 200 \-\-mouserelease 1 .PP .RE .RE \fB\-\-path\fR .RS 4 Set screenshot save path (PNG format).\& Uses last value when set multiple times.\& .PP with \fB\-\-windowcapture\fR: .RS 4 Set the window screenshot saved path.\& .RE with \fB\-\-workspacecapture\fR: .RS 4 Set the workspace screenshot saved path.\& .RE with \fB\-\-fullscreencapture\fR: .RS 4 Set the screen/output screenshot saved path.\& .PP .RE example: wlcctrl \-\-windowcapture uuid \-\-path "/home/kylin/xxx.\&png" .PP .RE \fB\-o\fR .RS 4 Specify output device by UUID.\& Uses last value when set multiple times.\& .PP .RE .SH KEYBOARD OPTIONS .PP \fB\-\-keystring\fR .RS 4 Send a string to be typed into the focused client.\& No commands can chain after '\&keystring'\&.\& .PP .RE \fB\-\-key\fR .RS 4 Send key events.\& Single key or key combination.\& .PP Note: CapsLock(58), NumLock(69), ScrollLock(70) may not switch states normally.\& For reliable lock key functionality, use ydotool instead.\& .PP Key mappings: .RS 4 "PrintScreen" \-> "sys_req" "esc" \-> "escape" "ctrl" \-> "control_l" "shift" \-> "shift_l" "alt" \-> "alt_l" "winleft" \-> "super_l" "enter" \-> "return" .PP .RE Valid keys: escape, return, shift_l, shift_r, control_l, control_r, meta_l, meta_r, alt_l, alt_r, page_up, page_down, menu, caps_lock, pause, break, print, sys_req, scroll_lock, num_lock, etc.\& .PP Multiple keys separated by '\&+'\&.\& .PP examples: .RS 4 wlcctrl \-\-key control_l+alt_l+t wlcctrl \-\-key ctrl+alt+t wlcctrl \-\-key super_l .PP .RE .RE \fB\-\-keyup\fR .RS 4 Release a single key.\& .PP .RE \fB\-\-keydown\fR .RS 4 Press a single key.\& .PP with \fB\-\-keyup\fR: .RS 4 Indicate pressing and releasing a key.\& .RE otherwise: Indicate the state of a key being pressed individually.\& The command defaults to releasing the key upon completion.\& .PP .RE .SH POINTER OPTIONS .PP \fB\-\-mousebutton\fR