home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2007 September / PCWSEP07.iso / Software / Linux / Linux Mint 3.0 Light / LinuxMint-3.0-Light.iso / casper / filesystem.squashfs / etc / X11 / app-defaults / Xvncviewer < prev   
Encoding:
Text File  |  2006-07-04  |  3.5 KB  |  144 lines

  1. !
  2. ! Application defaults file for vncviewer.
  3. !
  4. !  This file contains the same resource settings ("app-defaults") as the
  5. ! "fallback resources" embedded in the executable.  You can copy this file to
  6. ! /usr/lib/X11/app-defaults/Vncviewer (or equivalent) and edit it for site-wide
  7. ! customisations.
  8.  
  9.  
  10. !
  11. ! The title of the main window.  "%s" will be replaced by the desktop name.
  12.  
  13. Vncviewer.title: VNC: %s
  14.  
  15.  
  16. !
  17. ! Translations on the main window.
  18. !
  19.  
  20. Vncviewer.translations:\
  21.   <Enter>: SelectionToVNC(always)\n\
  22.   <Leave>: SelectionFromVNC(always)
  23.  
  24.  
  25. !
  26. ! Background around a small desktop in full-screen mode.
  27. !
  28.  
  29. *form.background: black
  30.  
  31.  
  32. !
  33. ! Use scrollbars on right and bottom for window smaller than desktop.
  34. !
  35.  
  36. *viewport.allowHoriz: True
  37. *viewport.allowVert: True
  38. *viewport.useBottom: True
  39. *viewport.useRight: True
  40. *viewport*Scrollbar*thumb: None
  41.  
  42.  
  43. !
  44. ! Default translations on desktop window.
  45. !
  46.  
  47. *desktop.baseTranslations:\
  48.   <Key>F8: ShowPopup()\n\
  49.   <ButtonPress>: SendRFBEvent()\n\
  50.   <ButtonRelease>: SendRFBEvent()\n\
  51.   <Motion>: SendRFBEvent()\n\
  52.   <KeyPress>: SendRFBEvent()\n\
  53.   <KeyRelease>: SendRFBEvent()
  54.  
  55.  
  56. !
  57. ! Dialog boxes
  58. !
  59.  
  60. *serverDialog.dialog.label: VNC server:
  61. *serverDialog.dialog.value:
  62. *serverDialog.dialog.value.translations: #override\n\
  63.   <Key>Return: ServerDialogDone()
  64.  
  65. *passwordDialog.dialog.label: Password:
  66. *passwordDialog.dialog.value:
  67. *passwordDialog.dialog.value.AsciiSink.echo: False
  68. *passwordDialog.dialog.value.translations: #override\n\
  69.   <Key>Return: PasswordDialogDone()
  70.  
  71.  
  72. !
  73. ! Popup window appearance
  74. !
  75.  
  76. *popup.title: VNC popup
  77. *popup*background: grey
  78. *popup*font: -*-helvetica-bold-r-*-*-16-*-*-*-*-*-*-*
  79. *popup.buttonForm.Command.borderWidth: 0
  80. *popup.buttonForm.Toggle.borderWidth: 0
  81.  
  82. !
  83. ! Translations on popup window - send key presses through
  84. !
  85.  
  86. *popup.translations: #override <Message>WM_PROTOCOLS: HidePopup()
  87. *popup.buttonForm.translations: #override\n\
  88.   <KeyPress>: SendRFBEvent() HidePopup()
  89.  
  90.  
  91. !
  92. ! Popup buttons
  93. !
  94.  
  95. *popupButtonCount: 9
  96.  
  97. *popup*button1.label: Dismiss popup
  98. *popup*button1.translations: #override\n\
  99.   <Btn1Down>,<Btn1Up>: HidePopup()
  100.  
  101. *popup*button2.label: Quit viewer
  102. *popup*button2.translations: #override\n\
  103.   <Btn1Down>,<Btn1Up>: Quit()
  104.  
  105. *popup*button3.label: Full screen
  106. *popup*button3.type: toggle
  107. *popup*button3.translations: #override\n\
  108.   <Visible>: SetFullScreenState()\n\
  109.   <Btn1Down>,<Btn1Up>: ToggleFullScreen() HidePopup()
  110.  
  111. *popup*button4.label: Clipboard: local -> remote
  112. *popup*button4.translations: #override\n\
  113.   <Btn1Down>,<Btn1Up>: SelectionToVNC(always) HidePopup()
  114.  
  115. *popup*button5.label: Clipboard: local <- remote
  116. *popup*button5.translations: #override\n\
  117.   <Btn1Down>,<Btn1Up>: SelectionFromVNC(always) HidePopup()
  118.  
  119. *popup*button6.label: Send ctrl-alt-del
  120. *popup*button6.translations: #override\n\
  121.   <Btn1Down>,<Btn1Up>: SendRFBEvent(keydown,Control_L)\
  122.                        SendRFBEvent(keydown,Alt_L)\
  123.                        SendRFBEvent(key,Delete)\
  124.                        SendRFBEvent(keyup,Alt_L)\
  125.                        SendRFBEvent(keyup,Control_L)\
  126.                        HidePopup()
  127.  
  128. *popup*button7.label: Send F8
  129. *popup*button7.translations: #override\n\
  130.   <Btn1Down>,<Btn1Up>: SendRFBEvent(key,F8) HidePopup()
  131.  
  132. *popup*button8.label: Auto select format/encoding
  133. *popup*button8.type: toggle
  134. *popup*button8.translations: #override\n\
  135.   <Visible>: SetAutoState()\n\
  136.   <Btn1Down>,<Btn1Up>: ToggleAuto() HidePopup()
  137.  
  138. *popup*button9.label: Use 8-bit colour
  139. *popup*button9.type: toggle
  140. *popup*button9.translations: #override\n\
  141.   <Visible>: SetBGR233State()\n\
  142.   <Btn1Down>,<Btn1Up>: ToggleBGR233() HidePopup()
  143.