Skip to main content

Keyboard Shortcuts

WebViewer is mainly intended for use in embedded HMIs that load content on a full touch panel screen, and keyboard shortcuts are disabled.

WebViewer 78 and later support several other shortcut keys for development purpose. You can enable them with the preferences.

How to Enable Shortcuts

There are three ways to enable shortcuts.

  • use configuration editor (about:config)
  • edit preferences file
  • use environment variables

use configuration editor (about:config)

For example, if you want to enable the quit function, set webviewer.quit.enable preference to true

  1. Run webviewer about:config
  2. Enter the prefs name webviewer.quit.enable in the search bar
  3. change from false (default) to true
  4. restart webviewer

After restart, you can use Ctrl+Q to quit.

edit preferences file

Edit prefs.js file in your profile directory. Your profile directory should be ${HOME}/.renesas/webviewer/.

To enable quit shortcut, insert following line:

user_pref("webviewer.quit.enable", true);

use environment variables

export WEBVIEWER_ENABLE_QUIT=true
webviewer

List of shortcuts

Featureshortcut keyprefsenvironment variable
Home pageCtrl+Homewebviewer.back.enableWEBVIEWER_ENABLE_HOMEPAGE
BackCtrl+[
Alt+
Backspace
webviewer.back.enableWEBVIEWER_ENABLE_BACK
ForwardCtrl+]
Alt+
webviewer.forward.enableWEBVIEWER_ENABLE_FORWARD
ReloadF5
Ctrl+R
webviewer.reload.enableWEBVIEWER_ENABLE_RELOAD
Super ReloadCtrl+F5
Ctrl+Shift+R
webviewer.reload.enableWEBVIEWER_ENABLE_RELOAD
Zoom inCtrl++webviewer.zoom.enableWEBVIEWER_ENABLE_ZOOM
Zoom outCtrl+-webviewer.zoom.enableWEBVIEWER_ENABLE_ZOOM
Reset ZoomingCtrl+0webviewer.zoom.enableWEBVIEWER_ENABLE_ZOOM
about:preferencesCtrl + ,webviewer.about.enableWEBVIEWER_ENABLE_ABOUT
about:configCtrl + .webviewer.about.enableWEBVIEWER_ENABLE_ABOUT
about:aboutCtrl + /webviewer.about.enableWEBVIEWER_ENABLE_ABOUT
QuitCtrl+Qwebviewer.quit.enableWEBVIEWER_ENABLE_QUIT
Full ScreenF11nonenone