title: PC Applications
breadcrumbs:
- title: Configuration
- title: PC
---
{% include header.md %}
Fancontrol (Linux)
Warning: Don't use this. The fan controller IDs may change on every reboot which breaks the config.
Configure Sensors
- Install
lm-sensors
.
- Run
sensors-detect
.
- Answer with the default answers.
- At the end, allow it to add the modules to
/etc/modules
.
- Reload the
kmod
service to reload the modules.
Configure Fancontrol
- Install
fancontrol
.
- (Optional) Install
gnuplot
if you want pwmconfig
to generate graphical plots.
- Run
pwmconfig
.
- Use manual mode for when asked.
- Generate detailed correlations when asked.
- Set up the config file when asked (
/etc/fancontrol
).
- Decide which sensor each controller should depend on.
- Configure all fan controllers.
- Save and quit.
- Tweak the config:
- Open
/etc/fancontrol
.
- Round up all numbers, just to make it a little cleaner.
- Set
interval
to around 2 seconds.
- Restart the
fancontrol
service.
Firefox
Config
- (Linux) Disable middle mouse paste:
- Go to
about:config
.
- Set
middlemouse.paste
to false.
Git
Config
Nvidia Settings (Linux)
- To save, use the "save current configuration" button and save it to
/etc/X11/xorg.conf
.
Oh-My-ZSH (Linux)
- Install ZSH.
- Install Oh-My-ZSH:
- See: ohmyz.sh
- Install the Powerlevel9k theme:
- Run:
git clone https://github.com/bhilburn/powerlevel9k.git ~/.oh-my-zsh/custom/themes/powerlevel9k
- In
~/.zshrc
, set ZSH_THEME="powerlevel9k/powerlevel9k"
.
- Use the Hack font from Nerd Fonts:
- Install it if missing: https://github.com/ryanoasis/nerd-fonts/tree/master/patched-fonts/Hack
- Change your terminal's font to it.
- In
~/.zshrc
, set POWERLEVEL9K_MODE="nerdfont-complete"
.
- Configure
~/.zshrc
: See the example below.
- Make zprofile include profile:
- In
/etc/zprofile
, add: emulate sh -c "source /etc/profile"
- This prevents Snaps and other profile stuff from breaking.
Example zshrc.
Piper (Linux)
GUI for configuring gaming mice.
Setup
- Install the piper PPA.
- Install
piper
.
- Configure the mouse using the GUI.
PuTTY (Windows)
- In
Terminal > Features
, activate Disable application keypad mode
.
- In
Window > Appearance
, change font to Consolas, regular, size 10.
- In
Window > Colours
, set all ANSI non-bold colors to the same as the bold ones.
Speedfan (Windows)
- Warning: The controller symlinks likes to change on boot, meaning the config may break every boot. This makes it literally useless.
- Manually add startup shortcut.
- Disable
Do SMART Summary Error Log scan on startup
since it may cause the PC to freeze.
- Alternatively, use the CLI argument
/NOSMARTSCAN
.
- Set the PWM mode for fans which will be controlled by Speedfan to manual.
SSH
Usage
- New key (RSA):
ssh-keygen -t rsa -b 4096
Config
Steam (Linux)
- Windows appdata dir:
steamapps/compatdata/<some_id>/pfx/drive_c/users/steamuser/AppData/
Vim
Config
- Location:
- Global:
/etc/vim/vimrc
- User:
~/.vimrc
- Example.
VS Code
Setup
- Install it.
- (Linux) Increase the handle count limit:
- Ref.: "Visual Studio Code is unable to watch for file changes in this large workspace" (error ENOSPC).
- Get current limit:
cat /proc/sys/fs/inotify/max_user_watches
- In
/etc/sysctl.conf
, set fs.inotify.max_user_watches=524288
.
- Reload the config:
sysctl -p
Some Extensions
- GitLens (eamodio.gitlens)
- HTML CSS Support (ecmel.vscode-html-css)
Config
- Location:
- Linux:
~/.config/Code/User/settings.json
- Windows:
%APPDATA%\Code\User\settings.json
- Example.
{% include footer.md %}