aboutsummaryrefslogtreecommitdiff
path: root/nx-X11
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2018-12-17 22:36:07 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-12-19 12:25:14 +0100
commitb8138d97d5b9259aab1372aa47c425c99d23f5fd (patch)
treeb0552502298cd3c3ee1f69aef51960c86ccbd3ac /nx-X11
parent338e2051020f5a9895574d597325b1bcc67d4d3b (diff)
downloadnx-libs-b8138d97d5b9259aab1372aa47c425c99d23f5fd.tar.gz
nx-libs-b8138d97d5b9259aab1372aa47c425c99d23f5fd.tar.bz2
nx-libs-b8138d97d5b9259aab1372aa47c425c99d23f5fd.zip
manpage: add/extend -dpi/-autodpi
(partially) fixes ArcticaProject/nx-libs#666
Diffstat (limited to 'nx-X11')
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/man/nxagent.121
1 files changed, 17 insertions, 4 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/man/nxagent.1 b/nx-X11/programs/Xserver/hw/nxagent/man/nxagent.1
index 575ebd08a..8ef1d639b 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/man/nxagent.1
+++ b/nx-X11/programs/Xserver/hw/nxagent/man/nxagent.1
@@ -282,9 +282,14 @@ and
to be 3/4ths the dimensions of the root window of the real server.
.TP 8
.B \-dpi \fIresolution\fP
-sets the resolution for all screens, in dots per inch.
-To be used when the server cannot determine the screen size(s) from the
-hardware.
+sets the resolution for all screens, in dots per inch. If this option
+is not specified \fBnxagent\fR will assume 96. There's also
+.B \-autodpi
+which will clone the real server's dpi. Note that the resolution specified via
+.B \-dpi
+is a per session setting. It cannot be changed on reconnect! This means that
+clients may look "wrong" when reconnecting a session that had been
+started with a different dpi than the current real xserver.
.TP 8
.B dpms
enables DPMS (display power management services), where supported. The
@@ -468,7 +473,15 @@ auto-disconnect timeout in seconds (minimum allowed: 60)
don't exit if there are no clients in rootless mode
.TP 8
.B \-autodpi
-detect real server's DPI and set it in the agent session; the \fI-dpi <dpi>\fR cmdline option overrides \fI-autodpi\fR
+detect real server's DPI and set it in the agent session; the
+.B \-dpi\fP cmdline option overrides
+.B \-autodpi\fP.
+Note that using
+.B \-autodpi
+will also adapt the DPI on reconnect which will cause
+newly started clients respecting the new DPI while clients that had
+been started before the reconnect still use the old DPI. This may lead
+to applications looking "weird".
.TP 8
.B \-nomagicpixel
disable magic pixel support at session startup, can be re-enabled via nx/nx option on session