Skip to content

Files

Latest commit

author
Dongxu Miao
Mar 20, 2019
8ea5f5f · Mar 20, 2019

History

History
86 lines (50 loc) · 2.72 KB

ubuntu.md

File metadata and controls

86 lines (50 loc) · 2.72 KB

Change rm behavior

Put below into .profile

alias rm="echo Try Use 'mv' to specific paths, or the full path i.e. '/bin/rm'"

List of what have changed after a fresh install

ssh

sudo apt-get install openssh-server
sudo ps -e | grep ssh
sudo service ssh start

util

Set oh-my-zsh theme to random by change ~/.zshrc file with ZSH_THEME="random", since I have not found the better one to use.

su

$ sudo passwd to set the su password

subl Chinese support

sublime-imfix

As in another blog, we can just set a new subl (After copy .so int /opt/sublime_text):

$ sudo vi /usr/bin/subl_cn

## copy these into subl_cn:
LD_PRELOAD=/opt/sublime_text/libsublime-imfix.so /opt/sublime_text/sublime_text

$ sudo chmod +x subl_cn

And then, we can just use sub_cn to launch sublime with chinese support.

tmux

sudo apt-get install tmux

Want to find a multi screen, found screen and tmux, I don't think it's so good.

terminator

sudo apt-get install terminator

Ugly, but what I want. ->

Customerize it, right click -> preference -> Profiles -> Colors -> Build-in schemes -> choose 'WHAT_YOU_LIKE'

f.lux

the linux verison

rabbitvcs

The alternative tool of tortoisegit in windows for linux

When only need to install the rabbitvcs-nautilus and rabbitvcs-cli (others are also doing no harm), installation instructions can be found at official website

Virtual console

The virtual console of ubuntu (Ctrl+Alt+F(1-6), note, F7 is GUI windows and F8-12 will bring black window to us) seems not bad, a nice way to separate different console windows apart.

But the default console font is rather annoying, after some tweaking, we finally choose UTF-8 -> Cuess optimal character set -> TerminusBold -> 11x22(framebuffer only) after sudo dpkg-reconfigure console-setup. The font is acceptable.

Refer to how-do-i-increase-the-text-size-of-the-text-on-a-console for some in-depth discussion.