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
- Run
webviewer about:config
- Enter the prefs name
webviewer.quit.enable
in the search bar - change from
false (default)
totrue
- 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
Feature | shortcut key | prefs | environment variable |
---|---|---|---|
Home page | Ctrl +Home | webviewer.back.enable | WEBVIEWER_ENABLE_HOMEPAGE |
Back | Ctrl +[ Alt +← Backspace | webviewer.back.enable | WEBVIEWER_ENABLE_BACK |
Forward | Ctrl +] Alt +→ | webviewer.forward.enable | WEBVIEWER_ENABLE_FORWARD |
Reload | F5 Ctrl +R | webviewer.reload.enable | WEBVIEWER_ENABLE_RELOAD |
Super Reload | Ctrl +F5 Ctrl +Shift +R | webviewer.reload.enable | WEBVIEWER_ENABLE_RELOAD |
Zoom in | Ctrl ++ | webviewer.zoom.enable | WEBVIEWER_ENABLE_ZOOM |
Zoom out | Ctrl +- | webviewer.zoom.enable | WEBVIEWER_ENABLE_ZOOM |
Reset Zooming | Ctrl +0 | webviewer.zoom.enable | WEBVIEWER_ENABLE_ZOOM |
about:preferences | Ctrl + , | webviewer.about.enable | WEBVIEWER_ENABLE_ABOUT |
about:config | Ctrl + . | webviewer.about.enable | WEBVIEWER_ENABLE_ABOUT |
about:about | Ctrl + / | webviewer.about.enable | WEBVIEWER_ENABLE_ABOUT |
Quit | Ctrl +Q | webviewer.quit.enable | WEBVIEWER_ENABLE_QUIT |
Full Screen | F11 | none | none |