[virt-tools-list] [PATCHv3 virt-viewer 00/12] Kiosk mode

Marc-André Lureau marcandre.lureau at gmail.com
Tue Aug 20 12:19:50 UTC 2013


This patch series implement a simple kiosk mode for virt-viewer, using
the -k command line option.

It will open virt-viewer on all client monitors in fullscreen, and
won't provide any UI but the remote display or a blank window with
some status. It becomes almost impossible to move out or quit. USB
redirection is disabled in this mode too.

Since window managers have various behaviours that are hard to prevent
(win+client, alt+drag, bindings), it is designed to run with X11
Option "DontVTSwitch" "true", without WM, for example this way:
$ pkill yourwm ; virt-viewer -k ... ; yourwm &

See also rfe:

Marc-André Lureau (12):
  Try to share more GOption code between r-v and v-v
  Define the min/max zoom levels, so all values are sync
  Return existing window in app_window_new()
  kiosk: add app kiosk option, pass it down to window
  kiosk: open a window on each client monitor
  kiosk: use less verbose window/display status
  kiosk: keep a reference on the toolbar
  kiosk: teach a window to become kiosk-mode
  kiosk: add --kiosk-quit option
  kiosk: warn and prevent if app want to quit or window to hide
  kiosk: don't open extra monitors
  kiosk: explicit resize window to fullscreen size

 man/remote-viewer.pod     |  13 ++++
 man/virt-viewer.pod       |  13 ++++
 src/remote-viewer-main.c  |  54 +-------------
 src/remote-viewer.c       |   6 +-
 src/remote-viewer.h       |   6 +-
 src/virt-viewer-app.c     | 183 ++++++++++++++++++++++++++++++++++++++++++++--
 src/virt-viewer-app.h     |   1 +
 src/virt-viewer-display.c |  12 +--
 src/virt-viewer-main.c    |  29 +-------
 src/virt-viewer-window.c  |  53 ++++++++++++--
 src/virt-viewer-window.h  |   4 +
 src/virt-viewer.c         |   6 +-
 src/virt-viewer.h         |   4 +-
 13 files changed, 272 insertions(+), 112 deletions(-)


More information about the virt-tools-list mailing list