aboutsummaryrefslogtreecommitdiffstats
path: root/kwin-type.1
blob: 38691039c95634aa9e0cd5c9d524057e20db64c2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
.\" SPDX-License-Identifier: GPL-2.0
.\" Copyright (C) 2026 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.

.TH KWIN-TYPE 1 "2026 October 26" ZX2C4 "kwin-type"

.SH NAME
kwin-type \- type text from standard input using KWin

.SH SYNOPSIS
.B kwin-type

.SH DESCRIPTION

.B kwin-type
reads UTF-8 text from standard input and types it into the focused application.
It takes no command-line arguments. NUL bytes and invalid UTF-8 are rejected.

The compositor must provide
.I org.kde.KWin.EIS.RemoteDesktop
on the session D-Bus and support EIS text input.

.SH EXAMPLES

Type the contents of a file into the focused application:

\fB    $ kwin-type < text.txt\fP

Type a line of text, including a trailing newline:

\fB    $ printf \(aqHello, world!\en\(aq | kwin-type\fP

Wait two seconds before typing, allowing time to focus another window:

\fB    $ sleep 2; kwin-type < text.txt\fP

.SH EXIT STATUS

.B kwin-type
exits with status 0 on success.

.SH AUTHOR
.B kwin-type
was written by
.MT Jason@zx2c4.com
Jason A. Donenfeld
.ME .
For updates and more information, a project page is available on the
.UR https://\:git.zx2c4.com/\:kwin-type/\:about/
World Wide Web
.UE .