blob: 3777b9842d3d876819df75c4f432c1e47990a0c9 (
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
|
.TH CG-NEGATIVE 1 CG-TOOLS
.SH NAME
cg-negative - Invert colour on the monitors
.SH SYNOPSIS
.B cg-negative
.RB [ \-M
.IR method ]
.RB [ \-S
.IR site ]
.RB [ \-c
.IR crtc "]... ["\fB\-R\fP
.IR rule ]
.RB ( \-x
|
.RB [ \-p
.IR priority ]
.RB [ \-d ]
.RB [ \+rgb ]
.SH DESCRIPTION
.B cg-negative
inverts the colours on the monitors.
.SH OPTIONS
.TP
.BR \+r
Do not invert the red channel.
.TP
.BR \+g
Do not invert the green channel.
.TP
.BR \+b
Do not invert the blue channel.
.TP
.BR \-c " "\fIcrtc\fP
Apply the filter to the CRTC with the monitor whose EDID is
.IR crtc .
By default, the filter is applied to all monitors.
.TP
.B \-d
Keep the process alive and remove the filter on death.
.TP
.BR \-M " "\fImethod\fP
Adjustment method name or number. Recognised names include:
.nf
\fBdummy\fP Dummy method
\fBrandr\fP X RAndR
\fBvidmode\fP X VidMode
\fBdrm\fP Linux DRM
\fBgdi\fP Windows GDI
\fBquartz\fP Quartz Core Graphics
.fi
The adjustment methods are supported via
.BR libgamma (7).
Only methods that were enabled when
.B libgamma
was compiled will be supported.
.TP
.BR \-p " "\fIpriority\fP
Set the priority of the filter. Filters with lower priority
are applied before filters with higher priority. The value
must be a signed 64-bit integer (between -9223372036854775807
and 9223372036854775808).
.BR cg-negative 's
default priority is 4611686018427387904.
.TP
.BR \-R " "\fIrule\fP
Set the rule of of the filter to
.IR rule .
This is the last part of the filter's identifier (class).
The default rule is
.BR standard .
.TP
.BR \-S " "\fIsite\fP
Select the site to which to connect. For example
.RB ' :0 ',
for local display 0 when using
.BR X .
.TP
.B \-x
Remove the currently applied filter.
.SH "SEE ALSO"
.BR cg-tools (7)
.SH BUGS
Please report bugs to https://github.com/maandree/cg-tools/issues
or to maandree@kth.se
|