Windows10+Ubuntu雙系統安裝

ubuntu_agnoster_install

sudo apt-get install zsh

sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"

# install powerline
git clone https://github.com/powerline/fonts.git --depth=1
cd fonts
./install.sh

# setup zsh theme
vim ~/.zshrc
ZSH_THEME="agnoster"

sudo apt-get install dconf-cli

# install solarized
git clone git://github.com/sigurdga/gnome-terminal-colors-solarized.git ~/.solarized
cd ~/.solarized
./install.sh

After installation, open.zshrcand add the line:

eval `dircolors ~/.dir_colors/dircolors`

Oh my zsh with autosuggestions & syntax-highlighting.md

git clone https://github.com/zsh-users/zsh-autosuggestions.git $ZSH_CUSTOM/plugins/zsh-autosuggestions
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git $ZSH_CUSTOM/plugins/zsh-syntax-highlighting
vim ~/.zshrc

# add line
plugins=(git zsh-autosuggestions zsh-syntax-highlighting)

Hasklig

git clone https://github.com/i-tu/Hasklig
cd Hasklig
./buildInstances.sh

fisaVim

sudo apt-get install curl vim exuberant-ctags git ack-grep python-pip
sudo pip install pep8 flake8 pyflakes isort yapf

cd ~
wget https://raw.githubusercontent.com/fisadev/fisa-vim-config/master/.vimrc

Sticky Notes

sudo add-apt-repository ppa:umang/indicator-stickynotes
sudo apt-get update
sudo apt-get install indicator-stickynotes

Q&A

super key exahange with ctrl key

I figured it out. Put the following in~/.Xmodmap:

clear control
clear mod4

keycode 105 =
keycode 206 =

keycode 133 = Control_L NoSymbol Control_L
keycode 134 = Control_R NoSymbol Control_R
keycode 37 = Super_L NoSymbol Super_L

add control = Control_L
add control = Control_R
add mod4 = Super_L

To test, run the command:

xmodmap ~/.Xmodmap

Compiz configuration settings manager

mackeyboard fn keys

vim /etc/modprobe.d/hid_apple.conf
options hid_apple fnmode=2

results matching ""

    No results matching ""