Skip to content

Instantly share code, notes, and snippets.

@apraga
Last active January 3, 2016 11:05
Show Gist options
  • Save apraga/6dedf74c74bf769dc0f2 to your computer and use it in GitHub Desktop.
Save apraga/6dedf74c74bf769dc0f2 to your computer and use it in GitHub Desktop.
Install xmonad
In .xinitrc :
setxkbmap fr bepo
setxkbmap -option "ctrl:swapcaps"
exec xmonad
Useful programs :
* stow => clone dotfiles
* keychain => add config to bashrc
* zsh
* feh => for a background picture
* tmux
* rtorrent
Music :
* mpd
* ncmpcpp
* zsh
Mail :
* mutt
* prochmail
* msmtp
* offlineimap (hard-coded passwords). See http://dev.gentoo.org/~tomka/mail.html
Passwords are stored in .netrc, see https://wiki.archlinux.org/index.php/OfflineIMAP#.netrc
Warning : there is a mistake in .fetchmailrc in my blog. We don't care about .fetchmailrc anymore.
For msmtp, we use 2 different acconuts.
Encryption with mutt : locate and copy gpg.rc
Setup zfs scrub every 2 weeks
We use /etc/anacrontab as we reboot often
14 0 zpool-scrub /usr/bin/zpool scrub Data &> /root/scrub.log
Setup backup (todo):
/root/backup.sh :
rdiff-backup --exclude **.git --include-globbing-filelist files_to_backup.txt \
--exclude /home/alex /home/alex /Data/Backup/home_backup
rdiff-backup --remove-older-than 2W /Data/Backup/home_backup
where the files must have an absolute path
Then update anacrontab :
3 15 backup /root/backup.sh &> /root/backup.log
Juniper with 64bit archlinux :
https://wiki.archlinux.org/index.php/Juniper_VPN#Alternative_Method
the idea is to installer 32bit java by hand on top on a 64bit (also by hand).
Solarized :
- pour mutt :
export TERM=xterm-256color
mutt compiled with ncurses (check with mutt -v)
- tmux
- xressources
Japanese (archlinux) :
- ibus, ibus-anthy, ibus-qt (important d'avoir le dernier sous xmonad)
- adobe-source-han-sans-jp-fonts
-ibus-setup and add japanese input
- add to .xinitrc
export GTK_IM, QT_IM, XMODIFIERS
ibus-daemon --xim &
- Update .Xressource if you have a given fotn
xterm*faceNameDoublesize: Source Han Sans JP:style=Regular:size=11
Backup :
- hubic (yaourt -S hubic)
- google drive avec
https://github.com/odeke-em/drive#initializing
Skype (pas de son pour la caméra)
- enable multilib
- install skype
- install pulseaudio et pulseaudio-alsa (pas besoin de changer la conf de mpd)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment