Sunday, July 1, 2018

New Linux Mint + Xfce install

I got a new laptop. A 12 inch Lenovo Thinkpad x240. Specs? i7, 256 ssd, 8gb ram.  It was used off eBay but it is pretty spotless. I love these machines, the build quality is so nice. I recently even discovered that all X and T series are mil-spec. Perfect size and durability for my upcoming travels. All this was $180+$20 shipping. I don't think there is really anything that is comparable (12 inch ultrabook) at a similar price point in the market today. You can't compare those cheap plastic Acers to this. The major downside is the screen as it is 768p. However, I've already ordered a new FHD screen replacement for $84.

I just did a complete OS install and I kept track of most of what I did.

Install OS

Linux Mint 18.3 "Sarah" + Xfce. Downloaded from main page, used USB Image Writer from another Linux install to create a bootable USB drive.

disable Touchpoint - I don't use it at all.
Touchpad disable when typing.


install zsh:  sudo apt-get install zsh
install oh my zsh: run curl command in

create new .zshrc
export JAVA_HOME=/usr/local/android-studio/jre/
export PATH="$JAVA_HOME/bin/:$PATH"
export VISUAL=vim.tiny

Setup the hosts file:
# alias my git server raspberrypi

#   block some sites that I waste time on such as

# Take the hosts file from this url and append it to the bottom. This blocks a lot of mal/tracking sites

install chrome and login. Install various chrome plugins like LastPass.

install git
create sandbox directory,
   clone what you need...
   git clone git@raspberrypi:/home/git/custom-morning-journal.git

Configure git:
git config --global
git config --global
git config --global push.default simple

sudo chown username:username -R /usr/local

install sublime text 3
(follow the commands there but sometimes the version isn't the latest so go to the main page and use the latest version)

install PackageControl
install Material Theme (and add recommended settings)

"always_show_minimap_viewport": true,
"auto_complete_selector": "source, text",
"auto_match_enabled": false,
"bold_folder_labels": true,
"color_scheme": "Packages/Material Theme/schemes/Material-Theme-Darker.tmTheme",
"font_face": "Fira Code",
"font_size": 9,
"line_padding_bottom": 3,
"line_padding_top": 3,
"margin": 0,
"overlay_scroll_bars": "enabled",
"tab_size": 2,
"theme": "Material-Theme-Darker.sublime-theme",
"translate_tabs_to_spaces": true,
"update_check": false

Other SublimeText packages to install

Package Control
HTML-CSS-JS Prettify

requires node js:


// SublimeLinter Settings - User
   "paths": {
        "linux": [ "/usr/local/node_modules/jshint/bin/"],
        "osx": [],
        "windows": []

Install Android Studio. Don't forget to bump up the xmx

Install java jdk 8

SSD compatibility. Run through steps in:

Xfce Theme
Manually build.
Once built go to these menus to set to the correct theme
Window manager
Lightdm greeter settings

Xfce config:
install docky for xfce
Set to autohide, use glass appearance
Add Chrome, Sublime, Thunar to dock.

install sensors plugin: xfce4-sensors-plugin
install network monitor plugin: xfce-netload-plugin


Install dropbox, fix icon:
go to sesson and startup through menu and delete existing dropbox startup option.
Create a new startup option with command:

dbus-launch dropbox start

Google Pinyin


From Input Method menu install Traditional Chinese
Then add Google Pinyin in Fctix Configuration menu.

Its a lot of work to get everything installed but a lot of fun. And as I use it for my main laptop I'm sure I'll find so many apps and settings that I'm forgetting.

Here's the result so far: