keyboard freeze

Another potential fix to my keyboard freezing problem on Linux Mint 22.1 after going to sleep. Edit Grub. sudo vi /etc/default/grub Add i8042.dubkdbd=1 to the GRUB_CMDLINE_LINUX_DEFAULT. GRUB_CMDLINE_LINUX_DEFAULT="usbcore.autosuspend=-1 quiet splash i8042.dumbkbd=1" Update Grub and reboot. sudo update-grub reboot Hopefully that fixes it.

February 7, 2026 · 1 min · ulysses

usb commands

Here’s a couple of USB command line tools if you having issues with your USB peripherals. lsusb xinput I have issues with my keyboard and this helps.

January 29, 2026 · 1 min · ulysses

disable usb autosuspend

I use a single keyboard between 2 computer systems (MacOS and Linux). I disconnect my USB keyboard on one system and plug it to another whenever I switch computers. When my keyboard is disconnected from Linux for a very long time, the system no longer recognizes the keyboard when I plugged it back in unless I reboot the system. After a little bit of a research, I found a potential solution to the issue. Essentially the fix is to disable the USB autosuspend option which will need to be added to grub. ...

January 27, 2026 · 1 min · ulysses

tmux controls

tmux controls | leader key | ` | | switching windows | | move to left window | shift + left arrow | | move to right window | shift + right arrow | | swapping windows | | swap windows to left | ctrl + shift + left | | swap window to right | ctrl + shift + right | | switching panes | | move to next pane | leader o | | move between panes | leader left, leader right, leader up or leader down | | delete pane | leader x | | sync & unsync panes | | sync & unsync panes | leader y | | convert pane into window | leader ! | | reload configuration | | reload tmux config | leader r |

January 25, 2026 · 1 min · ulysses

terminal configuration

The last year or so, I have been using different tools on my terminal. It started with the oh-my-posh prompt, then I switched to using tmux. Now I’m messing around with lazyVim editor which is a tweak of neovim. So, here’s my configuration so far. Tool Program Terminal Tmux Prompt Oh My Posh Editor Neovim (LazyVim) I still use VSCode, but it’s less and less. LazyVim still has many plugins to explore. ...

January 19, 2026 · 1 min · ulysses

comment multiple lines

How to comment multiple lines in nvim. Go to the first line you want to start to comment. Place cursor at the beginning. Enter Visual Block mode by pressing Ctrl+v. Use arrow keys or j to select multiple lines. Shift+I to enter insert mode. Choose a character (#) to use. Esc to comment multiple lines. Ctrl+v Use cursor or j Shift+I # Esc To uncomment Place cursor on the first comment. Enter Visual Block or Ctrl+v. Select columns using cursor or j,k. Press x or d to delete on selected lines. Ctrl+v Use cursor or j x or d

January 18, 2026 · 1 min · ulysses

copy paste nvim

How to copy and paste in vim or nvim. Let’s say you have 10 rows of code that you want to copy somewhere else like at the bottom of your code. Press Esc to enter Normal mode. Move the cursor to the first line. Enter Visual Line mode. Shift+V. Move cursor or letter j or k. Press y to yank the selected lines. Move the cursor to your target location. Press p to paste after the current line. Or P to paste before the current line. Esc Move cursor Shift+V Move cursor y Move cursor p or P u If you want to undo, press u.

January 18, 2026 · 1 min · ulysses

run node anywhere

Run your node script from anywhere by switching to a specific directory by changing to a working directory. Place this code at the top of your node script. #!/usr/bin/env node process.chdir('/absolute/path/to/your/directory'); console.log('Now running in:', process.cwd()); In addition, you can also add your node directory to your PATH so you can run it anywhere. export PATH=$PATH:/absolute/path/to/your/directory If you want it to be more permanent, add the export command to your ~/.bashrc in Linux or ~/.zshrc on a Mac.

January 18, 2026 · 1 min · ulysses

feeding the starter

Feeding the sourdough starter (the beast). Take out 80% of the starter and throw it away or use it on other breads. Add 50 grams of flour to the starter. Add 50 grams of filtered water to the starter. Mix it thoroughly for 30 seconds or so. Place in the fridge until the next feeding or use. Feed your starter at least once a week.

January 11, 2026 · 1 min · ulysses

sourdough bread

Beginner’s Sourdough Ingredients 50g of bubbly active starter 350g of filtered water 500g of unbleached all-purpose flour 10g fine salt (1) Make the dough. We’re going to use a mixer to mix our dough. Add flour to the mixing bowl. Add water to the mixing bowl. Set mixer to level 2 and mix for 2 minutes. After mix, let it rest for 30 minutes. Add salt to the mix. Add starter to the mix. ...

January 11, 2026 · 3 min · ulysses