Murre: Difference between revisions

From Wildsong
Jump to navigationJump to search
Brian Wilson (talk | contribs)
Brian Wilson (talk | contribs)
 
(35 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[File:COMU.jpg|thumb|left]]
[[File:COMU.jpg|thumb|left]]


Windows 10 Desktop computer ordered on 2017-09-11
Murre is now on Linux Mint. Can I move Win 10 to VirtualBox? Update: I don't care. Mint is working flawlessly and I have no further use for Win 10.


Rhymes with blur. This is not a Common Murre, though black and white, this one is flightless.
Computer parts ordered on 2017-09-11. It's almost new but supposedly this CPU [https://docs.microsoft.com/en-us/windows-hardware/design/minimum/supported/windows-11-supported-intel-processors won't run Windows 11]. So, Linux.
 
Rhymes with blur. This is not a Common Murre, though black and white, this one is flightless and red.


Replacement for [[Laysan]]. I just wanted more RAM and ended up replacing everything but the drives!
Replacement for [[Laysan]]. I just wanted more RAM and ended up replacing everything but the drives!


<br clear=all />
==== TO DO 12-25 ====
 
* Install second NVME?? (There's an empty slot in there, but currently I just don't need any more space on Murre!)
* Pull the 2 2TB spinning drives out, I never use them.
 
== Hardware==


== Hardware Overview ==
*ASUS TUF X299 Mark 2 motherboard
*2 NVME slots, PCIE Gen 3 x4
*Intel Core i9 (10 core)
*64 GB RAM
*EVGA Nvidia GeForce RTX 2070 SUPER (8GB)
* NVME drive - 500GB Western Digital SN750 Black (This Gen3 SSD is about as fast as this motherboard can go)
* Pair of 3.5" 2TB drives as RAID 0
*SSD drive - 750GB Samsung 840
*blueray disc burner
*GSkill KM360 white Cherry MX Red keyboard
*Cherry mouse
*Contour Shuttle USB controller


* ASUS TUF X299 Mark 2 motherboard
<pre>
* Intel Core i9 (10 core)
murre$ inxi -Fxz
* 64 GB RAM
System:
* EVGA Nvidia GeForce RTX 2070 SUPER (8GB)
  Kernel: 6.8.0-45-generic arch: x86_64 bits: 64 compiler: gcc v: 13.2.0
* C: NVME drive - 500GB Western Digital SN750 Black
  Desktop: Cinnamon v: 6.2.9 Distro: Linux Mint 22 Wilma
* D: pair of 3.5" 2TB drives as RAID 0
    base: Ubuntu 24.04 noble
* F: SSD drive - 750GB Samsung 840
Machine:
* blueray disc burner
  Type: Desktop Mobo: ASUSTeK model: TUF X299 MARK 2 v: Rev 1.xx
* GSkill KM360 white Cherry MX Red keyboard
    serial: <superuser required> UEFI: American Megatrends v: 3403
* Cherry mouse
    date: 03/19/2021
* Contour Shuttle USB controller
CPU:
  Info: 10-core model: Intel Core i9-7900X bits: 64 type: MT MCP arch: Skylake
    rev: 4 cache: L1: 640 KiB L2: 10 MiB L3: 13.8 MiB
  Speed (MHz): avg: 1480 high: 4000 min/max: 1200/4300:4500 cores: 1: 1200
    2: 1200 3: 1200 4: 1200 5: 1200 6: 1200 7: 1200 8: 1200 9: 1200 10: 1200
    11: 1200 12: 1200 13: 1200 14: 1200 15: 4000 16: 1200 17: 1200 18: 1200
    19: 1201 20: 4000 bogomips: 131999
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: NVIDIA TU104 [GeForce RTX 2070 SUPER] vendor: eVga.com.
    driver: nvidia v: 535.183.01 arch: Turing bus-ID: 65:00.0
  Device-2: Logitech HD Webcam C910 driver: snd-usb-audio,uvcvideo type: USB
    bus-ID: 1-10.3:6
  Display: x11 server: X.Org v: 21.1.11 with: Xwayland v: 23.2.6 driver: X:
    loaded: nvidia unloaded: fbdev,modesetting,nouveau,vesa
    gpu: nvidia,nvidia-nvswitch resolution: 1: 5120x2880~60Hz
    2: 2160x3840~60Hz
  API: EGL Message: No EGL data available.
  API: OpenGL v: 4.6.0 vendor: nvidia v: 535.183.01 glx-v: 1.4
    direct-render: yes renderer: NVIDIA GeForce RTX 2070 SUPER/PCIe/SSE2
Audio:
  Device-1: Intel 200 Series PCH HD Audio vendor: ASUSTeK
    driver: snd_hda_intel v: kernel bus-ID: 00:1f.3
  Device-2: NVIDIA TU104 HD Audio vendor: eVga.com. driver: snd_hda_intel
    v: kernel bus-ID: 65:00.1
  Device-3: Logitech HD Webcam C910 driver: snd-usb-audio,uvcvideo type: USB
    bus-ID: 1-10.3:6
  API: ALSA v: k6.8.0-45-generic status: kernel-api
  Server-1: PipeWire v: 1.0.5 status: active
Network:
  Device-1: Intel Ethernet I219-V vendor: ASUSTeK driver: e1000e v: kernel
    port: N/A bus-ID: 00:1f.6
  IF: eno1 state: up speed: 1000 Mbps duplex: full mac: <filter>
  IF-ID-1: virbr0 state: down mac: <filter>
Bluetooth:
  Device-1: Cambridge Silicon Radio Bluetooth Dongle (HCI mode) driver: btusb
    v: 0.8 type: USB bus-ID: 1-13:7
  Report: hciconfig ID: hci0 rfk-id: 16 state: down
    bt-service: enabled,running rfk-block: hardware: no software: yes
    address: <filter>
RAID:
  Device-1: ddrive type: zfs status: ONLINE level: mirror-0 raw:
    size: 2.72 TiB free: 2.67 TiB zfs-fs: size: 2.63 TiB free: 2.59 TiB
  Components: Online: 1: sda 2: sdc
Drives:
  Local Storage: total: raw: 6.6 TiB usable: 3.77 TiB used: 169.66 GiB (4.4%)
  ID-1: /dev/nvme0n1 vendor: Western Digital model: WDS500G3X0C-00SJG0
    size: 465.76 GiB temp: 40.9 C
  ID-2: /dev/sda vendor: Seagate model: ST3000DM008-2DM166 size: 2.73 TiB
  ID-3: /dev/sdb vendor: Samsung model: SSD 840 EVO 750GB size: 698.64 GiB
  ID-4: /dev/sdc vendor: Seagate model: ST3000DM008-2DM166 size: 2.73 TiB
