Night Light in GNOME (and similar tools elsewhere) warms the colour of the
screens after sunset, but leaves their brightness alone; a monitor at full
brightness in a dark room tires the eyes more than its colour does. This
script closes the gap: it keeps every screen at --day brightness during the
day and at --night brightness at night, with a gradual ramp of --ramp
minutes after sunset and before sunrise, so that the change goes unnoticed.
With --night-temp, it fades the colour of Night Light along the same ramps
too, instead of the sudden switch that GNOME makes at sunset.
| #!/bin/sh | |
| ############################################################################### | |
| # install-stream-edid.sh CONN: install stream-edid in /usr/local/sbin, with # | |
| # make-edid.py and the port it drives (CONN, its kernel name, e.g. HDMI-A-1, # | |
| # as in /sys/class/drm/card*-CONN), and the sudoers rule that lets the user # | |
| # run stream-edid without a password. Run with sudo; without CONN it lists # | |
| # the ports. # | |
| ############################################################################### | |
| set -eu |
Gmail used to fetch other mailboxes (POP) and, with Gmailify, keep them in step: read a message in Gmail and it was read in the other account too, delete it and it was deleted there. Google discontinued both in 2026. Forwarding brings the mail into Gmail again, but the two copies then live separate lives: what you read, archive or delete in Gmail stays unread in the inbox of the other account, and the other way round.
gmailify.py closes that gap. It runs every two minutes on an always-on
Google has no Drive client for Linux, and the paid ones can misbehave: one of them, after a glitch, moved some 48,000 of my local files to the trash and was about to propagate the deletion to Drive. This is a small replacement built on rclone bisync: a local folder and your Drive kept in step in both directions, every few minutes, in the background, with guards against mass deletions.
SonicWall Connect Tunnel (formerly Aventail; startct, with the AvConnect
daemon behind it) is the VPN client of many universities and companies. On
Linux it needs the GUI open and a login by hand, and it does not notice when
the tunnel dies: the session expires after a few hours, the connection is
lost on suspend or on a network change, and, worst of all, the tunnel can
freeze while the client keeps its interface and routes up, so with a
"Redirect All" profile the whole internet is gone until one reconnects by
hand.