Some random troubleshooting issues I've run into + a bunch of mini configurations I use on my main system (windows user by force </3)
My username on windows has been `isabe` (real name basically exposed now :0) for the LONGEST time and it finally irked me enough to change it. Long story short microsoft made it so you needed admin privs to change a username but the button just went "contact admin" without the lil elevated privs icon like bro I AM admin but I digress. I ended up changing it with netplwiz so easy 3 steps:
Installed tools:
.bashrc changes:
alias la='ls -la'
alias path='echo -e ${PATH//:/\\n}'
export SCHOOL=/mnt/c/Users/my-notes-dir-goes-here
export CODE=/mnt/c/Users/my-coding-projects-dir-goes-here
Yeah I basically obliterated my install (don't ask how) so here's what to do if you rm the local bin file destroy your symlinks etc etc
sudo apt remove neovim
sudo apt autoremove
sudo apt install neovim
sudo ln -s /usr/bin/nvim /usr/local/bin/nvim
This is how I set up sshs on WSL debian
1. Grab executable ->`curl -LO https://github.com/quantumsheep/sshs/releases/download/4.4.1/sshs-linux-amd64`
and `chmod +x`
.ssh/config
file and add your own hosts + IPs
Host "host1"
HostName 192.168.x.x
User me
Port 29382
Host "host2"
HostName 192.168.x.x
User also_me
Port 12314
sudo cp sshs-linux-amd64 /usr/local/bin/sshs
rm sshs-linux-amd64
Moral of the story give microsoft all your data to avoid minor inconveniences or spend the rest of your life searching for obscure tutorials on how to fix a myriad of tiny problems like I do every day!
Anyways it's easy with tzutil (if I remember right you need a shell with elevated privs)
tzutil /l
tzutil /s "Central Standard Time"
Unfortunately gnome installs a TON of random shit (I'm usually not that bothered by bloat, but it's actually astounding) so this won't remove everything, but it will get rid of the most important parts
Removing Gnome
sudo apt remove --purge gnome-shell gnome-session gnome-control-center
sudo apt autoremove
Installing KDE
sudo apt install kde-desktop
Reboot and you should get an SDDM login to indicate it worked
I don't even wanna talk about how many times I've had to do this. Warning it does require wiping the drive. No USBs were harmed (mostly) in the making of this tutorial <3
Start with a cmd admin instance (run and ctrl shift enter for a shortcut)
diskpart
list disk
// # is the disk number of the usb that you find in the list
select disk #
// wipe it
clean
exit
After this go to disk management > right click on the volume > assign simple volume > I usually keep defaults for setup
P.S. this list will probably be updated frequently (I run into issues every single day; case and point 4 hours of VM troubleshooting today alone and I've literally been using VMs for years)
november 2024