So you want the LEDs on your Acer-with-a-clit (ThinkPad E14 gen2) to be more humane?
Mute and micmute LEDs = off?
Power indicator LED = flashes with phy0 RX (white) and TX (green?
Good news, everyone! Do this:
create /some/where/tpled.sh:
So you want the LEDs on your Acer-with-a-clit (ThinkPad E14 gen2) to be more humane?
Mute and micmute LEDs = off?
Power indicator LED = flashes with phy0 RX (white) and TX (green?
Good news, everyone! Do this:
create /some/where/tpled.sh:
| // ==UserScript== | |
| // @name TwoStopBits Dark Mode | |
| // @namespace http://tampermonkey.net/ | |
| // @version 1.2 | |
| // @description twostopbits.com dark mode userstyle | |
| // @author Theodric | |
| // @match https://twostopbits.com/* | |
| // @grant GM_addStyle | |
| // ==/UserScript== |
| #!/usr/bin/env python3 | |
| import os | |
| import subprocess | |
| # Define the commands | |
| cmd_on = "openhue set light 626d5ac8-dd60-4eaa-9fa7-f0d0eb31ec15 --on" | |
| cmd_off = "openhue set light 626d5ac8-dd60-4eaa-9fa7-f0d0eb31ec15 --off" | |
| get_cmd = "openhue get light 626d5ac8-dd60-4eaa-9fa7-f0d0eb31ec15" | |
| # Function to get the current status of the light |
| #!/usr/bin/env python3 | |
| # theodric 2025-01-01 | |
| # ThinkPads have a red dot on the lid that lights up when the system is powered on. | |
| # Use it to send messages in Morse code! | |
| import sys | |
| import time | |
| # path to the led brightness file | |
| LED_BRIGHTNESS_PATH = "/sys/devices/platform/thinkpad_acpi/leds/tpacpi::lid_logo_dot/brightness" |
| [Unit] | |
| Description=VNC Server | |
| After=network.target | |
| [Service] | |
| Type=forking | |
| Environment="HOME=/root" | |
| ExecStart=/usr/bin/vncserver | |
| ExecStop=/usr/bin/vncserver -kill :1 | |
| Restart=always |
| [Unit] | |
| Description=Start TightVNC server at startup | |
| After=syslog.target network.target | |
| [Service] | |
| Type=forking | |
| User=someusername | |
| Group=somegroupname | |
| WorkingDirectory=/home/someusername |
| <touchégg> | |
| <settings> | |
| <!-- | |
| Delay, in milliseconds, since the gesture starts before the animation is displayed. | |
| Default: 150ms if this property is not set. | |
| Example: Use the MAXIMIZE_RESTORE_WINDOW action. You will notice that no animation is | |
| displayed if you complete the action quick enough. This property configures that time. | |
| --> | |
| <property name="animation_delay">150</property> |
| https://greasyfork.org/en/scripts/447614-youtube-hide-download-clip-and-thanks-including-promote-buttons |
| YouTube on mobile not saving watch history? Running Pi-Hole? That's why. | |
| Whitelist: | |
| s.youtube.com | |
| video-stats.google.com | |
| video-stats.l.google.com | |
| pihole -w s.youtube.com video-stats.l.google.com video-stats.google.com | |
| https://discourse.pi-hole.net/t/pi-hole-on-its-default-behavior-prevents-the-youtube-to-record-the-history-on-iphones-on-android-history-works-perfectly-fine/57531 |