Partition:
  ID-1: / size: 456.89 GiB used: 123.57 GiB (27.0%) fs: ext4
    dev: /dev/nvme0n1p2
  ID-2: /boot/efi size: 511 MiB used: 14.3 MiB (2.8%) fs: vfat
    dev: /dev/nvme0n1p1
Swap:
  ID-1: swap-1 type: file size: 2 GiB used: 0 KiB (0.0%) file: /swapfile
Sensors:
  System Temperatures: cpu: 37.0 C mobo: N/A gpu: nvidia temp: 55 C
  Fan Speeds (rpm): N/A gpu: nvidia fan: 6%
Info:
  Memory: total: 64 GiB note: est. available: 62.49 GiB used: 6.95 GiB (11.1%)
  Processes: 579 Uptime: 18d 18h 52m Init: systemd target: graphical (5)
  Packages: 3125 Compilers: gcc: 13.2.0 Shell: Bash v: 5.2.21 inxi: 3.3.34</pre>


== History ==
==History==
* 2021-11-24 WD is installed now and running. Let's see if this lasts.
*2024-10-14 Installed Balena Etcher from DEB
* 2021-11-13 ordered Western Digital SN750 Black. I can try out the Samsung warranty process
*2024-09 updated to "Wilma"
* 2021-11-12 Samsung 840 is now the boot drive, pulled out the 970.
*2023-12-25 Linux Mint "Victoria"
* 2021-11-11 Dead again, this system is busted. I still think it might be the 970. Reinstalled and it crashed again.
*2023-10-05 Studio driver 537.42  installed; I never game so why would I want the Game driver?
* 2021-03-06 Something I did is making the system unstable so I am reinstalling the OS.
*2023-09-17 had to disable the IPv6 thing that caused it to use the Vilo 6 for DNS!! Same as [[Pearl]]. See the [[Vilo]] page
* 2020-05-25 Corsair Neutron GTX SS migrated from [[Dart]], for WSL2 usage.
*2022-12-11 Game Ready Nvidia driver update 527.56
* 2020-04-21 Dell P2415Q 24" 4K monitor installed, it is GREAT so far. Dell site for [https://www.dell.com/support/home/en-us/product-support/product/dell-p2415q-monitor/docs docs]
*2021-11-24 WD is installed now and running. Let's see if this lasts. (Update, it works great still, 3 years later)
* 2020-04- HyperX DAC for headphones gives me audio controls including a mic mute button. Works great so far with my Bowers & Wilkins headphones.
*2021-11-13 ordered Western Digital SN750 Black. I can try out the Samsung warranty process
* 2020-03-23 EVGA Nvidia GeForce RTX 2070 8GB and Samsung 4K Monitor ordered. The monitor was awful, returned it.
*2021-11-12 Samsung 840 is now the boot drive, pulled out the 970.
* 2019-04-26 Installed Samsung 970 EVO Plus 500GB NVMe
*2021-11-11 Dead again, this system is busted. I still think it might be the 970. Reinstalled and it crashed again.
* 2018-01-08 I followed these instructions to set up Murre to power down automatically every night if I forget to do it. https://www.maketecheasier.com/automatically-shutdown-windows-at-night/
*2021-03-06 Something I did is making the system unstable so I am reinstalling the OS.
* 2017-12-01 Cyberpower UPS CST135XLU added.  
*2020-05-25 Corsair Neutron GTX SS migrated from [[Dart]], for WSL2 usage.
* 2017-09-15 Up and running
*2020-04-21 Dell P2415Q 24" 4K monitor installed, it is GREAT so far. Dell site for [https://www.dell.com/support/home/en-us/product-support/product/dell-p2415q-monitor/docs docs]
* 2 x Seagate Barracuda SATA 3.0 in RAID 0, mounted at D:
*2020-04- HyperX DAC for headphones gives me audio controls including a mic mute button. Works great so far with my Bowers & Wilkins headphones.
*2020-03-23 EVGA Nvidia GeForce RTX 2070 8GB and Samsung 4K Monitor ordered. The monitor was awful, returned it.
*2019-04-26 Installed Samsung 970 EVO Plus 500GB NVMe
*2018-01-08 I followed these instructions to set up Murre to power down automatically every night if I forget to do it. https://www.maketecheasier.com/automatically-shutdown-windows-at-night/
*2017-12-01 Cyberpower UPS CST135XLU added.
*2017-09-15 Up and running
*2 x Seagate Barracuda SATA 3.0 in RAID 0, mounted at D: (Update, now at /ddrive)


* Nvidia Quadro 2000D video card 2560x2048 resolution (retired)
* Nvidia Quadro 2000D video card 2560x2048 resolution (retired)


These parts ordered 9/11/17
These parts ordered 9/11/17
* ASUS TUF X299 Mark 2 motherboard (Warranty 5 year)
*ASUS TUF X299 Mark 2 motherboard (Warranty 5 year)
* Intel Core i9-7900X Skylake-X 10 core CPU (Warranty 3 year)
*Intel Core i9-7900X Skylake-X 10 core CPU (Warranty 3 year)
* Cooler Master "MasterLiquid Lite 120" liquid CPU cooler with one 120mm fan (Warranty 3 year)
*Cooler Master "MasterLiquid Lite 120" liquid CPU cooler with one 120mm fan (Warranty 3 year)
* 64 GB RAM G.Skill TridentZ (4x16) DDR4 3200 (leaves 4 slots free) (Lifetime warranty)
*64 GB RAM G.Skill TridentZ (4x16) DDR4 3200 (leaves 4 slots free) (Lifetime warranty)
* Seasonic SS-750KM3 750W 80plus Gold modular power supply (Warranty 7 year)
*Seasonic SS-750KM3 750W 80plus Gold modular power supply (Warranty 7 year)


=== Lilliput ===
===== RAID Mirror =====
I used a pair of spinning Seagates as a Windows soft RAID ZERO. I migrated to a ZFS set up on Linux Mint. It was RAID ZERO not a MIRROR. 


ZFS sure was easy to set up compared to the old mdadm commands. This quickly creates a filesystem on two drives and mounts it at /ddrive. (It used to be "D:" in Windows)
See https://discourse.practicalzfs.com/t/best-practices-for-zfs-on-nvme-drives/464 for tuning tips.
zpool create ddrive mirror ata-ST3000DM008-2DM166_Z50392VF ata-ST3000DM008-2DM166_Z5039QJ5
zpool set ashift=12 ddrive
zfs set compression=lz4 ddrive
zfs set atime=off ddrive
I can view all properties
zfs get all ddrive
Record size is set to 128k, and that's probably fine.
====== More about ZFS ======
People talk about "the benefits of ZFS", which, for me, are what exactly? Copy on write, Snapshots, error handling. NFS is built in. Lots of neat stuff.
Basics: https://arstechnica.com/information-technology/2020/05/zfs-101-understanding-zfs-storage-and-performance/
==== Lilliput ====
2020-04-04 -- The 7" Lilliput works because Windows supports DisplayLink. I did upgrade the driver from the one at displaylink.com
2020-04-04 -- The 7" Lilliput works because Windows supports DisplayLink. I did upgrade the driver from the one at displaylink.com


