From 4d2194902fea4e9897a6e29cdccd2fd4d324c6d9 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Tue, 9 Sep 2014 07:26:24 +0200 Subject: we cannot rely on chvt for vt switch, it requires root MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- doc/info/mds.texinfo | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'doc/info/mds.texinfo') diff --git a/doc/info/mds.texinfo b/doc/info/mds.texinfo index 5603369..96a7e1c 100644 --- a/doc/info/mds.texinfo +++ b/doc/info/mds.texinfo @@ -777,6 +777,7 @@ Command: keyboard-enumeration\n * mds-clip:: The clipboard control command. * mds-screenshot:: The screenshot utility. * mds-slay:: The process killing utility. +* mds-chvt:: Utility for switching virtual terminal. * External Utilities:: Suggestion on utilities you can utilise. @end menu @@ -1036,6 +1037,24 @@ The the ID of the selected window. +@node mds-chvt +@section @command{mds-chvt} + +@command{mds-chvt} is a utility similar to the command +@command{chvt} from the @command{kbd} project. However, +@command{mds-chvt} has setuid and therefore does not +require root permissions, but it will only request a +virtual terminal switch if the display server's virtual +terminal is in the foreground. @command{mds-chvt} +recognises the following options: + +@table @option +@item --switch=VT +Switch to the virtual terminal with the index @var{VT}. +@end table + + + @node External Utilities @section External Utilities -- cgit v1.2.3-70-g09d2