Customizing a new Linux Mint setup
So it finally happened. After years of usage I managed to f**k up my linux boot. I suspect the HDD was about to give up because I had seen it coming, but still it was a surprise.
Anyway, here are my notes after reinstalling Linux Mint 19.2.
Keyboard
I am accustomed to a keyboard setup that was introduced in Visual C++ in the 90’s, and I just can’t re-learn this!
Also, I want faster reps. This you can do with the standard keyboard setup dialog. It’s delicate to setup, but approx about 10% on repeat delay, and 85% for repeat speed.
Copy/Paste
I want to use the numeric keyboard for moving the cursor and selecting text. Also I use the Ctrl-Ins/Shift-Ins and Shift-Del combinations to cut and paste.
In Keyboard- Layouts there is an “Options…” button below right. Click that one and select “Miscellaneous compatibility options” and then click the “Numlock on: digits; Shift for arrow keys. Numlock off: arrow keys (as in Windows) checkbox. Thats it!
LastPass
Set up lastpass, period!
Firefox
Also check out Brave browser!
And in Firefox, I want the whole URL to be selected when I click the address bar!
https://www.askvg.com/hack-single-click-select-all-feature-in-mozilla-firefox-addressbar/
basically you go into about:config and reverse the settings of
browser.urlbar.clickSelectsAll
browser.urlbar.doubleClickSelectsAll
Install nvm (node version manager)
Install rvm (Ruby version manager)
https://rvm.io/rvm/install
Also see https://github.com/rvm/ubuntu_rvm
Install pyenv (Python version manager)
Prerequisites
sudo apt-get install -y build-essential libssl-dev zlib1g-dev libbz2-dev \ libreadline-dev libsqlite3-dev wget curl llvm libncurses5-dev libncursesw5-dev \ xz-utils tk-dev libffi-dev liblzma-dev python-openssl git
Fixing the Terminal
Set preferences-command-run command as login shell
Necessary for rvm to work!
Evernote
IntelliJ
IntelliJ needs Gradle, Auto Import and key configuring (Ctrl-Home and such)
Git
Stop you from going insane:
git config –global credential.helper store
File system watchers
See https://confluence.jetbrains.com/display/IDEADEV/Inotify+Watches+Limit
sudo nano /etc/sysctl.conf fs.inotify.max_user_watches = 524288 sudo sysctl -p --system