This concept is very much like .jar
or .war
archives in Java.
NOTE: The built
.pyz
zipapp can run on both Python 2 & 3 but you can only build.pyz
zipapps with Python 3.5 or later.
from evdev import UInput, ecodes as e | |
import time | |
# This class sends CTRL+SHIFT+U+<HEXCODE> sequences to produces arbitrary unicode characters. | |
# It works fine on Gnome applications, but not on KDE | |
# in https://en.wikipedia.org/wiki/Unicode_input#In_X11_.28Linux_and_other_Unix_variants.29 | |
class UnicodeInput: | |
def __init__(self): | |
keys = [ | |
e.KEY_LEFTCTRL, |
#!/bin/bash | |
printf "\x07\x00\x00\x00\x00" > /sys/firmware/efi/efivars/SystemAudioVolume-7c436110-ab2a-4bbb-a880-fe41995c9f82 |
This concept is very much like .jar
or .war
archives in Java.
NOTE: The built
.pyz
zipapp can run on both Python 2 & 3 but you can only build.pyz
zipapps with Python 3.5 or later.
This document was generated by running the following script
#!/bin/fish
for service in (qdbus "org.kde.*")
echo "* $service"
for path in (qdbus "$service")
echo "** $path"
#!/bin/bash | |
SERVICE="org.kde.KWin" | |
DBUS_PATH="/org/kde/KWin/InputDevice" | |
INTERFACE="org.kde.KWin.InputDevice" | |
METHOD_GET="org.freedesktop.DBus.Properties.Get" | |
METHOD_SET="org.freedesktop.DBus.Properties.Set" | |
function find_touchpad { | |
DM_INTERFACE="org.kde.KWin.InputDeviceManager" |
This is my approach for running NordVPN in a network namespace, and then running rtorrent in that netns.
I did this on Fedora 39 in November 2023.
You need to get the wireguard details that the NordVPN client uses to get the private key, local ip, and local port number. This post is helpful.