View manually-extract-vivaldi.md

Manually extract Vivaldi from the deb like so:

ar p vivaldi-stable_1.13.1008.34-1_armhf.deb data.tar.xz | tar Jx ./opt/vivaldi --strip 2

To start Vivaldi from a terminal:

vivaldi/vivaldi&
View latest-vivaldi.sh
#!/bin/bash
# latest-Vivaldi Version 1.2
# This script will find the latest Vivaldi binary package, download it
# and repackage it into Slackware format.
# Copyright 2017 Ruari Oedegaard, Oslo, Norway All rights reserved.
#
# Redistribution and use of this script, with or without modification,
# is permitted provided that the following conditions are met:
View 7x.sh
#!/bin/sh
# https://web.archive.org/web/20140301113249/http://my.opera.com/ruario/blog/2013/01/15/faster-xz-compression
case $1 in
-d) 7za e -si -so -txz ;;
*) 7za a /dev/null -si -so -txz ;;
esac 2> /dev/null
View vivaldi-user-profiles-mac.md

Chromium based browsers such as Vivaldi support the concept of user profiles. These are different user configurations, under a single operating system login. You could use different users profiles for home and work, or to allow a friend to use your browser without messing up your setup or interacting with your open tabs.

Vivaldi does not currently provide any user interface for switching user profiles outside of the command line switch —profile-directory= (where you pass the name of the profile). However on macOS, you can make a quick launcher application in Automator.

##To setup##

  • Open the Automator.app (part of macOS) and create a new “Application”
  • Drag “Ask for Text” (found under “Text”) into the actions area
  • Set the “Question” to “Vivaldi Profile Name?”
View auto-unpack-dmgs.md

This Automator folder action will monitor the Downloads folder for new dmg files and automatically unpack them into a similarly named sub directory. It requires no interaction from the user. On completion a notification will display.

As mounting and extraction happens in the background you save time, since you can continue to work. In addition with all disk image contents pre-copied to disk, moving any .app to "/Applications" is pretty much instant (or in the case of Vivaldi, you could run it in standalone mode directly from the created extraction folder).

##To setup##

  • Open the Automator.app (part of macOS) and create a new "Folder Action"
  • Choose the Downloads folder
  • Drag "Run Shell Script" (found under "Utilities") into the actions area
  • Change the Pass Input drop down to "as arguments"
View mac-viv-standalone-shortcut.md

The following allows macOS users to run two different Vivaldi's alongside each other (e.g. stable and snapshot), with their prefences/settings stored seperately. This is also handy if you want to do an initial test of a snapshot in a self contained manor, without touching your main prefences/settings.

It works by causing launch Vivaldi in such a way that it stores its prefences/settings in a directory next it (called "Vivaldi Data"), rather than using the default prefences/settings directory ("~/Library/Application Support/Vivaldi").

##To setup##

  • Open the Automator.app (part of macOS) and create a new "Service"
  • Change "Service receives" to: "files or folders" in "Finder"
  • Drag "Get Selected Finder Items" (found under "Files & Folders") into the actions area
  • Drag "Run Shell Script" (found under "Utilities") into the actions area below "Get Selected Finder Items" and set "Pass input" to "as arguments"
View appimage-vivaldi.sh
#!/bin/sh
#
# appimage-vivaldi.sh (version 0.2)
#
# A script to convert a Vivaldi rpm or deb into Appimage format.
# Before you use this script, you may need to adjust the following
# variable, based on the name and location of AppImageAssistant on
# your system.
View latest-widevine.sh
#!/usr/bin/env bash
available () {
command -v $1 >/dev/null 2>&1
}
# Make sure we have wget or curl
if available wget; then
SILENT_DL="wget -qO-"
LOUD_DL="wget"
View uv.bat
@ECHO OFF
SET INSTALLPATH=%HOMEPATH%\Desktop\Vivaldi-Builds
SET DOWNLOADPATH=%HOMEPATH%\Downloads
FOR /F %%i IN ('dir /b /t:w /o-d "%DOWNLOADPATH%"\Vivaldi*.exe') DO (
SET PKG=%%i
GOTO :CONTINUE
)
ECHO No Vivaldi installers in Downloads
View gist:7bd33e9931018d5b1c65
open -a /Applications/Vivaldi.app --args --profile-directory=profile2