Raspberry Pi Computer
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
README.md

README.md

Computer

Work in progress.

Development

sudo apt-get update 
sudo apt-get upgrade
# WM
sudo apt-get install i3 xserver-xorg xinit dmenu feh i3status i3lock xbacklight conky
# Tools
sudo apt-get install npm git vim
# Browsers
sudo apt-get install chromium-browser lynx
# Utils
sudo apt-get moc
sudo startx

Cheatsheets

i3

  • startx i3 start i3 from command line
  • $mod+<Enter> open a terminal
  • $mod+d open dmenu (text based program launcher)
  • $mod+r resize mode ( or to leave resize mode)
  • $mod+shift+e exit i3
  • $mod+shift+r restart i3 in place
  • $mod+shift+c reload config file
  • $mod+shift+q kill window (does normal close if application supports it)
  • $mod+w tabbed layout
  • $mod+e vertical and horizontal layout (switches to and between them)
  • $mod+s stacked layout
  • $mod+f fullscreen
  • $mod+shift+<direction key> Move window in direction (depends on direction keys settings)

TMUX

  • ctrl+b % split vertical
  • ctrl+b " split horizontal
  • ctrl+b o toggle screen selection

NANO

  • ctrl+shift+6 block edit
  • ctrl+k cut
  • ctrl+u paste
  • esc u undo
  • esc e redo
  • esc } pad
  • esc 3 comment
  • [alt+f] ctrl+r load file
  • [alt+f][ctrl+r] alt . next file

MOCP(Audio Player)

  • h see help
  • Q quit
  • t change theme
  • l change layout
  • a add to playlist
  • n next
  • b back
  • S shuffle
  • C clear playlist
  • > vol+
  • < vol-

NETHACK(Game)

  • , pick up
  • d drop
  • . rest
  • o open
  • f fire
  • r eat
  • x swap weapons

Notes

Irssi for Slack

/network add -nick <nickname> slack
/server add -auto -ssl -network slack <account>.irc.slack.com 6667 <password>
/ignore -network slack * MODES
/save

NPM

wget https://nodejs.org/dist/v8.11.1/node-v8.11.1-linux-armv7l.tar.xz
tar xvf ./node-v8.11.1-linux-armv7l.tar.xz
cd node-v8.11.1-linux-armv7l/bin
sudo cp ./node /usr/bin/
sudo ./npm install npm@latest -g
sudo npm update

Dat

sudo npm install dat -g