== Backups ==
==Backups==
*2023-12-24 -- Backed up everything to external SSD, created recovery DVD
* 2021-11-11 -- I can boot from the "recovery disk" but that's all
* 2021-11-11 -- I can boot from the "recovery disk" but that's all
* 2021-03-14 -- Recovery disk to 32GB MicroSD card #5
*2021-03-14 -- Recovery disk to 32GB MicroSD card #5
* 2019-04-03 -- I just did a backup of the C: using the Windows 7 backup program, so that I have it saved in case my upgrade with the new SSD NVME goes sideways. It took ALL NIGHT.
* 2019-04-03 -- I just did a backup of the C: using the Windows 7 backup program, so that I have it saved in case my upgrade with the new SSD NVME goes sideways. It took ALL NIGHT.
* 2019-04-01 -- I installed Backup and Sync from Google and set my Documents folder to copy there.
*2019-04-01 -- I installed Backup and Sync from Google and set my Documents folder to copy there.


Synology currently does continuous backup of C:/Users/brian/Documents
Synology currently does continuous backup of C:/Users/brian/Documents to /home/Drive/Backup/MURRE
to /home/Drive/Backup/MURRE


=== System rescue (failed Samsung 970 NVME) ===
===System rescue (failed Samsung 970 NVME)===


https://www.system-rescue.org/
https://www.system-rescue.org/
Line 69: Line 177:
launch gparted. Finds all drives,
launch gparted. Finds all drives,


* /dev/nvme0n1  465GB Samsung 970 btrfs? Interesting, I'd expect to see NTFS there.
*/dev/nvme0n1  465GB Samsung 970 btrfs? Interesting, I'd expect to see NTFS there.
* /dev/sda  2.73T Seagate, three partitions, part of a Windows RAID
*/dev/sda  2.73T Seagate, three partitions, part of a Windows RAID
* /dev/sdb  698G Samsung 840, ntfs on sdb1, blank scratchspace right now
*/dev/sdb  698G Samsung 840, ntfs on sdb1, blank scratchspace right now
* /dev/sdc  2.73T Seagate, three partitions, part of a Windows RAID
*/dev/sdc  2.73T Seagate, three partitions, part of a Windows RAID
* /dev/sdd  the SD card SystemRescue
*/dev/sdd  the SD card SystemRescue


Why is the NVME (which should be a bootable NTFS filesystem) reporting itself as btrfs here?
Why is the NVME (which should be a bootable NTFS filesystem) reporting itself as btrfs here?
Line 84: Line 192:
I guess first I have to make the 840 bootable in Windows and go from there. I don't want to wipe the 970 until convinced it's really gone.
I guess first I have to make the 840 bootable in Windows and go from there. I don't want to wipe the 970 until convinced it's really gone.


=== Install to 840 SSD ===
===Install to 840 SSD===


I will lose downloads of surface data (LiDAR) again when I wipe it. That is all that's on the 840 SSD. Oh well.
I will lose downloads of surface data (LiDAR) again when I wipe it. That is all that's on the 840 SSD. Oh well.


# I downloaded Windows ISO to Mac and burned to a 32GB SD card via Boot Camp Assistant.app.
#I downloaded Windows ISO to Mac and burned to a 32GB SD card via Boot Camp Assistant.app.
# I had to use the SystemRescue SD to format with GPT, as Windows no longer installs to MBR disks! There is no option in Windows to change to GPT. ''No need to create partitions.''
#I had to use the SystemRescue SD to format with GPT, as Windows no longer installs to MBR disks! There is no option in Windows to change to GPT. ''No need to create partitions.''
# Boot from SD and select option to activate Win10 later.
#Boot from SD and select option to activate Win10 later.


Surprise! Upon reboot, the 970 is visible again. I will not set it up again for the OS, not today anyway. Maybe Saturday.
Surprise! Upon reboot, the 970 is visible again. I will not set it up again for the OS, not today anyway. Maybe Saturday.


=== Migration back to 970 but only for a day ===
===Migration back to 970 but only for a day===


https://www.pcmag.com/how-to/copy-your-windows-installation-to-an-ssd
https://www.pcmag.com/how-to/copy-your-windows-installation-to-an-ssd
Line 106: Line 214:
It started crashing again, I ordered a WD drive.
It started crashing again, I ordered a WD drive.


=== Migration from Samsung SSD to WD NVME ===
===Migration from Samsung SSD to WD NVME ===


This time I installed the free WD version of Acronis True Image and used it to clone the SSD to the NVME and that's where I am at today.
This time I installed the free WD version of Acronis True Image and used it to clone the SSD to the NVME and that's where I am at today.


== Software ==
== File system organization ==
 
{| class="wikitable"
|+
!mount point
!drive
!description
!
|-
|/
|/dev/nvme0n1p2
|500MB
|WDS500G3X0C-00SJG0
|-
|/boot/efi
|/dev/nvme0n1p1
|450GB
|WDS500G3X0C-00SJG0
|-
|/ddrive
|/dev/sda1 and /dev/sdc1
|ZFS RAID
| 3TB
|-
|/home/bwilson/Wildsong
|wenda:/volume1/Wildsong
|NFS
|fstab
|-
|/home/bwilson/Documents
|wenda:/volume1/homes/bwilson
|NFS
|fstab
|-
|/net/wenda/volume1/Wildsong
|wenda:/volume1/Wildsong
|AUTOFS
|-
|/net/wenda/volume1/homes
|wenda:/volume1/homes
|AUTOFS
|-
|/net/wenda/volume1/music
|wenda:/volume1/music
|AUTOFS
|-
|/net/wenda/volume1/photo
|wenda:/volume1/photo
|AUTOFS
|-
|/home/bwilson/Dropbox
|Dropbox
|8GB available
|-
|'''not mounted'''
|/dev/sdb1
|700GB
|}
 
Notes:
* 2024-11-18 Moving projects from Dropbox to Synology
* I can share files over NFS locally since this is a desktop. So Wenda is mounted only on NFS.
* Swap space is a file, '''/swapfile'''
 
==Software installed ==
 
===Linux Mint edition ===
Packages installed with "Software Manager".
 
