Replaces the thumbnails of Vivaldi browser's speed dial with your own.
As of version 1.10 Vivaldi provides the possiblity to change the speed dial thumbnails via its interface. However you can still use this script to automate this process.
This scripts automates the replacement of the Vivaldi browser's bookmark thumbnails in the speed dial. The user needs to provide the custom thumbnails for the script himself.
This script was tested in Windows and OS X but should also work with Linux or any other operating system supporting Python and Vivaldi.
This Python script was tested with Python 3.5. It should work with all Python 3.x versions but if you want to be sure just use this version.
The script depends on the Python packages
sqlite3 which are all included in the standard library of Python 3.5.
Using the script
Download the file vivaldiThumbsReplacer.py and open it with a text editor. You must replace 4 path variables inside the script itself. Look for the lines:
topSites_path = "Path to 'Top Sites' file" bookmark_path = "Path to 'Bookmarks' file" backup_path = "Path to Backup directory" customThumbs_path = "Path to directory with thumbnails"
The names are pretty self explanatory.
||Stores the path to the "Top Sites" file of Vivaldi which stores the thumbnails.||Windows:
||Stores the path to the "Bookmark" file of Vivaldi which stores among other things the bookmark id and its name.||Windows:
||Specifies where (directory) a backup of "Top Sites" is stored.||Windows E.g.
||Specifies the directory where the custom thumbnails can be found.||Windows E.g.
- You need to replace
<User>with your own user name.
- When modifying or replacing the paths make sure you only use
/. You need to replace all backslashes when copying a Windows path from the explorer!
Make sure every entry in your speed dial has a descriptive name. This is not required but helps later.
Execute the Python script
vivaldiThumbsReplacer.py. If everything went right it should look like this:
Create and save your own thumbnail to be used. An optimal thumbnail has the dimensions 440 x 360 Pixels. Tipp: The smaller the picture size is, the faster Vivaldi should load it.
The name of your thumbnail must be predated with the bookmark id of the respective thumbnail. You can get the id by simply running the script which lists all ids it found on the speed dial. In the example in Step 3 we can see that we need to name our thumbnail
216_github.png. (What you write after the
_ doesn't matter.)
Close Vivaldi and execute the script again. If you have done everything right it should look like this:
Vivaldi should now display the new thumbnail.
If you have any problems, questions or improvements feel free to create an issue regarding the topic.
 Vivaldi-Forum: https://vivaldi.net/en-US/forum/all/7257-customising-your-speed-dial-thumbs