Skip to content

Instantly share code, notes, and snippets.

@cocuh
Last active June 15, 2017 19:11
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 cocuh/791f596dacdede28edfc38935bea3aa2 to your computer and use it in GitHub Desktop.
Save cocuh/791f596dacdede28edfc38935bea3aa2 to your computer and use it in GitHub Desktop.
  • function keys
    • 輝度とか
  • xorg key map
    • alt <-> super (両側)
    • caps -> ctrl
  • vterm key map
    • no caps
  • ssh to saya
  • saya ssh keys
  • firefox
    • vimfx
    • keybinder
      • ctrl q
    • speed dial
    • reddit
    • open in browser(search alternatives)
  • pulseaudio
    • pasystray
  • fcitx
  • update .xinitrc
  • fan controller
    • thinkfan
  • backlight controller
  • thinkpad acpi系
  • trackpad
  • stern, miyu, ssh

later

xsetroot -cursor_name left_ptr
# # retina
# xrandr --newmode "1920x1200_60" 193.25 1920 2056 2256 2592 1200 1203 1209 1245 -hsync +vsyncv
# xrandr --addmode eDP1 1920x1200_60
# xrandr --output eDP1 --mode 1920x1200_60
#xrandr --output eDP1 --dpi 96
#
# for java
export _JAVA_AWT_WM_NONREPARENTING=1
# fcitx
export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=fcitx
export XMODIFIERS="@im=fcitx"
fcitx &
#kupfer &
xcompmgr &
feh --bg-fill ~/picture/wallpaper/saya.png &
xrdb -merge ~/.Xresources
kbdlight set 64&
xscreensaver -no-splash&
nm-applet &
pasystray &
#exec qtile
#xmobar &
#sleep 1
#exec xmonad
mpd &
wmail &
slack &
sido &
exec awesome
@cocuh
Copy link
Author

cocuh commented Jun 15, 2017

thinkfan

$ yaourt -S thinkfan
$ cp /usr/share/doc/thinkfan/examples/thinkfan.conf.simple /etc/thinkfan.conf
$ find /sys/device/virtual/hwmon | grep thermal
$ find /sys/device/virtual/hwmon | grep temp
$ vim /etc/thinkfan.conf
$ reboot
$ systemctl enable thinkfan
$ systemctl start thinkfan

@cocuh
Copy link
Author

cocuh commented Jun 15, 2017

@cocuh
Copy link
Author

cocuh commented Jun 15, 2017

battery limitation

$ tpacpi-bat
$ vim /etc/conf.d/tpacpi-bat.conf
$ systemctl enable tpacpi-bat
$ systemctl start tpacpi-bat

@cocuh
Copy link
Author

cocuh commented Jun 15, 2017

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