내가 항상 vmware 로 새로운 우분투를 깔 때마다 새로 설정해야하는 사항들을 모아보자.
1. 우분투 설치하기 및 update
sudo apt-get update
sudo apt-get dist-upgrade
sudo apt-get install build-essentials
2. Tweak : scroll bar 설정, launcher 의 icon size변경, work space 사용하기 등등...
- make a shortcut of terminal to task bar
- Repository and package manager (In System> software and update)
enable the Canonical Partners’ Repository.
sudo apt install synaptic
sudo apt install gdebi
- Additional Drivers (In System> software and update)
- enable Workspace( System Settings >>> Appearance >>> Behavior)
- Fix app menu problem(System Settings >>> Appearance >>> Behavior tab >> ‘Show the Menus for a Window’ . always displayed)
3. install Java: sudo apt-get install default-jre
4. Nautilus configuration:
- open terminal command in nautilus: sudo apt-get install nautilus-open-terminal
(From 16.04, it seems not need to install nautilus-open-terminal. Also, new terminal opens a new tab by 'control-shift-T' )
- nautilus action configure tool to make customization of right click in nautilus :
- sudo apt-get install nautilus-actions-configuration (From 16.04, I could not find the package)
- Bookmark the network server I use
- install meld nautilus-compare
5. classic menu indicator
6. dropbox 설치
sudo apt install nautilus-dropbox
7. secpanel
8. Texworks and latex
: for tex, install texlive, texlive-extras,
texlive-publishers (for revtex)
9. Numerical libraries:
- gfortran
- LAPACK, SCALAPACK: liblapack, libscalapack 을 검색해서 install
(여러 패키지중에서 dev 가 붙어 있고 static 이라고 쓰여 있는 것. liblapack.a 파일이 있는지 확인할 것.)
- MATHLIB: install libmathlib2-dev or install cernlib
- MPICH:
sudo apt install gfortran
sudo apt install libmpich-dev
sudo apt install liblapack-dev
sudo apt install libscalapack-mpi-dev
sudo apt install openmpi-bin openmpi-dev
- FFTW3: sudo apt-get install fftw3-dev
10. build-essential package
sudo apt install build-essential
sudo apt install gfortran
11. vim and change its color scheme : vimrc file 복사하기, encryption method change
( default vi editor is not good to use.)
sudo apt install vim vim-gtk
.vimrc example
--------------------
" When searching try to be smart about cases
set smartcase
" Makes search act like search in modern browsers
set incsearch
" Show matching brackets when text indicator is over them
set showmatch
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" => Colors and Fonts
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
:syntax enable
set background=dark
:colo desert
" Set utf8 as standard encoding and en_US as the standard language
set encoding=utf8
" Use Unix as the standard file type
set ffs=unix,dos,mac
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" => Spell checking
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" Pressing ,ss will toggle and untoggle spell checking
map <leader>ss :setlocal spell!<cr>
" Shortcuts using <leader>
map <leader>sn ]s
map <leader>sp [s
map <leader>sa zg
map <leader>s? z=
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" => Misc
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" Remove the Windows ^M - when the encodings gets messed up
noremap <Leader>m mmHmt:%s/<C-V><cr>//ge<cr>'tzt'm
" Set encryption method to blowfish
set cm=blowfish
---------------------
12. gftp or filezilla
13. variety : wallpaper changer
14. python and ipython, matplotlib, scitools, scipy , pip
# add alias to .bashrc_aliases file
alias python=python3
sudo apt-get install ipython
sudo apt-get install python-pip python-tk
python -m pip install --upgrade pip
pip install --user numpy scipy matplotlib ipython jupyter pandas sympy nose
# Consider adding this at the end of your ~/.bashrc file
export PATH="$PATH:/home/[your_user]/.local/bin"
15. Make /bin and /lib directory for personal usage.
# add path in .basrc
export PATH=$PATH:/home/yhsong/bin:/home/yhsong/lib
16. gnuplot
FRESCO
sudo apt install gnuplot-qt
and more ...
Ubuntu 18.04 : click-action setting.
One can choose click-action for the dock :
'minimize', 'minimize-or-overview', 'previews','cycle-windows'
gsettings set org.gnome.shell.extensions.dash-to-dock click-action 'minimize'