My gear

This page is all about tech stuff that I own, fixing common problems in them, and if you should avoid any of them in case you're considering purchasing one of these. Unless otherwise mentioned, you can assume that I approve of the stuff on this page.

Computers

My current work / hobby setup include a Lenovo Thinkpad T14 AMD from work and a Lenovo X230 that I bought off ebay-kleinanzeigen (a local ebay for private sales in Germany), both 16 gigs of RAM and 256 gigs of storage (The T14 is a much powerful with a 6 core AMD Ryzen Pro 5 cpu, full HD screen and NVMe SSD, but practically they're not very different). Both run Manjaro linux with KDE Plasma these days.

In the past, I owned a Fujitsu Lifebook A514 and a Lenovo Thinkpad T440. My work computer was a 2017 Macbook Pro.

Displays

I have my work monitor, a Dell U2719D 27in 1440p IPS display and another monitor that I bought myself, a Dell P2419H 24in 1080p IPS display. I hardly use my X230 with my monitors, primarily because to use both the displays, I have to use the docking station.

Keyboard and mouse

I absolutely love Thinkpad keyboards and the trackpoint, but I think while at home I prefer my external keyboard and mouse. The keyboard is an IKBC MF108 mechanical keyboard with blue switches and the mouse is Logitech G305 budget gaming mouse. Both sit on my CSL Titanwolf desk mat which I got just to copy all the r/battlestation posts on reddit.

Sound and music

I bought a Tribit Maxboom bluetooth speaker shortly after coming to Germany. That's still my primary music source. For video calls and outdoors, I have cheap in ears called piston fit from a company called 1more.

Storage and backup

I got myself a WD Elements 5 TB hard drive for backing up files. I also have a 500GB spinning disk hard drive from my first laptop from 2015 and the 120 GB Transcend SSD that I bought along with the laptop, both in their own enclosures. I might install Windows 10 on the 120GB SSD and use it to play games, and keep the 500 GB one for automated computer backups.

Misc

If you are looking for a nice watch, do give Casio F-91W a thought. Really love it! My primary way of reading has been on screens, either my phone or the Kindle. It certainly is a more useful gift that I've received.

Technical documentation (T14)

Restart plasma if screen gets all messed up, store it as a alias

  kquitapp5 plasmashell && kstart5 plasmashell &

Set charge threshhold in /etc/tlp.conf in START_CHARGE_THRESH_BAT0 and STOP_CHARGE_THRESH_BAT0

set 1080p resolution in kali https://unix.stackexchange.com/questions/227876/how-to-set-custom-resolution-using-xrandr-when-the-resolution-is-not-available-i

Technical documentation (x230)

Logitech g305 mouse buttons bind to workspace shift right and left

First install xdotool

  # in .xbindkeysrc
  "xdotool set_desktop --relative -- -1"
  b:9

  "xdotool set_desktop --relative 1"
    b:8

Bind thinkvantage to gnome-terminal

gnome-terminal --window-with-profile=default

Bind thinkvantage key to

Technical documentation (T440, now sold, but kept here for anyone else's reference)

General notes on how to get up and running with my favourite tools real quick. Also documented here are the common issues that I've faced and their mitigations. Current setup is Thinkpad T440 running Arch and i3

Unresponsive touchpad after resuming from sleep

Create a new file in /lib/systemd/system-sleep/trackpad-restart.sh and add the following to it. Make the file executable. It will run after each resume from suspend.

#!/bin/bash

modprobe -r psmouse
modprobe psmouse

Sound and brightness function keys

Install xbindkeys, create ~/.xbindkeysrc and do a $ xbindkeys -d > ~/.xbindkeysrc. Also put the following four lines in there.


# Increase volume
"pactl set-sink-volume @DEFAULT_SINK@ +1000"
   XF86AudioRaiseVolume

# Decrease volume
"pactl set-sink-volume @DEFAULT_SINK@ -1000"
   XF86AudioLowerVolume

# Mute volume
"pactl set-sink-mute @DEFAULT_SINK@ toggle"
   XF86AudioMute

# Increase backlight
"light -A 2"
   XF86MonBrightnessUp

# Decrease backlight
"light -U 2"
   XF86MonBrightnessDown

Sync all terminal histories together

https://unix.stackexchange.com/questions/1288/preserve-bash-history-in-multiple-terminal-windows

Bash aliases

alias gits="git status"
alias gitch="git checkout"
alias gitco="git commit -m"
alias gita="git add"
alias gitaa="git add ."
alias gitph="git push"
alias gitpl="git pull"
alias gitpho="git push origin"
alias gitplo="git pull origin"
alias gitcp="git cherry-pick"
alias bejs="bundle exec jekyll serve"
alias bex="bundle exec"
alias ls="exa"
alias venv="source ./venv/bin/activate"

Technical documentation (Fujitsu A514)

Misty touchpad issue arch

Set the following boot parameter: i8042.noloop i8042.nomux i8042.nopnp i8042.reset

Redshift

Install redshift (comes with redshift-gtk). Enable redshift service and add redshift-gtk to ~/.xinitrc before dm startup. ~/.config/systemd/user/default.target.wants/redshift.service file to contain the following.

[Unit]
Description=Redshift display colour temperature adjustment
Documentation=http://jonls.dk/redshift/
After=display-manager.service

[Service]
ExecStart=/usr/bin/redshift -l 52.52:13.37
Environment=DISPLAY=:0
Restart=always

[Install]
WantedBy=default.target

The /etc/geoclue/geoclue.conf file to contain an additional section for redshift.

[redshift]
allowed=true
system=false
users=

KDEConnect

On android just install the app. On desktop, install kdeconnect, and indicator-kdeconnect (aur) package. Add indicator-kdeconnect & to ~/.xinitrc.

Getting wifi to work

Connect to lan and install wpa_supplicant. Use iw to search for wifi and then add in wpa_supplicant config the wifi username and password. This page has everything needed to get up and running with wireless: https://wiki.archlinux.org/index.php/Wireless_network_configuration#WPA2_Personal. Install networkmanager, enable and start networkmanager service. Install nm-applet and add nm-applet & to ~/.xinitrc.

Get git and other autocomplete

Install bash-autocomplete