Skip to content

Instantly share code, notes, and snippets.


Block or report user

Report or block ruario

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
ruario /
Last active Dec 23, 2019
Launching Google Chrome with a Vivaldi User Agent

The following will allow you to test Chrome with a Vivaldi user agent. Shutdown Chrome and start a Terminal (or cmd.exe on Windows), then paste in the code that is relevant for your platform and press “Enter”–you can triple-click to select an entire line.

Testing with Chrome

NOTE: There is little point testing in Vivaldi because old versions already had workarounds for these specific issues and from 2.10 onwards we use a Chrome User Agent string.


"%PROGRAMFILES(X86)%\Google\Chrome\Application\chrome.exe" --user-agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.94 Safari/537.36 Vivaldi/2.10.1745.21"
ruario /
Last active May 22, 2019
A small App that starts Vivaldi for macOS as a Private Window

Vivaldi Private Window Launcher for macOS

The following commands will produce a small application that allows you to launch Vivaldi in Private mode on a Mac.

Start Terminal paste in the the following code (pressing Enter when done):

mkdir -p Vivaldi\
printf '#!/bin/sh\nopen -a --args --incognito' > Vivaldi\\ Private
chmod +x Vivaldi\\ Private
ruario /
Last active Oct 18, 2019
A script for those who "Forgot to make a SlackBuild". Following a manual install (e.g. `make install`), use this script to make a Slackware package.
#!/bin/sh -eu
# This script allows you to create a Slackware package from software you
# previously installed manually (e.g. via `make install`).
# Usage:
# ./script name-version /path/to/reference/file [seconds]
# Provide the name and version of the package, path to one file that forms
ruario /
Last active Oct 15, 2019
Uninstalling (removing) a package installed via make install. No make uninstall target required

make install, uninstall help (howto remove)


A common mistake for users who are new to Linux (and even a few seasoned users) is to install a package from source without any clear idea about how they will remove it in the future, should they want to.

The classic instructions to install a source package are ./configure && make && make install. This (or slight variants) can work nicely for installation but

ruario /
Last active Dec 20, 2019
Run this to create a Vivaldi launcher for Linux desktops that always starts in private mode.
mkdir -p ~/.local/share/applications
cat << END > ~/.local/share/applications/vivaldi-private.desktop
[Desktop Entry]
Name=Vivaldi (Private)
Exec=vivaldi-stable --incognito
ruario /
Last active Jan 27, 2020
A script that fetches a ChromeOS image for ARM32 and extracts the Widevine and Flash binaries, saving them in a compressed archive for use with Vivaldi

The included script '' fetches a ChromeOS image for ARM and extracts the Widevine and Flash binaries, saving them in a compressed archive. Since it downloads a fairly large file (2Gb+ on disk after download) it is recommended that you run the script on a machine that has plenty of disk space.

To install the resultant archive, issue the following on your ARM machine–after copying over the archive if needed:

sudo tar Cfx / widevine-flash-20200124_armhf.tgz

(Where 'widevine-flash-20200124_armhf.tgz' is updated to reflect the actual name of the created archive)

ruario /
Last active Nov 7, 2018
Vivaldi 2.0 Linux Proprietary media, quick answer
ruario /
Last active Sep 11, 2018
A bourne shell function to check for the presence of user namespace support in the linux kernel by calling the unshare command to set one up
check-user-namespace () {
if ! command -v unshare >/dev/null 2>&1; then
echo "The unshare command is not available. Install the util-linux package to fix this." >&2
return 2
if unshare -U true >/dev/null 2>&1; then
echo "User namespace support enabled"
return 0
echo "User namespace support not enabled"
ruario /
Last active Nov 14, 2018
Run Vivaldi Package (rpm, deb or recompressed contents)

Run Vivaldi Package

The attached script ( will allow you to directly run a Vivaldi .deb or .rpm package without “installing” it. This works by quickly extracting the package contents into /var/tmp and then executing the binary therein (the extracted files are removed when you close Vivaldi).

Vivaldi is run with a temporary user data (settings) that are specific to that exact version. This is to avoid messing up the main install's user data.

To run Vivaldi in this way, make executable and start a build like so:

./ vivaldi-snapshot-1.15.1159.7-1.x86_64.rpm
ruario /
Last active Nov 30, 2018
This script will find the latest Skype for Linux binary package, download it and repackage it into Slackware format.
# latest-skype Version 1.1.2
# This script will find the latest Skype binary package, download it and
# repackage it into Slackware format.
# Copyright 2018 Ruari Oedegaard, Oslo, Norway
# All rights reserved.
You can’t perform that action at this time.