Skip to content

Instantly share code, notes, and snippets.

@emorima
Last active January 13, 2019 06:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save emorima/e19c7db715a624042df81404721f0e3d to your computer and use it in GitHub Desktop.
Save emorima/e19c7db715a624042df81404721f0e3d to your computer and use it in GitHub Desktop.
ubuntu setup

https://help.ubuntu.com/stable/ubuntu-help/index.html.ja

app for settings

  • gnome-tweaks

    • Shift + CapsLock の切り替え設定
  • Gparted

    • パーティション確認
  • トラックポインタ有効化 (動かない

    https://www.virment.com/thinkpad-x1-carbon-6gen-ubuntu-fix-trackpoint/

    https://orientalrobotics.blogspot.com/2017/05/thinkpad-x1-carbon.html

    • /etc/default/grub 編集 変更前
    GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" 

    変更後

    GRUB_CMDLINE_LINUX_DEFAULT="quiet splash psmouse.proto=bare psmouse.synaptics_intertouch=1 acpi.ec_no_wakeup=1"
    • /lib/systemd/system-sleep/reconnect-trackpoint 新規作成 (作成後 root権限で +xする)
    #!/bin/sh
    if [ "$1" = "post" ]; then
      echo -n "none" > /sys/bus/serio/devices/serio1/drvctl
      sleep 1
      echo -n "reconnect" > /sys/bus/serio/devices/serio1/drvctl
    fi

app for development

  • git
  • vim (src)
    • build-essential
    • libncurses5-dev
    • libncursesw5-dev
  • rbenv
    • libssl-dev
    • libreadline-dev
    • zlib1g-dev
    • ruby 2.5.1
  • zeal

.bashrc

  • alias vi=vim

vim

  • markdown-preview
sudo apt-get install xdg-utils curl 
gem install redcarpet pygments.rb
sudo npm -g install instant-markdown-d
mkdir -p ~/.vim/after/ftplugin/markdown/
cd ~/.vim/after/ftplugin/markdown/
wget https://raw.githubusercontent.com/suan/vim-instant-markdown/master/after/ftplugin/markdown/instant-markdown.vim

tool

* Alt+Tab切り替え
  http://ksino.hatenablog.com/entry/2014/06/08/171030
@emorima
Copy link
Author

emorima commented Aug 18, 2018

  • トラックポインタ有効化 (動かない

結局動かないから削除して戻した

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment