ディストリビューション

環境設定

  • ホームディレクトリの各フォルダ名を英語名に変更

    $ LANG=C xdg-user-dirs-gtk-update
  • テキストテンプレートファイルの作成

    $ touch ~/Templates/Text
  • alias / function の設定

    ~/.bash_aliases
    alias upd='sudo apt update -y && sudo apt dist-upgrade && sudo apt autoremove -y'
  • マルチブート時の時刻ズレ調整

    $ sudo timedatectl set-local-rtc true
  • デフォルトブートの設定

    $ grep "^menuentry\|^submenu" /boot/grub/grub.cfg
    menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-62e49b0d-cba3-41df-867d-25c8175582d5' {
    submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-62e49b0d-cba3-41df-867d-25c8175582d5' {
    menuentry 'Windows Boot Manager (on /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-efi-32E3-84BC' {
    menuentry 'UEFI Firmware Settings' $menuentry_id_option 'uefi-firmware' {
    /etc/default/grub
    #GRUB_DEFAULT=0
    GRUB_DEFAULT='Windows Boot Manager (on /dev/sda1)'
    $ sudo update-grub
  • 背景用単色画像のダウンロード

    $ cd ~/Pictures
    $ wget https://ktkr3d.github.io/images/white.png
    $ wget https://ktkr3d.github.io/images/black.png
  • デスクトップのホームフォルダの削除
    [設定]-[外観]-[Show Personal Folder]をオフ

  • Google Chrome のインストール

    sudo sh -c 'echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'
    sudo wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
    sudo apt update
    sudo apt-get install google-chrome-stable
  • curl, gettext, git, make

    sudo apt install curl gettext git make

GNOME Shell 関連

デスクトップパッケージ

  • audacious
  • gimp
  • kodi

基本パッケージ

  • curl
  • gdebi
  • geany
  • gparted
  • openssh-server
  • ssh の設定
    $ ssh-keygen
    $ ssh-copy-id -i ~/.ssh/id_rsa.pub username@hostname -p 22222
    $ ssh username@hostname -p 22222
  • synaptic

開発用パッケージ

  • build-essential
  • git の設定
    $ sudo apt install git
    $ git config --global user.name "username"
    $ git config --global user.email mail_account_name@mail_domain_name

外部インストーラパッケージ

  • Visual Studio Code

    curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg
    sudo install -o root -g root -m 644 microsoft.gpg /etc/apt/trusted.gpg.d/
    sudo sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main" > /etc/apt/sources.list.d/vscode.list'
    sudo apt install apt-transport-https
    sudo apt update
    sudo apt install code
  • Node.js

    ~/.bashrc
    export N_PREFIX=$HOME/.n
    export PATH=$N_PREFIX/bin:$PATH
    $ sudo apt install nodejs npm
    $ sudo npm install n -g
    $ sudo apt purge nodejs npm
    $ n latest
  • Docker

    $ sudo apt install curl
    $ curl -fsSL https://get.docker.com/ | sh
    /etc/apt/sources.list.d/docker.list
    deb [arch=amd64] https://apt.dockerproject.org/repo ubuntu-xenial main
    deb [arch=amd64] https://apt.dockerproject.org/repo ubuntu-xenial testing
    $ sudo gpasswd -a $USER docker
    $ sudo systemctl daemon-reload
    $ sudo systemctl restart docker
  • Docker Compose
    https://github.com/docker/compose/releases

    $ sudo curl -L "https://github.com/docker/compose/releases/download/1.9.0/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
    $ sudo chmod +x /usr/local/bin/docker-compose
  • Unity 3D
    http://forum.unity3d.com/threads/unity-on-linux-release-notes-and-known-issues.350256/ の最新トピック
    http://ktkr3d.github.io/2015/08/30/Unity-5-Standard-Assets-Example-Project-on-Linux/