! Application defaults file for vnc2swf. ! $Id: Vnc2Swf.ad,v 1.2 2005/10/25 23:06:10 euske Exp $ ! ! This file contains the same resource settings ("app-defaults") as the ! "fallback resources" embedded in the executable. You can copy this file to ! /usr/lib/X11/app-defaults/Vnc2Swf (or equivalent) and edit it for site-wide ! customisations. ! ! The title of the main window. "%s" will be replaced by the desktop name. ! Vnc2Swf.title: VNC2SWF %s: %s ! ! Translations on the main window. ! Vnc2Swf.translations:\ : SelectionToVNC()\n\ : SelectionFromVNC() ! ! Background around a small desktop in full-screen mode. ! *form.background: black ! ! Use scrollbars on right and bottom for window smaller than desktop. ! *viewport.allowHoriz: True *viewport.allowVert: True *viewport.useBottom: True *viewport.useRight: True *viewport*Scrollbar*thumb: None ! ! Default translations on desktop window. ! *desktop.baseTranslations:\ F8: ShowPopup()\n\ F9: ToggleRecording()\n\ F11: ToggleStatus()\n\ : SendRFBEvent()\n\ : SendRFBEvent()\n\ : SendRFBEvent()\n\ : SendRFBEvent()\n\ : SendRFBEvent() *desktop*statusFont: -*-helvetica-bold-r-*-*-12-*-*-*-*-*-*-* *desktop*statusColor: white ! ! Dialog boxes ! *serverDialog.dialog.label: VNC server: *serverDialog.dialog.value: *serverDialog.dialog.value.translations: #override\n\ Return: ServerDialogDone() *passwordDialog.dialog.label: Password: *passwordDialog.dialog.value: *passwordDialog.dialog.value.AsciiSink.echo: False *passwordDialog.dialog.value.translations: #override\n\ Return: PasswordDialogDone() ! ! Popup window appearance ! *popup.title: VNC2SWF popup *popup*background: grey *popup*font: -*-helvetica-bold-r-*-*-16-*-*-*-*-*-*-* *popup.buttonForm.Command.borderWidth: 0 *popup.buttonForm.Toggle.borderWidth: 0 ! ! Translations on popup window - send key presses through ! *popup.translations: #override WM_PROTOCOLS: HidePopup() *popup.buttonForm.translations: #override\n\ F: ToggleFullScreen() HidePopup()\n\ R: SelectionToVNC(always) HidePopup()\n\ L: SelectionFromVNC(always) HidePopup()\n\ D: SendRFBEvent(keydown,Control_L)\ SendRFBEvent(keydown,Alt_L)\ SendRFBEvent(key,Delete)\ SendRFBEvent(keyup,Alt_L)\ SendRFBEvent(keyup,Control_L)\ HidePopup()\n\ 8: SendRFBEvent(key,F8) HidePopup()\n\ 9: SendRFBEvent(key,F9) HidePopup()\n\ space: ToggleRecording() HidePopup()\n\ CtrlR: ResetRecording() HidePopup()\n\ Q: Quit()\n\ F8: HidePopup()\n\ Escape: HidePopup() ! ! Popup buttons ! *popupButtonCount: 10 *popup*button1.label: F) Full Screen *popup*button1.type: toggle *popup*button1.translations: #override\n\ : SetFullScreenState()\n\ ,: ToggleFullScreen() HidePopup() *popup*button2.label: R) Clipboard: local -> remote *popup*button2.translations: #override\n\ ,: SelectionToVNC(always) HidePopup() *popup*button3.label: L) Clipboard: local <- remote *popup*button3.translations: #override\n\ ,: SelectionFromVNC(always) HidePopup() *popup*button4.label: D) Send Ctrl-Alt-Del *popup*button4.translations: #override\n\ ,: SendRFBEvent(keydown,Control_L)\ SendRFBEvent(keydown,Alt_L)\ SendRFBEvent(key,Delete)\ SendRFBEvent(keyup,Alt_L)\ SendRFBEvent(keyup,Control_L)\ HidePopup() *popup*button5.label: 8) Send F8 *popup*button5.translations: #override\n\ ,: SendRFBEvent(key,F8) HidePopup() *popup*button6.label: 9) Send F9 *popup*button6.translations: #override\n\ ,: SendRFBEvent(key,F9) HidePopup() *popup*button7.label: SPC) Start/Stop Recording *popup*button7.type: toggle *popup*button7.translations: #override\n\ : SetRecordingState()\n\ ,: ToggleRecording() HidePopup() *popup*button8.label: C-R) Reset Recording *popup*button8.translations: #override\n\ ,: ResetRecording() HidePopup() *popup*button9.label: Q) Quit Vnc2Swf *popup*button9.translations: #override\n\ ,: Quit() *popup*button10.label: ESC) Close Popup *popup*button10.translations: #override\n\ ,: HidePopup()