jdw@sdf
adding DoD certs to ubuntu/mint
Mostly for the purposes of getting the VMWare Horizon client authenticating to DoD VDI
- Download .p7b files from militarycac.com
- For each one run
openssl pkcs7 -inform der -in xxx.p7b -out xxx.crt
- Create directory /usr/share/ca-certs/dod
- Copy all .crt files to directory
- Run
dpkg-reconfigure ca-certificates
- Select the new certs
- Let script run
- Profit!
Bluetooth from console
When the Mint bluetooth manager fails you
- systemctl is-enabled bluetooth.service
- systemctl status bluetooth.service
- rfkill
- rfkill unblock bluetooth
- bluetoothctl
- power on
- scan on
- pair xx:xx:xx:xx:xx:xx
- trust xx:xx:xx:xx:xx:xx
- connect xx:xx:xx:xx:xx:xx
Update and relaunch docker containers
Particularly useful for SearxNG
- log into host
- cd to project directory
docker-compose pull
docker-compose down
docker-compose up --detach
Zero out a hard drive
hdparm --user-master u --security-set-pass hddpass /dev/sdx
hdparm --user-master u --security-erase hddpass /dev/sdx
Fix steam to run certain "problematic" games
- Go to directory for the game under SteamLibrary/steamapps/common/$GAME
- Create a file called
dxvk.conf
- Contents:
dxgi.customDeviceId = 1C81
dxgi.customVendorId = 10DE
Redragon K556 controls
- FN+INS - switch between Trail of Light, Breathing, Normally On
- FN+HOME - switch between Ripple Graph, Pass Without Trace, Coastal
- FN+PGUP - switch between Hurricane, Accumulate, Digital Times
- FN+DEL - switch between Go With The Stream, Clouds Fly, Winding Paths
- FN+END - switch between Flowers Blooming, Snow Winter Jasmine, Swift Action
- FN+PGDN - switch between Both Ways, Surmount, Fast and the Furious
- FN+WIN - lock/unlock WIN key and functions
- FN+up/down arrow - adjust brightness
- FN+left - adjust running direction
- FN+right - adjust backlight color
- FN+PRTSCR - restore default settings
- FN+~ - go into programming mode