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:
<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> |
[Unit] | |
Description=Start TightVNC server at startup | |
After=syslog.target network.target | |
[Service] | |
Type=forking | |
User=someusername | |
Group=somegroupname | |
WorkingDirectory=/home/someusername |
[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 |
#!/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" |
#!/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 |
// ==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== |
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:
## E14 (with a fucked-up Fn key) | |
## First part: Mappings to make the keyboard work more like the C13 | |
## Second part: Libinput quirks file to restore the function of disabling the touchpad while typing | |
## twinkpad:/etc/keyd # cat thinky.conf | |
[ids] | |
0001:0001:a38e6885 | |
[main] | |
f1 = back |
[ids] | |
k:18d1:503d | |
k:18d1:504c | |
k:18d1:5030 | |
k:18d1:5057 | |
k:18d1:502b | |
k:18d1:5052 | |
k:18d1:5050 | |
k:18d1:5044 | |
k:18d1:503c |