Giter Club home page Giter Club logo

dotfiles's Introduction

セットアップ手順

自動で入れるもの

install.sh を実行する。

手動で入れるもの

google-chrome, rustup, sdkman, docker

それぞれ公式サイトに移動して deb ファイルを手に入れるなりワンライナーを実行してセットアップする。

Docker

一般ユーザーで起動できるようにする

https://ytooyama.hatenadiary.jp/entry/2018/11/21/001426

~$ sudo addgroup --system docker
~$ sudo adduser $USER docker
~$ newgrp docker
~$ sudo snap restart docker
~$
~$ ls -l /var/run/docker.sock
srw-rw---- 1 root docker 0 Nov 20 15:44 /var/run/docker.sock

VSCode

VSCodeは以下の 2 つの Extensions をインストールする

  • Emacs Keymap
  • Rust (rls)

手動で設定するもの

HIDPI

xubuntu だと 144 dpi 程度かなぁ

IME(fcitx-mozc)

xubuntu で普通に入れただけだと自動起動しないみたいなので Session and Startup で fcitx-autostart を autostart に追加する必要があるみたい。

https://qiita.com/tukiyo3/items/69ce214f25cbecbba9ff

dual boot win and ubuntu clock

Windows と Ubuntu のデュアルブートするときには時計が9時間ずれる問題があるので以下を設定する。 http://yukihane.hatenablog.com/entry/201605/ubuntu16.04-datetime

具体的には以下のコマンドを実行する。

sudo timedatectl set-local-rtc 1

no capslock

caps lock を設定する日はないので以下を参考に設定する。

https://qiita.com/hirooooooaki/items/f404e76c6f171769412a

/etc/default/keyboard を編集する。

XKBMODEL="pc105"
XKBLAYOUT="jp"
XKBVARIANT=""
XKBOPTIONS="ctrl:nocaps" 
BACKSPACE="guess"

無変換/変換キーでIMEをtoggleじゃなく変更できるようにする。

Input Method Configuration -> Global Config

Show Advanced Option をチェックする

Activate input method に変換を Inactivate input method に無変換を割り当てる。

Input Method タブには “Keyboard - Japanese”, “Mozc” の2つを設定する。

natural scroll

ThinkPad の touchpad で natural scroll にするには以下の /etc/X11/Xsession.d/80synaptics の設定を入れるのが良い

https://askubuntu.com/questions/690512/how-to-enable-natural-scrolling-in-xfce4

github の 2 要素認証を使ったログイン

PersonalToken を新たに払い出して以下を設定する。 .netrc のこと。

https://qiita.com/Asuforce/items/c2fa32e78d0d6fcf015d

grub の解像度が細かすぎるのを大きくする

sudo vi /etc/default/grub

以下の一行を追加する

GRUB_GFXMODE=640x480

sudo grub2-mkconfig -o /boot/grub2/grub.cfg

xfce4 を Emacs key bind にする

Xfceを用いるubuntu ディストロ xubuntuでのEmacsキーバインド化。 Settings Editor でxsetting -> KeyThemeName をEmacsにすればよい。 ただし、使い勝手が若干微妙なので常用するかどうかは様子見。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.