• Stars
    star
    109
  • Rank 317,233 (Top 7 %)
  • Language
    Python
  • License
    GNU General Publi...
  • Created over 12 years ago
  • Updated about 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Use any web page as your screensaver. Uses Python 3/GTK3/WebKit and works with XScreensaver or XFCE.

webscreensaver

A screen hack which uses WebKit and works with XScreensaver or XFCE.

Dependencies

  • Python 3
  • xscreensaver or xfce4-screensaver
  • GTK3
  • WebKit2 gtk

On Ubuntu, try this command:

    sudo apt install python3 python3-gi gir1.2-webkit2-4.0 gir1.2-gtk-3.0

Install (XScreensaver)

Copy webscreensaver into /usr/lib/xscreensaver and then edit ~/.xscreensaver:

    programs:
                  webscreensaver                  \n\

If you wish to set the url:

    -url <url_to_the_page_you_want>

Otherwise it will choose a random one.

You can persist cookies by specifying a cookie file:

    -cookie-file <path_to_cookie_file>

NOTE: All parameters should be all on the same line as webscreensaver

Install (XFCE)

  1. Copy webscreensaver into /usr/lib/xscreensaver.
  2. Copy webscreensaver.desktop into /usr/share/applications/screensavers.

Sites List

The list of sites chosen can be customised via a configuration file (TOML).

The format of the file is series of sections (one per site) as follows:

    [thisisasite]
    url = "http://abcd.efg"
    inject_css = "body { color: black }"
    remove_tags = ["header", "hullo"]
    remove_ids = ["hellohello", "heyhey"]

The inject_css, remove_tags and remove_ids keys are used to apply customisations to the page after it has loaded. The value can be either a single string or a list of strings.

  • inject_css - the CSS string will be injected into the page.
  • remove_tags - all tags matching the specified tag name will be removed.
  • remove_ids - all tags with the specified IDs will be removed.

Cycling

If you set your screensaver settings to "cycle", you should use -cycle which will pick the next screensaver in the list each time WebScreensaver is run. (Cycling is implemented in XScreensaver by stopping the current screensaver program and starting another one -- even in the case of a single screensaver being selected.)

3rd Party Packages

You can install webscreensaver easily using these packages (unsupported):

More Repositories

1

monkey-tail

A swiss army knife of commands and shell hacks, using @ as the prefix
Shell
38
star
2

tmux-applets

A selection of tmux "applets", such as for cpu frequency, memory usage and pinging
C
36
star
3

cdogs-sdl

C-Dogs SDL Action/Arcade Game
C
33
star
4

TomatoTimer

A Simple Pomodoro Timer that lives in the Menu Bar 🍅
C++
22
star
5

dotfiles-helper

A small script to ease managing your dotfiles repository between machines
Shell
12
star
6

Quik

Source code for "Quik: A Gravity Flip Platformer". A great learning resource for learning how to use Haxe and HaxeFlixel to make games.
Haxe
8
star
7

qrapidjson

Faster JSON serialiser for kdb+/q (uses RapidJSON)
C++
6
star
8

qs2

Google S2 geometry library extension for kdb+/q
C++
5
star
9

qgz

gzip decompression for kdb+/q
C
5
star
10

melbourne-tramtracker

Get arrival times of Melbourne Trams
Python
4
star
11

broq

Brotli file decompression plugin for kdb+/q
C
3
star
12

duckbot

Discord Channel & User Statistics Bot (uses kdb+)
Python
3
star
13

webscreenhacks

Hacky web screensavers for great good (can be used with webscreensaver)
CoffeeScript
2
star
14

redbubble-ruby

A Redbubble.com API of sorts, implemented in Ruby
Ruby
2
star
15

fix-sharepoint-scrolling

Chrome Extension to Fix SharePoint Stupidity With Regards to Scrolling in Non-IE browsers
JavaScript
2
star
16

capycoin

✨ A toy implementation of a non-distributed fixed circulation currency system! 🪙
Rust
1
star
17

dotfiles

My Dotfiles
Vim Script
1
star
18

iframe-light-box

Yet another Light Box. This one was written to be simple, and uses it's own namespaced tags. Requires jQuery.
JavaScript
1
star
19

cdogs-sdl-data

The data files for cdogs-sdl
1
star
20

arduino-filament-monitor

Some simple Ardunio code to monitor the filament feed to a 3D printer.
Arduino
1
star
21

lifxproto

Lifx Lan Protocol in Python (Experimental)
Python
1
star
22

rubiknav

Funky Sliding Interface/Navigation Code for your Website, as used by lumaki.com
JavaScript
1
star
23

music-notify

A simple notifier for your music
C
1
star