Otter has been heavily reworked meanwhile and currently seems to lack an out-of-the-box keybind to toggle Panels on and off. In old Opera it was F4.Here's what I found workable with trial and error.
1. Open Otter
2. Go to Preferences > Advanced > Keyboard
3. Add > New
4. A row titled (Untitled) appears. Select it.
5. Press Edit
6. A dialogue appears to add a keybind. Add any keybind, for example
Copy address Ctrl+L
7. OK - the Edit dialogue goes away
8. In the Preferences dialogue - Apply and OK, and this dialogue goes away too.
9. Close Otter and open .config/otter/keyboard/custom.json. Its likely contents are
// Title: (Untitled)
// Description:
// Type: keyboard-profile
// Author:
// Version:
[
{
"actions": [
{
"action": "CopyAddress",
"shortcuts": [
"Ctrl+L"
]
}
],
"context": "Generic"
}
]
10. Replace this contents with the following
// Title: (Untitled)
// Description:
// Type: keyboard-profile
// Author:
// Version:
[
{
"actions": [
{
"action": "CopyAddress",
"shortcuts": [
"Ctrl+L"
]
},
{
"action": "ShowToolBar",
"parameters": {
"toolBar": "SideBar"
},
"shortcuts": [
"F4"
]
}
],
"context": "Generic"
}
]
11. If you want a sensible title for the custom keybinds to show up in Otter's Advanced Preferences, then replace "(Untitled)" in the first row with your preferred title.
12. Save and close.
The reasons why this is so convoluted to do at the moment:
- ShowToolBar action is not available in the list when editing through keyboard edit dialogue (well, not that I know of).
- Parameters show up in the keyboard edit dialogue, but cannot be added, removed, or edited.
@Emdek If I am wrong on the above two points, would you please correct me? Thanks.
There's another useful action created meanwhile: True Detach. Its function is to detach a tab so that the resulting window has no toolbars, except intra-tab ones. It is useful for example having detaching a website with video or audio playing and making a minimal window in the corner of the screen for it, while the interface of the browser window is conveniently minimal already to begin with. This used to be the normal function upon detaching in old Opera up to version 9.2 or so.
To get this action, edit .config/otter/keyboard/custom.json once more, adding the following code in there
{
"action": "DetachTab",
"parameters": {
"minimalInterface": true
},
"shortcuts": [
"Ctrl+H"
]
}