diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-09-19 22:26:32 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-09-19 22:26:32 +0200 |
commit | 0bf092e26fbd5497aca1f07666866fd66df3dff0 (patch) | |
tree | 37005846363b7addfa69486c8e124fdd53bd7fb2 /doc | |
parent | use XDG_VTNR (diff) | |
download | mds-0bf092e26fbd5497aca1f07666866fd66df3dff0.tar.gz mds-0bf092e26fbd5497aca1f07666866fd66df3dff0.tar.bz2 mds-0bf092e26fbd5497aca1f07666866fd66df3dff0.tar.xz |
document XDG_VTNR
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/info/mds.texinfo | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/doc/info/mds.texinfo b/doc/info/mds.texinfo index d3277bc..c601e1e 100644 --- a/doc/info/mds.texinfo +++ b/doc/info/mds.texinfo @@ -1243,6 +1243,23 @@ virtual terminal the display is located on. It also enables other servers to switch the virtual terminals mode to graphical mode or text mode. +By default @command{mds-vt} will select the next +available virtual terminal for the display server. +You can override this behaviour by exporting a value +to the environment variable @env{XDG_VTNR}. The value +must be a decimal integer of a valid virtual terminal +index@footnote{Which is the same thing as a valid TTY +index.}. To select the virtual terminal the display +was started from you can use the following code in +your @file{~/.mdsinitrc}: + +@example +export XDG_VTNR="$(fgconsole)" +@end example + +@command{fgconsole} is a part of the @command{kbd} +package. + @node mds-clipboard |