I'll post my config files here if needed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* dwmconfig.h | |
* Hardware multimedia keys | |
*/ | |
/* Somewhere at the beginning of config.h include: */ | |
/* | |
You obviously need the X11 development packages installed, X11proto in particular, but | |
here is the location of the keysyms header upstream copy if you can't bother | |
using the contents of your own hard drive. ;-P |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# after appcleaner does his magic, do this | |
sudo rm -rf "/Library/Application Support/Paragon Software/" | |
sudo rm /Library/LaunchDaemons/com.paragon-software.installer.plist | |
sudo rm /Library/LaunchDaemons/com.paragon-software.ntfs.loader.plist | |
sudo rm /Library/LaunchDaemons/com.paragon-software.ntfsd.plist | |
sudo rm /Library/LaunchAgents/com.paragon-software.ntfs.notification-agent.plist | |
sudo rm -rf /Library/Filesystems/ufsd_NTFS.fs/ | |
sudo rm -rf /Library/PrivilegedHelperTools/com.paragon-software.installer | |
sudo rm -rf /Library/Extensions/ufsd_NTFS.kext/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/python3 | |
import sys | |
import os | |
mode = sys.argv[1] if len(sys.argv) > 1 else None # internal/external | |
def main(): | |
if mode == "internal": | |
dpi = 110 |
This is an overview of how I configured my system to play a sound when a USB device (such as a flash drive) is plugged in.
- Linux install with
udev
andsystemd
. - Root access.
- A utility to play sounds (I used
aplay
). - Sounds to play.
Using the tool aplay
(found in the Arch package alsa-utils
), it is easy to play an audio file: aplay insert.wav