[virt-tools-list] [PATCHv2 virt-viewer 00/10] Kiosk mode

Marc-André Lureau marcandre.lureau at gmail.com
Fri Aug 16 19:47:36 UTC 2013


Hi,

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:
https://bugzilla.redhat.com/show_bug.cgi?id=872723

Marc-André Lureau (10):
  Try to share more GOption code between r-v and v-v
  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 |  58 +--------------
 src/remote-viewer.c      |   6 +-
 src/remote-viewer.h      |   6 +-
 src/virt-viewer-app.c    | 178 +++++++++++++++++++++++++++++++++++++++++++++--
 src/virt-viewer-app.h    |   1 +
 src/virt-viewer-main.c   |  29 +-------
 src/virt-viewer-window.c |  50 +++++++++++--
 src/virt-viewer-window.h |   1 +
 src/virt-viewer.c        |   6 +-
 src/virt-viewer.h        |   4 +-
 12 files changed, 255 insertions(+), 110 deletions(-)

-- 
1.8.3.rc1.49.g8d97506




More information about the virt-tools-list mailing list