Tips/Tricks/Configs
A few tricks and configurations improved my user experience.
Related
- Keyboard — see keyboard remapping with AutoHotkey, keyd, or Karabiner
Links
Linux
Received disconnect from x.x.x.x port 22:2: Too many authentication failuresIdentitiesOnly=yes
- Size of folder and files in a directory
du -h --max-depth=1 | sort -hr
- How to make active window visually stand out more in Ubuntu 18.04 Gnome 3
~/.config/gtk-3.0/gtk.csssetdecoration/decoration:backdropandheaderbar.titlebar/headerbar.titlebar:backdrop
- Tmux copy to clipboard
- Add
set -s copy-comand 'xclip -selection clipboard -i'in.tmux.conf(tmux 3.2 and later) - All of the following doesn't work but gave me some ideas:
- StackExchange, StackOverflow, Clipboard | Tmux Wiki
- Add
- PulseAudio/Examples | ArchWiki
- Problem I faced: plugin mic also changed the output device from earphones to mic output
- Solution: select an input only profile for the mic card
set-card-profile <card-name> <profile-name>(reference)
- A Guide to Customizing Your tmux conf
- Changing the prefix key, split commands, pane navigation, etc.
Windows
- Pinout "Sound" to Windows Taskbar
- Windows search configuration
— remove folders like
node_modulesin the list of search locations to speed up searches - Start specific Chrome user profile
— specify
--profile-directory=Default - Filesystems in Windows and WSL
- Path to WSL in Windows:
\\wsl.localhost\Ubuntu-20.04 - Path to Windows in WSL:
/mnt/c/.
- Path to WSL in Windows:
Mac
- Mac specific shortcuts
Cmd + Shift + 3: capture full-screenCmd + Shift + 4: capture portion of screenCmd + Shift + 4 + Space: capture a windowCmd + Shift + 5: capture with the screenshot appCmd + ?: open help menu and search the menu barCmd + Space: spotlightCmd + Option + q: lock the screen- Read more on Mac keyboard shortcuts and Take a screenshot on Mac
A list of all shortcuts symbols using the Option key, e.g. Option + 2 = ™
- This is based on the English US keyboard.
Option + Shift + kis the Apple logo, but I am not able display it here- For the accent key, first press the accent then type the letter. E.g.
ãisOption + nthena
| key | Option + key | Option + Shift + key |
|---|---|---|
| 1 | ¡ | ⁄ |
| 2 | ™ | € |
| 3 | £ | ‹ |
| 4 | ¢ | › |
| 5 | ∞ | fi |
| 6 | § | fl |
| 7 | ¶ | ‡ |
| 8 | • | ° |
| 9 | ª | · |
| 0 | º | ‚ |
| a | å | Å |
| b | ∫ | ı |
| c | ç | Ç |
| d | ∂ | Î |
| e | ´ (accent) | ´ |
| f | ƒ | Ï |
| g | © | ˝ |
| h | ˙ | Ó |
| i | ˆ (accent) | ˆ |
| j | ∆ | Ô |
| k | ˚ | (Apple icon) |
| l | ¬ | Ò |
| m | µ | Â |
| n | ˜ (accent) | ˜ |
| o | ø | Ø |
| p | π | ∏ |
| q | œ | Œ |
| r | ® | ‰ |
| s | ß | Í |
| t | † | ˇ |
| u | ¨ (accent) | ¨ |
| v | √ | ◊ |
| w | ∑ | „ |
| x | ≈ | ˛ |
| z | Ω | ¸ |
| y | ¥ | Á |
| ` | ` (accent) | ` |
| - | – | — |
| = | ≠ | ± |
| [ | “ | ” |
| ] | ‘ | ’ |
| \ | « | » |
| ; | … | Ú |
| ' | æ | Æ |
| , | ≤ | ¯ |
| . | ≥ | ˘ |
| / | ÷ | ¿ |