Vivaldi - ArchWiki

Jump to content

# Vivaldi

From ArchWiki

Related articles

- Browser extensions
- Chromium

Vivaldi is a proprietary web browser from former Opera founder & team members, based on Chromium and focused on personalization aspects.

## Installation

Consult this blog post for information on differences between stable and snapshot versions; then, install one of the following packages:

- vivaldi
- vivaldi-snapshotAUR

A pre-built package for the snapshot build can be found in the herecura unofficial repository.

Tip To use Qt instead of GTK for file selection dialogs, install kdialog.

## Extensions

Vivaldi is compatible with most of Chrome's extensions. These can be installed directly from the Chrome Web Store.

Tip Vivaldi supports appending proxy server parameters to the command line with `--proxy-server="socks5://127.0.0.1:1080"`. This may help to solve network connectivity problems under certain conditions.

To see which extensions are installed/enabled, type `vivaldi://extensions` in the address bar.

See also Wikipedia:Google Chrome Extension.

## Media playback

Vivaldi automatically downloads `$HOME/.local/lib/vivaldi/media-codecs-7.7/libffmpeg.so` and add support of proprietary codecs e.g. H.264, AAC, etc...

If you don't believe binary downloaded from somewhere, install vivaldi-ffmpeg-codecs, vivaldi-snapshot-ffmpeg-codecsAUR (chromium source) or chromium-ffmpegAUR (ffmpeg.org source).

Or install ffmpeg and

    ln -sf /usr/lib/libavformat.so.62 .local/lib/vivaldi/media-codecs-7.7/libffmpeg.so

This avoids crushing external media player [1].

Note The later method works only on Arch's patched ffmpeg and Vivaldi.

Restart Vivaldi after downloading libffmpeg.so or installing those packages.

## Making flags persistent

Note The `vivaldi-stable.conf` file usage is specific to the Arch Linux vivaldi package.

You can put your flags in a `vivaldi-stable.conf` file under `$HOME/.config/` (or under `$XDG_CONFIG_HOME` if you have configured that environment variable).

No special syntax is used; flags are defined as if they were written in a terminal.

- The arguments are split on whitespace and shell quoting rules apply, but no further parsing is performed.
- Flags can be placed in separate lines for readability, but this is not required.

Below is an example `vivaldi-stable.conf` file that disables hardware media keys for the browser:

    ~/.config/vivaldi-stable.conf

    --disable-features=HardwareMediaKeyHandling

The vivaldi-snapshotAUR package can get its flags set with the `vivaldi-snapshot.conf` file.

## Modding

Vivaldi has modding capabilities through its `window.html` (pre Vivaldi 6.2: `browser.html`) file.

The file can be found at: `/opt/vivaldi/resources/vivaldi/window.html`

Another way to find the `window.html` path is through the Executable Path section at `vivaldi://about/`.

You can also use vivaldi-autoinject-custom-js-uiAUR. It can help you manage mods: add or remove them from `window.html`, and redo changes at vivaldi updates. For usage, visit the project page.

## Tips and tricks

### Transfer your profile to snapshot version

If you switched to snapshot version because of lacking features of stable version, you want to also use your user profile. Copy the `~/.config/vivaldi/Default` to `~/.config/vivaldi-snapshot/Default`.

### Google search suggestions

Vivaldi cannot be shipped with enabled suggestions for google search. The user must manually add the suggestion url https://www.google.com/complete/search?client=chrome&q=%s in search settings.

### Keep picture-in-picture window above other windows

When viewing some video, you can press the picture-in-picture button to detach it to a separate window. By default this window is not kept above others and it is inconvenient. To fix it in KDE, create a window rule to keep it above others. See KDE#Using window rules.

## Troubleshooting

### Chromium page

Some troubleshooting is common for Vivaldi and Chromium, such as for example, force enabling hardware acceleration. For such, consult the Chromium#Troubleshooting.

### Certificates management

Currently (Vivaldi 6.2.3105.54 (Stable channel)), the certificates management setting is missing. To workaround that, manually type the address `chrome://settings/certificates`. Note, that the address will be changed to `vivaldi://settings/certificates`, but you cannot type it in the first place (otherwise you will see vivaldi settings where cert management it is missing). See here for more details.

### Sync failing due to dropped ICMP Fragmentation Needed packets

For some users, Vivaldi's Sync feature will consistently fail to work. Navigate to `vivaldi://sync-internals` in your browser and check the error code in the "GetUpdates Response" entry under the "Sync Protocol Log" section of the page. If you see "Network error (ERR_TIMED_OUT)" then your sync is failing due to some network device (yours, your ISP's, or some other intermediary's) dropping "ICMP Fragmentation Needed" packets. To work around this issue, you can enable Packetization Layer Path MTU Discovery (PLPMTUD). See this post on the Vivaldi forums for more details. Follow the steps below to enable PLPMTUD:

Verify that PLPMTUD is currently disabled:

    # sysctl net.ipv4.tcp_mtu_probing

Should output `net.ipv4.tcp_mtu_probing = 0` if it is disabled. If you see any other value, then you should stop here as your sync issue is not the same as what is covered by the workaround below.

Create:

    /etc/sysctl.d/99-tcp-mtu-probing.conf

    net.ipv4.tcp_mtu_probing = 1

Restart `systemd-sysctl.service`, then restart Vivaldi if you already had it open.

## See also

- Wikipedia:Vivaldi (web browser)

Category:

- Web browser

Vivaldi
Add topic