*emacs
*firefox (preinstalled) plus UBlock Origin and Bit Warden
*gimp
*libreoffice (preinstalled)
*miniconda from shell script
*nvidia driver 535
* okular
*qgis
*virtualbox and virtualbox-ext-pack
* Visual Studio Code (from downloaded DEB)
* VLC
 
Ham radio


=== List of installed software ===
*chirp
* direwolf
*qtel - for echolink
*xastir
Installed with apt (not available in Software Manager)


* 7-Zip
* openssh-server
* Adobe
* nvme-cli
** Acrobat Reader DC
* nfs-common
** Adobe Digital Editions
* autofs
* AutoHotKey
 
* Brother HL-L1320D printer - won't install unless it's on USB
==== Wine ====
* Contour Shuttle
I installed Wine so I could use the Nextion design software. I made some notes in that project README.md.
* Emacs
 
* Esri
===== Installing Echolink in Wine =====
** ArcGIS Coordinate Systems Data
See [https://gitlab.winehq.org/wine/wine/-/wikis/Wine-User's-Guide#how-to-install-and-run-windows-programs How to install and run Windows Programs]
 
I downloaded the .exe installer and ran it from the desktop with "open with.. wine". It installed into ~/.wine/ and it got stuck. So I nuked ~/.wine and followed my Nextion notes.
 
apt install wine winetricks
sudo winetricks --self-update
export WINEPREFIX="~/.echolink"
 
Fix the font size, I had to go into "graphics" and set Screen Resolution to 240DPI to be able to see the text on my 4K monitor. This will also set up the .echolink folder if it is not there.
 
winecfg
 
Install
 
This ran just fine and I could even read the dialog text.
 
export WINEPREFIX="~/.echolink"
wine EchoLinkSetup-2-3-121.exe
 
I moved my old Echolink folder from Windows 10 into its new home, ~/.echolink/drive_c/Users/bwilson/Echolink/
 
Then I can run echolink, finally.
 
export WINEPREFIX="~/.echolink"
cd $WINEPREFIX/drive_c/Program\ Files\ (x86)/K1RFD/EchoLink/ && wine EchoLink.exe
 
===Windows 10 edition===
 
'''Windows 10 Pro''', installed on Samsung 840 SSD. (Was on NVME until 12/25/23)
 
Stupid Windows 10 annoyances-- I moved the "annoying" content to [[Windows 10 and Windows 11]].
*7-Zip
*Adobe  
**Acrobat Reader DC
**Adobe Digital Editions
*AutoHotKey
*Brother HL-L1320D printer - won't install unless it's on USB
*Contour Shuttle
*Emacs
*Esri
**ArcGIS Coordinate Systems Data
** ArcGIS Pro
** ArcGIS Pro
* Garmin
*Garmin
** Basecamp
**Basecamp
** City Navigator
**City Navigator
** Garmin Express
**Garmin Express
** Garmin USB drivers
**Garmin USB drivers
* GIMP
*GIMP
* Git
*Git
* Git for windows - VSCode wants this, even if you have Cygwin
*Git for windows - VSCode wants this, even if you have Cygwin
* ICOM CS-F11 -- see spreadsheet for license code
*ICOM CS-F11 -- see spreadsheet for license code
* Inkscape
*Inkscape
* LibreOffice 7
*LibreOffice 7
* Logitech Webcam Software
*Logitech Webcam Software
* MCP-F6/F7 (Kenwood programming software) (FREE)
*MCP-F6/F7 (Kenwood programming software) (FREE)
* Microsoft
*Microsoft
** Media Creation Tool -- run this to create an installer disc
**Media Creation Tool -- run this to create an installer disc
** Microsoft Visual Studio Code
**Microsoft Visual Studio Code
* Nvidia drivers
*Nvidia drivers
* Samsung  
*Samsung  
** Samsung Magician
**Samsung Magician
** Samsung Data Migration -- https://www.samsung.com/semiconductor/minisite/ssd/download/tools/
**Samsung Data Migration -- https://www.samsung.com/semiconductor/minisite/ssd/download/tools/
* Slack
*Slack
* UltraVNC is installed since I can't get X11 to work.
*UltraVNC is installed since I can't get X11 to work.
* VLC media player
*VLC media player
* Wacom (Bamboo driver)
*Wacom (Bamboo driver)
* X-mouse (set focus follows zoom)
*X-mouse (set focus follows zoom)
* Zoom
*Zoom


=== Note on Docker and VirtualBox ===
===Note on Docker and VirtualBox===


2020-05-25 I am migrating from Docker Desktop to Podman.
2020-05-25 I am migrating from Docker Desktop to Podman.
Line 158: Line 391:
Using [[Docker]] with Hyper-V (part of Windows 10 Pro)
Using [[Docker]] with Hyper-V (part of Windows 10 Pro)


=== Contour Shuttle ===
===Contour Shuttle===


As a media controller, this was a great thing during WFH
As a media controller, this was a great thing during WFH
Line 164: Line 397:


On buttons
On buttons
* rewind
*rewind
* play pause
*play pause
* fast forward
*fast forward
* mute
*mute


On spinner
On spinner
* volume
*volume


# Shuttle is set to send events as keystrokes
#Shuttle is set to send events as keystrokes
# AutoHotKey picks up the keystrokes and converts them to windows events
#AutoHotKey picks up the keystrokes and converts them to windows events


AutoHotKey should be visible in the tray.
AutoHotKey should be visible in the tray.
Line 207: Line 440:
</pre>
</pre>


=== Making Podman work ===
===Making Podman work===


This process feels a lot like the olden pre-Docker days.
This process feels a lot like the olden pre-Docker days.


* Install Debian from the Microsoft Store, as strange as that sounds
*Install Debian from the Microsoft Store, as strange as that sounds
* Install the prerequisites.
*Install the prerequisites.
  apt install curl
  apt install curl
  apt install gnupg2
  apt install gnupg2  
* Install the repository per [https://podman.io/getting-started/installation these instructions].  
*Install the repository per [https://podman.io/getting-started/installation these instructions].
  # Debian 10
  # Debian 10
  echo 'deb https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/Debian_10/ /' > /etc/apt/sources.list.d/devel:kubic:libcontainers:stable.list
  echo 'deb https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/Debian_10/ /' > /etc/apt/sources.list.d/devel:kubic:libcontainers:stable.list
  curl -L https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/Debian_10/Release.key | sudo apt-key add -
  curl -L https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/Debian_10/Release.key | sudo apt-key add -
* Install podman itself
*Install podman itself
  apt update -qq
  apt update -qq
  apt upgrade
  apt upgrade
Line 259: Line 492:
</pre>
</pre>


=== Synology Cloud Station Drive ===
===Synology Cloud Station Drive===


I rsync'ed all the TrailPeople data over from [[Plover]] and then I linked the server.
I rsync'ed all the TrailPeople data over from [[Plover]] and then I linked the server.
That avoided pulling a fresh copy of every file over from the server.
That avoided pulling a fresh copy of every file over from the server.
=== Audio output to two places ===
===Audio output to two places===


With Windows 10 is possible to have audio directed out to 2 sets of speakers at the same time, in my case a pair of powered speakers plugged into the Realtek sound output of the motherboard (which is set as Default Device) and a Bose Mini II connected over bluetooth. I found  
With Windows 10 is possible to have audio directed out to 2 sets of speakers at the same time, in my case a pair of powered speakers plugged into the Realtek sound output of the motherboard (which is set as Default Device) and a Bose Mini II connected over bluetooth. I found  
Line 275: Line 508:
Also it's very freaky that getting the output settings correct required a reboot. What is this, Windows 98?
Also it's very freaky that getting the output settings correct required a reboot. What is this, Windows 98?
   
   
=== Printing ===
===Printing===


First I installed the Brother drivers from their site. Then used the CUPS IPP printer on Wenda, by typing it into Windows: http://192.168.123.4:631/printers/usbprinter1 and then specifying the correct driver in the Windows wizard.
Install the Brother drivers from their site.  
https://support.brother.com/g/b/downloadhowto.aspx?c=us&lang=en&prod=hll2320d_us_as&os=10013&dlid=dlf100985_000&flang=8&type3=11


https://support.brother.com/g/b/downloadhowto.aspx?c=us&lang=en&prod=hll2320d_us_as&os=10013&dlid=dlf100985_000&flang=8&type3=11
Install the Synology Assistant and run it. It will help you add the printer.


=== LibreOffice Base ===
===LibreOffice Base ===


To get Base to work with MySQL, I had to install the 64-bit version of Oracle's JRE
To get Base to work with MySQL, I had to install the 64-bit version of Oracle's JRE
Line 290: Line 524:
[https://stackoverflow.com/questions/27102600/libreoffice-com-mysql-jdbc-driver-cannot-be-loaded JDBC driver for MySQL]
[https://stackoverflow.com/questions/27102600/libreoffice-com-mysql-jdbc-driver-cannot-be-loaded JDBC driver for MySQL]


== Operating system ==
===Windows Terminal===
 
'''Windows 10 Pro''', Full version installed on NVME
 
* 2020-05-25 version is now Windows 10 Pro version 2004 build 19041.264
* 2020-05-25 upgrade to allow installation of WSL2, so that I can try out Podman.
* 2020-05 previous version was Windows 10 Pro version 1909 build 18363.836
 
=== Stupid Windows 10 annoyances ===
 
==== Scroll direction is unnatural ====
 
https://www.windowscentral.com/how-reverse-scrolling-direction-windows-10
 
I struggle to figure out which HID device is my mouse, there is only one, but 2 show up in the Device Manager.
Currently I think it is this one:
Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\HID\VID_04D9&PID_1133\6&1797759b&0&0000\Device Parameters
 
Set FlipFlopWheel to 1 and reboot.
 
==== Search results show up for random garbage ====
 
I don't want to search for movies when I am looking for a file on my hard drive.
I use a browser for that.
 
This requires a REGISTRY EDIT!!? H aha hahahahaha
 
https://answers.microsoft.com/en-us/windows/forum/all/turn-off-automatic-internet-search-in-windows-10/3174da8f-5545-4927-9ce0-ffb89b61d989
 
https://www.bennetrichter.de/en/tutorials/windows-10-disable-web-search/
 
==== Home drive is synced to OneDrive by default ====
 
Change your home directory to move it out of OneDrive.
 
Disconnect your account from Microsoft.
 
* Click on "Start" (or rather the icon :-)
* Click on the profile picture.
* Click on "Change account settings"
* Click the thing that "Sign in with a local account instead".
 
This means your settings won't be saved to Microsoft, I don't care because I only have this one Windows machine.
 
==== Change to Focus follows mouse ====


I used X-Mouse Controls:
As yet I am unconvinced this app is that much better than the ancient command window. It's in the Windows Store but you can also download a MSIX file should your
IT department disable the Windows Store.


https://superuser.com/questions/954021/how-do-you-enable-focus-follows-mouse-in-windows-10
I need it to work with Git Bash. That's the whole point.
These instructions are very helpful. https://medium.com/@techpreacher/using-git-bash-with-the-microsoft-terminal-bd1f71fa17a1

Latest revision as of 23:30, 19 November 2024

Murre is now on Linux Mint. Can I move Win 10 to VirtualBox? Update: I don't care. Mint is working flawlessly and I have no further use for Win 10.

Computer parts ordered on 2017-09-11. It's almost new but supposedly this CPU won't run Windows 11. So, Linux.

Rhymes with blur. This is not a Common Murre, though black and white, this one is flightless and red.

Replacement for Laysan. I just wanted more RAM and ended up replacing everything but the drives!

TO DO 12-25

  • Install second NVME?? (There's an empty slot in there, but currently I just don't need any more space on Murre!)
  • Pull the 2 2TB spinning drives out, I never use them.

Hardware

  • ASUS TUF X299 Mark 2 motherboard
  • 2 NVME slots, PCIE Gen 3 x4
  • Intel Core i9 (10 core)
  • 64 GB RAM
  • EVGA Nvidia GeForce RTX 2070 SUPER (8GB)
  • NVME drive - 500GB Western Digital SN750 Black (This Gen3 SSD is about as fast as this motherboard can go)
  • Pair of 3.5" 2TB drives as RAID 0
  • SSD drive - 750GB Samsung 840
  • blueray disc burner
  • GSkill KM360 white Cherry MX Red keyboard
  • Cherry mouse
  • Contour Shuttle USB controller
murre$ inxi -Fxz
System:
  Kernel: 6.8.0-45-generic arch: x86_64 bits: 64 compiler: gcc v: 13.2.0
  Desktop: Cinnamon v: 6.2.9 Distro: Linux Mint 22 Wilma
    base: Ubuntu 24.04 noble
Machine:
  Type: Desktop Mobo: ASUSTeK model: TUF X299 MARK 2 v: Rev 1.xx
    serial: <superuser required> UEFI: American Megatrends v: 3403
    date: 03/19/2021
CPU:
  Info: 10-core model: Intel Core i9-7900X bits: 64 type: MT MCP arch: Skylake
    rev: 4 cache: L1: 640 KiB L2: 10 MiB L3: 13.8 MiB
  Speed (MHz): avg: 1480 high: 4000 min/max: 1200/4300:4500 cores: 1: 1200
    2: 1200 3: 1200 4: 1200 5: 1200 6: 1200 7: 1200 8: 1200 9: 1200 10: 1200
    11: 1200 12: 1200 13: 1200 14: 1200 15: 4000 16: 1200 17: 1200 18: 1200
    19: 1201 20: 4000 bogomips: 131999
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: NVIDIA TU104 [GeForce RTX 2070 SUPER] vendor: eVga.com.
    driver: nvidia v: 535.183.01 arch: Turing bus-ID: 65:00.0
  Device-2: Logitech HD Webcam C910 driver: snd-usb-audio,uvcvideo type: USB
    bus-ID: 1-10.3:6
  Display: x11 server: X.Org v: 21.1.11 with: Xwayland v: 23.2.6 driver: X:
    loaded: nvidia unloaded: fbdev,modesetting,nouveau,vesa
    gpu: nvidia,nvidia-nvswitch resolution: 1: 5120x2880~60Hz
    2: 2160x3840~60Hz
  API: EGL Message: No EGL data available.
  API: OpenGL v: 4.6.0 vendor: nvidia v: 535.183.01 glx-v: 1.4
    direct-render: yes renderer: NVIDIA GeForce RTX 2070 SUPER/PCIe/SSE2
Audio:
  Device-1: Intel 200 Series PCH HD Audio vendor: ASUSTeK
    driver: snd_hda_intel v: kernel bus-ID: 00:1f.3
  Device-2: NVIDIA TU104 HD Audio vendor: eVga.com. driver: snd_hda_intel
    v: kernel bus-ID: 65:00.1
  Device-3: Logitech HD Webcam C910 driver: snd-usb-audio,uvcvideo type: USB
    bus-ID: 1-10.3:6
  API: ALSA v: k6.8.0-45-generic status: kernel-api
  Server-1: PipeWire v: 1.0.5 status: active
Network:
  Device-1: Intel Ethernet I219-V vendor: ASUSTeK driver: e1000e v: kernel
    port: N/A bus-ID: 00:1f.6
  IF: eno1 state: up speed: 1000 Mbps duplex: full mac: <filter>
  IF-ID-1: virbr0 state: down mac: <filter>
Bluetooth:
  Device-1: Cambridge Silicon Radio Bluetooth Dongle (HCI mode) driver: btusb
    v: 0.8 type: USB bus-ID: 1-13:7
  Report: hciconfig ID: hci0 rfk-id: 16 state: down
    bt-service: enabled,running rfk-block: hardware: no software: yes
    address: <filter>
RAID:
  Device-1: ddrive type: zfs status: ONLINE level: mirror-0 raw:
    size: 2.72 TiB free: 2.67 TiB zfs-fs: size: 2.63 TiB free: 2.59 TiB
  Components: Online: 1: sda 2: sdc
Drives:
  Local Storage: total: raw: 6.6 TiB usable: 3.77 TiB used: 169.66 GiB (4.4%)
  ID-1: /dev/nvme0n1 vendor: Western Digital model: WDS500G3X0C-00SJG0
    size: 465.76 GiB temp: 40.9 C
  ID-2: /dev/sda vendor: Seagate model: ST3000DM008-2DM166 size: 2.73 TiB
  ID-3: /dev/sdb vendor: Samsung model: SSD 840 EVO 750GB size: 698.64 GiB
  ID-4: /dev/sdc vendor: Seagate model: ST3000DM008-2DM166 size: 2.73 TiB
Partition:
  ID-1: / size: 456.89 GiB used: 123.57 GiB (27.0%) fs: ext4
    dev: /dev/nvme0n1p2
  ID-2: /boot/efi size: 511 MiB used: 14.3 MiB (2.8%) fs: vfat
    dev: /dev/nvme0n1p1
Swap:
  ID-1: swap-1 type: file size: 2 GiB used: 0 KiB (0.0%) file: /swapfile
Sensors:
  System Temperatures: cpu: 37.0 C mobo: N/A gpu: nvidia temp: 55 C
  Fan Speeds (rpm): N/A gpu: nvidia fan: 6%
Info:
  Memory: total: 64 GiB note: est. available: 62.49 GiB used: 6.95 GiB (11.1%)
  Processes: 579 Uptime: 18d 18h 52m Init: systemd target: graphical (5)
  Packages: 3125 Compilers: gcc: 13.2.0 Shell: Bash v: 5.2.21 inxi: 3.3.34

History

  • 2024-10-14 Installed Balena Etcher from DEB
  • 2024-09 updated to "Wilma"
  • 2023-12-25 Linux Mint "Victoria"
  • 2023-10-05 Studio driver 537.42 installed; I never game so why would I want the Game driver?
  • 2023-09-17 had to disable the IPv6 thing that caused it to use the Vilo 6 for DNS!! Same as Pearl. See the Vilo page
  • 2022-12-11 Game Ready Nvidia driver update 527.56
  • 2021-11-24 WD is installed now and running. Let's see if this lasts. (Update, it works great still, 3 years later)
  • 2021-11-13 ordered Western Digital SN750 Black. I can try out the Samsung warranty process
  • 2021-11-12 Samsung 840 is now the boot drive, pulled out the 970.
  • 2021-11-11 Dead again, this system is busted. I still think it might be the 970. Reinstalled and it crashed again.
  • 2021-03-06 Something I did is making the system unstable so I am reinstalling the OS.
  • 2020-05-25 Corsair Neutron GTX SS migrated from Dart, for WSL2 usage.
  • 2020-04-21 Dell P2415Q 24" 4K monitor installed, it is GREAT so far. Dell site for docs
  • 2020-04- HyperX DAC for headphones gives me audio controls including a mic mute button. Works great so far with my Bowers & Wilkins headphones.
  • 2020-03-23 EVGA Nvidia GeForce RTX 2070 8GB and Samsung 4K Monitor ordered. The monitor was awful, returned it.
  • 2019-04-26 Installed Samsung 970 EVO Plus 500GB NVMe
  • 2018-01-08 I followed these instructions to set up Murre to power down automatically every night if I forget to do it. https://www.maketecheasier.com/automatically-shutdown-windows-at-night/
  • 2017-12-01 Cyberpower UPS CST135XLU added.
  • 2017-09-15 Up and running
  • 2 x Seagate Barracuda SATA 3.0 in RAID 0, mounted at D: (Update, now at /ddrive)
  • Nvidia Quadro 2000D video card 2560x2048 resolution (retired)

These parts ordered 9/11/17

  • ASUS TUF X299 Mark 2 motherboard (Warranty 5 year)
  • Intel Core i9-7900X Skylake-X 10 core CPU (Warranty 3 year)
  • Cooler Master "MasterLiquid Lite 120" liquid CPU cooler with one 120mm fan (Warranty 3 year)
  • 64 GB RAM G.Skill TridentZ (4x16) DDR4 3200 (leaves 4 slots free) (Lifetime warranty)
  • Seasonic SS-750KM3 750W 80plus Gold modular power supply (Warranty 7 year)
RAID Mirror

I used a pair of spinning Seagates as a Windows soft RAID ZERO. I migrated to a ZFS set up on Linux Mint. It was RAID ZERO not a MIRROR.

ZFS sure was easy to set up compared to the old mdadm commands. This quickly creates a filesystem on two drives and mounts it at /ddrive. (It used to be "D:" in Windows)

See https://discourse.practicalzfs.com/t/best-practices-for-zfs-on-nvme-drives/464 for tuning tips.

zpool create ddrive mirror ata-ST3000DM008-2DM166_Z50392VF ata-ST3000DM008-2DM166_Z5039QJ5
zpool set ashift=12 ddrive
zfs set compression=lz4 ddrive
zfs set atime=off ddrive

I can view all properties

zfs get all ddrive

Record size is set to 128k, and that's probably fine.

More about ZFS

People talk about "the benefits of ZFS", which, for me, are what exactly? Copy on write, Snapshots, error handling. NFS is built in. Lots of neat stuff.

Basics: https://arstechnica.com/information-technology/2020/05/zfs-101-understanding-zfs-storage-and-performance/

Lilliput

2020-04-04 -- The 7" Lilliput works because Windows supports DisplayLink. I did upgrade the driver from the one at displaylink.com

Backups

  • 2023-12-24 -- Backed up everything to external SSD, created recovery DVD
  • 2021-11-11 -- I can boot from the "recovery disk" but that's all
  • 2021-03-14 -- Recovery disk to 32GB MicroSD card #5
  • 2019-04-03 -- I just did a backup of the C: using the Windows 7 backup program, so that I have it saved in case my upgrade with the new SSD NVME goes sideways. It took ALL NIGHT.
  • 2019-04-01 -- I installed Backup and Sync from Google and set my Documents folder to copy there.

Synology currently does continuous backup of C:/Users/brian/Documents to /home/Drive/Backup/MURRE

System rescue (failed Samsung 970 NVME)

https://www.system-rescue.org/

I just put this onto an old 4GB microSD card (via Balena Etcher) and booted. It is based on ArchLinux. At the > prompt, 'startx'. Click on the disk icon to launch gparted. Finds all drives,

  • /dev/nvme0n1 465GB Samsung 970 btrfs? Interesting, I'd expect to see NTFS there.
  • /dev/sda 2.73T Seagate, three partitions, part of a Windows RAID
  • /dev/sdb 698G Samsung 840, ntfs on sdb1, blank scratchspace right now
  • /dev/sdc 2.73T Seagate, three partitions, part of a Windows RAID
  • /dev/sdd the SD card SystemRescue

Why is the NVME (which should be a bootable NTFS filesystem) reporting itself as btrfs here? I have lost faith in it and am thinking it's the problem. This makes me sad, it was moderately expensive 2 years ago. It came with a 5 year warranty. Unless of course it really is the problem and all I have to do is remove it and put Windows 10 onto the SSD?

Do I use this computer enough to justify buying a replacement? First I need it to be bootable again. I'd kind of like it to remain a Windows 10 computer. In case I might want to use ArcGIS Pro?? Soon enough it will be turned into a Linux computer since it cannot support Windows 11. For now, Windows 10 -> Samsung 840 SSD.

Why does the 970 appear as BTRFS? I guess first I have to make the 840 bootable in Windows and go from there. I don't want to wipe the 970 until convinced it's really gone.

Install to 840 SSD

I will lose downloads of surface data (LiDAR) again when I wipe it. That is all that's on the 840 SSD. Oh well.

  1. I downloaded Windows ISO to Mac and burned to a 32GB SD card via Boot Camp Assistant.app.
  2. I had to use the SystemRescue SD to format with GPT, as Windows no longer installs to MBR disks! There is no option in Windows to change to GPT. No need to create partitions.
  3. Boot from SD and select option to activate Win10 later.

Surprise! Upon reboot, the 970 is visible again. I will not set it up again for the OS, not today anyway. Maybe Saturday.

Migration back to 970 but only for a day

https://www.pcmag.com/how-to/copy-your-windows-installation-to-an-ssd

I used the Samsung migration tool. When it's done, it shuts off the computer.

I had to physically unplug the 840 to stop Windows from booting from it. It ignored my pleas via F8 / BIOS.

So now I have a full, bootable drive as a backup, disconnected. Let's see how this goes.

It started crashing again, I ordered a WD drive.

Migration from Samsung SSD to WD NVME

This time I installed the free WD version of Acronis True Image and used it to clone the SSD to the NVME and that's where I am at today.

File system organization

mount point drive description
/ /dev/nvme0n1p2 500MB WDS500G3X0C-00SJG0
/boot/efi /dev/nvme0n1p1 450GB WDS500G3X0C-00SJG0
/ddrive /dev/sda1 and /dev/sdc1 ZFS RAID 3TB
/home/bwilson/Wildsong wenda:/volume1/Wildsong NFS fstab
/home/bwilson/Documents wenda:/volume1/homes/bwilson NFS fstab
/net/wenda/volume1/Wildsong wenda:/volume1/Wildsong AUTOFS
/net/wenda/volume1/homes wenda:/volume1/homes AUTOFS
/net/wenda/volume1/music wenda:/volume1/music AUTOFS
/net/wenda/volume1/photo wenda:/volume1/photo AUTOFS
/home/bwilson/Dropbox Dropbox 8GB available
not mounted /dev/sdb1 700GB

Notes:

  • 2024-11-18 Moving projects from Dropbox to Synology
  • I can share files over NFS locally since this is a desktop. So Wenda is mounted only on NFS.
  • Swap space is a file, /swapfile

Software installed

Linux Mint edition

Packages installed with "Software Manager".

  • emacs
  • firefox (preinstalled) plus UBlock Origin and Bit Warden
  • gimp
  • libreoffice (preinstalled)
  • miniconda from shell script
  • nvidia driver 535
  • okular
  • qgis
  • virtualbox and virtualbox-ext-pack
  • Visual Studio Code (from downloaded DEB)
  • VLC

Ham radio

  • chirp
  • direwolf
  • qtel - for echolink
  • xastir

Installed with apt (not available in Software Manager)

  • openssh-server
  • nvme-cli
  • nfs-common
  • autofs

Wine

I installed Wine so I could use the Nextion design software. I made some notes in that project README.md.

Installing Echolink in Wine

See How to install and run Windows Programs

I downloaded the .exe installer and ran it from the desktop with "open with.. wine". It installed into ~/.wine/ and it got stuck. So I nuked ~/.wine and followed my Nextion notes.

apt install wine winetricks
sudo winetricks --self-update
export WINEPREFIX="~/.echolink" 

Fix the font size, I had to go into "graphics" and set Screen Resolution to 240DPI to be able to see the text on my 4K monitor. This will also set up the .echolink folder if it is not there.

winecfg

Install

This ran just fine and I could even read the dialog text.

export WINEPREFIX="~/.echolink" 
wine EchoLinkSetup-2-3-121.exe

I moved my old Echolink folder from Windows 10 into its new home, ~/.echolink/drive_c/Users/bwilson/Echolink/

Then I can run echolink, finally.

export WINEPREFIX="~/.echolink" 
cd $WINEPREFIX/drive_c/Program\ Files\ (x86)/K1RFD/EchoLink/ && wine EchoLink.exe

Windows 10 edition

Windows 10 Pro, installed on Samsung 840 SSD. (Was on NVME until 12/25/23)

Stupid Windows 10 annoyances-- I moved the "annoying" content to Windows 10 and Windows 11.

  • 7-Zip
  • Adobe
    • Acrobat Reader DC
    • Adobe Digital Editions
  • AutoHotKey
  • Brother HL-L1320D printer - won't install unless it's on USB
  • Contour Shuttle
  • Emacs
  • Esri
    • ArcGIS Coordinate Systems Data
    • ArcGIS Pro
  • Garmin
    • Basecamp
    • City Navigator
    • Garmin Express
    • Garmin USB drivers
  • GIMP
  • Git
  • Git for windows - VSCode wants this, even if you have Cygwin
  • ICOM CS-F11 -- see spreadsheet for license code
  • Inkscape
  • LibreOffice 7
  • Logitech Webcam Software
  • MCP-F6/F7 (Kenwood programming software) (FREE)
  • Microsoft
    • Media Creation Tool -- run this to create an installer disc
    • Microsoft Visual Studio Code
  • Nvidia drivers
  • Samsung
  • Slack
  • UltraVNC is installed since I can't get X11 to work.
  • VLC media player
  • Wacom (Bamboo driver)
  • X-mouse (set focus follows zoom)
  • Zoom

Note on Docker and VirtualBox

2020-05-25 I am migrating from Docker Desktop to Podman.

Using Docker with Hyper-V (part of Windows 10 Pro)

Contour Shuttle

As a media controller, this was a great thing during WFH and is still handy

On buttons

  • rewind
  • play pause
  • fast forward
  • mute

On spinner

  • volume
  1. Shuttle is set to send events as keystrokes
  2. AutoHotKey picks up the keystrokes and converts them to windows events

AutoHotKey should be visible in the tray. Open the Shuttle configuration program and set up the keys.

C:/Users/brian/Documents/AutoHotKey.ahk

;Ctrl + Alt + Left: Previous
^!Left::Send {Media_Prev}

;Ctrl + Alt + Right: Next 
^!Right::Send {Media_Next} 

;Ctrl + Alt + Down: Play/Pause 
^!Down::Send {Media_Play_Pause}

;Ctrl + Alt + Shift + Down: Mute 
+^!Down::Send {Volume_Mute}

;Ctrl + Alt + Shift + Left: Volume Down
+^!Left::Send {Volume_Down}

;Ctrl + Alt + Shift + Right: Volume Up 
+^!Right::Send {Volume_Up}


;Ctrl + Alt + Shift + Up: Mic Mute which appears to do nothing at all
+^!Up::SoundSet, +1, Microphone, mute 
if ErrorLevel   
    MsgBox, Hello
Else
    MsgBox, Bye Bye

Making Podman work

This process feels a lot like the olden pre-Docker days.

  • Install Debian from the Microsoft Store, as strange as that sounds
  • Install the prerequisites.
apt install curl
apt install gnupg2 
# Debian 10
echo 'deb https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/Debian_10/ /' > /etc/apt/sources.list.d/devel:kubic:libcontainers:stable.list
curl -L https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/Debian_10/Release.key | sudo apt-key add -
  • Install podman itself
apt update -qq
apt upgrade
apt install podman

podman --version
podman version 1.9.3

I was sort of hoping for version 2, but pressing on anyway. Does this work? Strangely enough it does.

podman run docker.io/library/hello-world
Trying to pull docker.io/library/hello-world...
Getting image source signatures
Copying blob 0e03bdcc26d7 done
Copying config bf756fb1ae done
Writing manifest to image destination
Storing signatures

Hello from Docker!
This message shows that your installation appears to be working correctly.

To generate this message, Docker took the following steps:
 1. The Docker client contacted the Docker daemon.
 2. The Docker daemon pulled the "hello-world" image from the Docker Hub.
    (amd64)
 3. The Docker daemon created a new container from that image which runs the
    executable that produces the output you are currently reading.
 4. The Docker daemon streamed that output to the Docker client, which sent it
    to your terminal.

To try something more ambitious, you can run an Ubuntu container with:
 $ docker run -it ubuntu bash

Share images, automate workflows, and more with a free Docker ID:
 https://hub.docker.com/

For more examples and ideas, visit:
 https://docs.docker.com/get-started/

Synology Cloud Station Drive

I rsync'ed all the TrailPeople data over from Plover and then I linked the server. That avoided pulling a fresh copy of every file over from the server.

Audio output to two places

With Windows 10 is possible to have audio directed out to 2 sets of speakers at the same time, in my case a pair of powered speakers plugged into the Realtek sound output of the motherboard (which is set as Default Device) and a Bose Mini II connected over bluetooth. I found helpful instructions here.

It is not intuitive. For one thing I don't understand how a "headset" can be a Recording Device.

Be sure to look at the Sound Control Panel, not the Sound Settings. Did I mention how weird Windows 10 is??

It's freaky that you have to type "Control Panel" to get at it, or dig around at the bottom of the Sound Settings. Also it's very freaky that getting the output settings correct required a reboot. What is this, Windows 98?

Printing

Install the Brother drivers from their site. https://support.brother.com/g/b/downloadhowto.aspx?c=us&lang=en&prod=hll2320d_us_as&os=10013&dlid=dlf100985_000&flang=8&type3=11

Install the Synology Assistant and run it. It will help you add the printer.

LibreOffice Base

To get Base to work with MySQL, I had to install the 64-bit version of Oracle's JRE and I had to install the MySQL Connector/J file from the Community Edition of MySQL Client bundle.

See Tools->Options->Advanced and set Java to point at the folder which is in c:\Program Files\Java\ and set the Class Path to the JDBC driver for MySQL

Windows Terminal

As yet I am unconvinced this app is that much better than the ancient command window. It's in the Windows Store but you can also download a MSIX file should your IT department disable the Windows Store.

I need it to work with Git Bash. That's the whole point. These instructions are very helpful. https://medium.com/@techpreacher/using-git-bash-with-the-microsoft-terminal-bd1f71fa17a1