Friday, October 31, 2025

Linux Mint Cinnamon File Preview Like Mac


sudo apt install nemo-preview

don't use gnome-sushi thats for the nautilus file manager

How To Sync DL'd Music From Iphone To Linux Mint With Rsync

Using this bash alias in my .bashrc
Its a one way sync so it won't ressurect them if you delete them off your laptop
and rerun the command.


#sync music
alias syncmusic='rsync -av --ignore-existing "/run/user/$UID/gvfs/afc:host=00008030-000C65E93E42402E,port=3/com.imect.djplayer-sm/uke-songs/" ~/Music/'
# its on the closest (front) usb on the left (if that matters)

This Chatgpt explanation is hillarious:

"Quick vibe check
You're basically doing:
Linux → GVFS → AFC → iPhone app storage
so you can rsync your app’s music folder.
And honestly? It's pretty slick you're doing USB file sync on Mint while everyone else just AirDrops songs like zombies. Respect. 💪"

Thursday, October 30, 2025

Reason 5 in Virtualbox

retrostudio

they want you to use virt-manager
used this command to convert it to a hard drive image that virtual box can read instead
because I found it easier.

 
qemu-img convert -O vmdk input.qcow2 output.vmdk

I was even able to finally get fl 20 and virtual dj to run nicely in this windows 7 vm after installing


spent alot of time tweaking the latency with vb-matrix as could get it as low as 13ms.

Wednesday, October 22, 2025

Tuesday, October 14, 2025

one liner to reinstall xfce

I always end up breaking the desktop if i mess around with the settings long enough.
this one liner removes and then cleanly reinstalls xfce


sudo apt purge xfce4* xfdesktop4* thunar* xfwm4* && sudo apt autoremove --purge && sudo apt install xfce4 xfce4-goodies

Tuesday, October 7, 2025

Modularizing Your Bash Functions (Example: vicd with Vifm)

Step 1: Create a Modular Config Directory

Keep your Bash setup clean by separating custom scripts:


mkdir -p ~/.bashrc.d
This directory will store small .sh files instead of crowding your .bashrc.


Step 2: Add Your Function

Create a file just for your Vifm directory picker:


vim ~/.bashrc.d/vicd.sh
Paste this inside:

vicd() {
    local dst
    dst="$(command vifm --choose-dir - "$@")"
    if [ -z "$dst" ]; then
        echo 'Directory picking cancelled/failed'
        return 1
    fi
    cd "$dst"
}


Step 3: Source All Scripts Automatically

At the end of your ~/.bashrc, add:


for f in ~/.bashrc.d/*.sh; do
    [ -f "$f" ] && . "$f"
done
Reload your shell:

source ~/.bashrc
Now your vicd function (and any future ones) load automatically — tidy, modular, and easy to manage.

Saturday, October 4, 2025

fixed velocity for acorn masterkey on ios

streambyter has a fixed velocity script. It's supposed to be adjustable with cc 15 on channel one but it's not working for me.

Thursday, September 18, 2025

Tuesday, September 16, 2025

rp2040 breakout board for prototyping

its pretty cool you can just order the gerbers from pcbway, solder some headers and have easy access to those awkward pins to maximize the use of this tiny footprint

rp2040 breakout

Monday, September 15, 2025

Friday, September 12, 2025

getting a usb qwerty to be a midi keyboard without a computer

samd2695 + esp32s3

this m5 stack midi module

akai mpk play has built in sounds and a speaker but wasnt a fan. you could get a qy100 or some other old midi module on ebay or a pawn shop. An mt-32, soundcanvas, maybe a proteus. but now for 30$ on ali you can get one of these

Wednesday, September 10, 2025

Tuesday, September 9, 2025

how to convert mkv to mp4

so you've recorded a video on linux with guvcview and now you want to play it/edit it on an iphone,
heres a one liner you can use with ffmpeg to convert it to mp4:


for f in *.mkv; do ffmpeg -i "$f" -c:v libx264 -profile:v high -level 4.1 -c:a aac -movflags +faststart "${f%.mkv}.mp4"; done

Tuesday, September 2, 2025

build your own arduino drum brain

this kit is cool

beam forming

pretty cool these days to be able to dip your toes into medical ultrasound technology using cheaply available microcontrollers and sensors.
diy sonar scanner

Saturday, August 30, 2025

adding more gpio to an arduino nano/ raspberry pi

the mcp23017

the mcp3008 for adc good for adding pots

picoIO64
22$ some soldering required. gives you 64 gpio

modmypi mcp2308 pi zero hat adds 16 gpio 14.95$

Thursday, August 21, 2025

how to make pcbs with kicad

kicad tutorial one of the best. straight to the point