2012-06-21 17:34:18 +02:00
|
|
|
################################################################################
|
|
|
|
# Unix Home Configuration #
|
|
|
|
# Author: Ambrevar #
|
2012-10-13 13:47:04 +02:00
|
|
|
# Date: 2012-10-13 #
|
2012-06-21 17:34:18 +02:00
|
|
|
################################################################################
|
2012-06-18 12:04:02 +02:00
|
|
|
|
|
|
|
Synopsis
|
|
|
|
********
|
|
|
|
This repository contains configuration files for various Unix-programs.
|
2012-06-21 17:34:18 +02:00
|
|
|
Target distribution: Arch Linux (might work for most Unices as well)
|
|
|
|
|
2012-06-18 12:04:02 +02:00
|
|
|
Generic Comments
|
|
|
|
****************
|
2012-06-21 17:34:18 +02:00
|
|
|
The only purpose is to be a source of inspiration. Examples are always a good
|
2012-06-25 15:09:34 +02:00
|
|
|
technical support. (Especially for applications that do not provide examples in
|
2012-06-21 17:34:18 +02:00
|
|
|
their documentation.) There is no use in blind-copying the content of any file
|
|
|
|
into your personal home folder. At best it might break things.
|
|
|
|
|
2012-06-29 18:13:47 +02:00
|
|
|
In case you still want to copy some files -- for quick and dirty testing purpose
|
2012-06-21 17:34:18 +02:00
|
|
|
-- do not forget that most of the files are in hidden folders. Also note that
|
|
|
|
in some shells, the '*' joker will NOT match hidden files, that is
|
2012-06-18 12:04:02 +02:00
|
|
|
|
|
|
|
cp -r source-dir/* dest-dir/
|
|
|
|
|
|
|
|
will copy non-hidden folders only. To match all folders, use the following
|
|
|
|
joker instead:
|
|
|
|
|
2012-06-29 18:13:47 +02:00
|
|
|
cp -r source-dir/{.*,*} dest-dir/ # zsh
|
|
|
|
cp -r source-dir/{.??*,*} dest-dir/ # bash
|
|
|
|
|
|
|
|
Still, the solution for bash is not perfect as it affects 3 characters files
|
|
|
|
only. A more convenient solution:
|
|
|
|
|
|
|
|
# bash only.
|
|
|
|
shopt -s dotglob
|
|
|
|
cp -r source-dir/* dest-dir/
|
|
|
|
|
2012-06-18 12:04:02 +02:00
|
|
|
|
|
|
|
Some applications will need extra dependencies other than the default ones. You
|
2012-09-07 19:54:29 +02:00
|
|
|
might have a look at the .pkg-* files to see what software I've been using.
|
2012-06-18 12:04:02 +02:00
|
|
|
|
|
|
|
Final word: do not forget to read the manpages!
|
|
|
|
|
|
|
|
################################################################################
|
|
|
|
|
|
|
|
Awesome
|
|
|
|
*******
|
|
|
|
Extra deps: Vicious
|
|
|
|
|
|
|
|
Configuration is very close to the default one, which mostly fits my needs.
|
|
|
|
Most of the work I've done is for the status bar, but since I'm using the
|
2012-06-21 17:34:18 +02:00
|
|
|
Vicious plugin, it is quite straightforward.
|
2012-06-18 12:04:02 +02:00
|
|
|
|
|
|
|
Emacs
|
|
|
|
*****
|
2012-09-05 11:58:04 +02:00
|
|
|
Extra deps: emacs-lua-mode, emacs-mediawiki, emacs-yasnippet.
|
2012-06-18 12:04:02 +02:00
|
|
|
|
2012-10-13 13:47:04 +02:00
|
|
|
Configuration for C programming. Bindings to compile either from makefile or
|
|
|
|
from a custom command if no makefile is found.
|
|
|
|
|
|
|
|
TeX and LaTeX mode customization: no AucTeX required, PDF view, temp file clean
|
|
|
|
function, PDF compression.
|
|
|
|
|
|
|
|
Custom color theme with 256 colors.
|
|
|
|
|
|
|
|
Extended file support (shell files, Mutt mails, Arch Linux PKGBUILDs).
|
|
|
|
|
|
|
|
Some customization -- columns, kill whole line, etc.
|
|
|
|
|
|
|
|
Some custom functions (duplicate line, unfill-paragraph, etc.).
|
|
|
|
|
|
|
|
A lot of code snippets, especially for LaTeX. Contains document template, plot
|
|
|
|
generation, pie chart generation, and others.
|
2012-06-18 12:04:02 +02:00
|
|
|
|
2012-06-25 15:09:34 +02:00
|
|
|
Luakit
|
|
|
|
******
|
2012-09-05 11:58:04 +02:00
|
|
|
Some custom bindings, download location, search engines, etc. Script+Plugin
|
2012-09-10 17:51:31 +02:00
|
|
|
toggle. Adblock script (must be downloaded manually or from .homeinit).
|
2012-06-25 15:09:34 +02:00
|
|
|
|
2012-06-21 17:34:18 +02:00
|
|
|
Mutt
|
|
|
|
****
|
2012-07-09 18:39:55 +02:00
|
|
|
Compile options: IMAP and SMTP support.
|
2012-10-13 13:47:04 +02:00
|
|
|
Extra deps: antiword, ccrypt, fortune, sxiv, w3m.
|
2012-07-09 18:39:55 +02:00
|
|
|
|
2012-06-21 17:34:18 +02:00
|
|
|
This one is not easy to get into it. I managed to get multiple accounts with
|
2012-10-13 13:47:04 +02:00
|
|
|
encrypted passwords working, which means there is no plain password stored on
|
|
|
|
the disk. As a result, I just get prompted for a main password on Mutt startup,
|
|
|
|
then everything works out of the box. I use ccrypt for password management
|
|
|
|
because it is much more simple than gnupg.
|
2012-07-05 13:14:00 +02:00
|
|
|
|
2012-08-01 15:45:33 +02:00
|
|
|
I'm using embedded IMAP and SMTP services -- you must provide the required
|
2012-07-05 13:14:00 +02:00
|
|
|
compilation options.
|
|
|
|
|
2012-07-20 17:04:29 +02:00
|
|
|
Some customization: custom index view, good Emacs integration (see .emacs),
|
|
|
|
custom theme (matches Emacs colors), various tweaks.
|
2012-06-21 17:34:18 +02:00
|
|
|
|
2012-10-13 13:47:04 +02:00
|
|
|
Thanks to the coloset.sh script, Mutt will check terminal color support and load
|
|
|
|
colors appropriately. Therefore this configuration should work on any terminal,
|
|
|
|
should it have 256-colors support or not.
|
|
|
|
|
2012-08-01 15:45:33 +02:00
|
|
|
URxvt has an URL support that works also for Mutt. For other terminals, you
|
|
|
|
might consider using the 'urlview' plugin for Mutt.
|
|
|
|
|
2012-06-25 15:09:34 +02:00
|
|
|
Ranger
|
|
|
|
******
|
2012-07-17 18:32:15 +02:00
|
|
|
Extra deps: antiword, atool, highlight, img2txt, mediainfo, pdftotext, w3m.
|
|
|
|
|
2012-06-25 15:09:34 +02:00
|
|
|
Custom bindings, file association, tweaked a few options.
|
|
|
|
|
2012-06-18 12:04:02 +02:00
|
|
|
Scripts
|
|
|
|
*******
|
2012-08-01 15:45:33 +02:00
|
|
|
|
2012-09-04 15:30:20 +02:00
|
|
|
.netinit: network setup. Works with wpa_supplicant. May replace any network
|
2012-06-21 17:34:18 +02:00
|
|
|
manager.
|
2012-06-25 15:09:34 +02:00
|
|
|
|
2012-08-01 15:45:33 +02:00
|
|
|
.homeinit: initialize a new home configuration, i.e. get needed files, create
|
|
|
|
symlinks, etc.
|
|
|
|
|
|
|
|
.save: generates a home configuration archive.
|
|
|
|
|
2012-06-25 15:09:34 +02:00
|
|
|
Shell
|
|
|
|
*****
|
|
|
|
Target: zsh, bash
|
|
|
|
|
|
|
|
Probably the most interesting part here. A lot of stuff: aliases, functions,
|
|
|
|
shell options, etc.
|
|
|
|
|
|
|
|
Please note that this config is mainly intended -- and tested -- for zsh. It
|
|
|
|
should be mostly bash-compatible though. When incompabilities have been
|
|
|
|
encountered, it has been reported into the configuration files. Hence the shared
|
|
|
|
folder .shell.d/, whose files get sourced by both bash and zsh. Bash-specific
|
|
|
|
and zsh-specific options are in dedicated files ending with the apropriate shell
|
|
|
|
name.
|
|
|
|
|
2012-10-13 13:47:04 +02:00
|
|
|
TeX
|
|
|
|
***
|
|
|
|
|
|
|
|
A lot of plainTeX and LaTeX macros. Among others: pie charts, dynamic plots with
|
|
|
|
input file file and trend.
|
|
|
|
|
|
|
|
plainTeX macros are in the 'texmf' folder. LaTeX macros are all bundled into
|
|
|
|
Emacs snippets for the sake of portability.
|
|
|
|
|
2012-07-17 18:32:15 +02:00
|
|
|
URxvt
|
|
|
|
*****
|
2012-08-23 13:33:47 +02:00
|
|
|
Extra deps: Muennich's perl extensions (keyboard-select, clipboard)
|
|
|
|
|
|
|
|
Custom font and colors, no scroll bar, url-matcher, clipboard, and
|
|
|
|
keyboard-select.
|
2012-07-17 18:32:15 +02:00
|
|
|
|
2012-06-25 15:09:34 +02:00
|
|
|
Vim
|
|
|
|
***
|
2012-07-10 19:47:23 +02:00
|
|
|
I've only been a casual Vim user, so do not expect too much from it.
|
2012-06-25 15:09:34 +02:00
|
|
|
|
2012-08-02 12:59:35 +02:00
|
|
|
################################################################################
|
|
|
|
Known issues
|
|
|
|
************
|
|
|
|
|
|
|
|
Emacs: some colors do not work as intended.
|
|
|
|
|
2012-09-10 17:51:31 +02:00
|
|
|
Luakit: Adblock will not always block ads correctly.
|
2012-09-04 15:30:20 +02:00
|
|
|
|
2012-09-14 10:35:53 +02:00
|
|
|
Ranger: if editor is 'emacsclient -t -a ""', it will not show up if emacs daemon
|
|
|
|
is not running. This is because the "" are not properly recognized.
|
2012-08-02 12:59:35 +02:00
|
|
|
|
|
|
|
Shell: some custom functions would need auto-completion.
|
|
|
|
|
2012-09-04 15:30:20 +02:00
|
|
|
URxvt: using the paste function from Muennich's clipboard on the same terminal
|
|
|
|
where text was copied will make xsel crash.
|
|
|
|
|
2012-07-09 18:39:55 +02:00
|
|
|
################################################################################
|
2012-07-18 19:25:28 +02:00
|
|
|
Complete applist
|
|
|
|
****************
|
2012-07-09 18:39:55 +02:00
|
|
|
|
2012-08-23 13:33:47 +02:00
|
|
|
aalib
|
2012-09-04 15:30:20 +02:00
|
|
|
aircrack-ng
|
2012-07-09 18:39:55 +02:00
|
|
|
antiword
|
2012-08-23 13:33:47 +02:00
|
|
|
asciidoc
|
2012-07-30 12:59:20 +02:00
|
|
|
astyle
|
2012-07-09 18:39:55 +02:00
|
|
|
atool
|
2012-07-18 19:25:28 +02:00
|
|
|
awesome
|
2012-08-23 13:33:47 +02:00
|
|
|
awk
|
2012-07-09 18:39:55 +02:00
|
|
|
bashmount
|
2012-07-18 19:25:28 +02:00
|
|
|
bc
|
2012-08-23 13:33:47 +02:00
|
|
|
cal
|
2012-07-09 18:39:55 +02:00
|
|
|
calc
|
2012-07-19 17:01:22 +02:00
|
|
|
catdvi
|
|
|
|
ccrypt
|
2012-09-05 16:26:43 +02:00
|
|
|
cdrtools
|
2012-09-10 17:51:31 +02:00
|
|
|
centerim
|
2012-08-01 15:45:33 +02:00
|
|
|
chrpath
|
2012-07-09 18:39:55 +02:00
|
|
|
cmus
|
2012-08-23 13:33:47 +02:00
|
|
|
column
|
|
|
|
comm
|
2012-07-09 18:39:55 +02:00
|
|
|
cppcheck
|
2012-08-23 13:33:47 +02:00
|
|
|
cut
|
2012-08-01 15:45:33 +02:00
|
|
|
dash
|
2012-08-23 13:33:47 +02:00
|
|
|
diff
|
2012-07-09 18:39:55 +02:00
|
|
|
doxygen
|
|
|
|
dropbox
|
2012-08-23 13:33:47 +02:00
|
|
|
dtach
|
2012-08-01 15:45:33 +02:00
|
|
|
dvtm
|
2012-07-18 19:25:28 +02:00
|
|
|
emacs
|
2012-09-04 15:30:20 +02:00
|
|
|
expac
|
2012-08-23 13:33:47 +02:00
|
|
|
fbpdf
|
|
|
|
fbv
|
|
|
|
fdisk
|
2012-07-09 18:39:55 +02:00
|
|
|
feh
|
2012-08-23 13:33:47 +02:00
|
|
|
ffmpeg
|
|
|
|
file
|
2012-09-10 17:51:31 +02:00
|
|
|
finch
|
2012-08-23 13:33:47 +02:00
|
|
|
fmt
|
2012-07-09 18:39:55 +02:00
|
|
|
fortune
|
2012-09-12 23:46:07 +02:00
|
|
|
gaupol
|
2012-07-09 18:39:55 +02:00
|
|
|
gcolor2
|
|
|
|
gdb
|
|
|
|
gimp
|
|
|
|
gnumeric
|
|
|
|
gnuplot
|
2012-09-04 15:30:20 +02:00
|
|
|
gparted
|
2012-07-20 15:10:18 +02:00
|
|
|
gpicview
|
2012-08-23 13:33:47 +02:00
|
|
|
graphicsmagick
|
|
|
|
grep
|
|
|
|
groff
|
2012-07-09 18:39:55 +02:00
|
|
|
handbrake
|
|
|
|
hdparm
|
2012-07-18 19:25:28 +02:00
|
|
|
help2man
|
2012-07-09 18:39:55 +02:00
|
|
|
highlight
|
|
|
|
htop
|
2012-09-05 16:26:43 +02:00
|
|
|
id3v2
|
2012-07-20 15:10:18 +02:00
|
|
|
imagemagick
|
2012-07-30 12:59:20 +02:00
|
|
|
indent
|
2012-07-09 18:39:55 +02:00
|
|
|
inkscape
|
2012-09-05 16:26:43 +02:00
|
|
|
iotop
|
2012-07-09 18:39:55 +02:00
|
|
|
irssi
|
2012-08-23 13:33:47 +02:00
|
|
|
latex2html
|
|
|
|
latex2rtf
|
2012-07-09 18:39:55 +02:00
|
|
|
lrzip
|
2012-08-01 15:45:33 +02:00
|
|
|
lshw
|
2012-08-15 15:21:25 +02:00
|
|
|
ltrace
|
2012-07-18 19:25:28 +02:00
|
|
|
luakit
|
2012-09-04 15:30:20 +02:00
|
|
|
lynx
|
2012-07-09 18:39:55 +02:00
|
|
|
mediainfo
|
|
|
|
mencoder
|
2012-08-15 15:21:25 +02:00
|
|
|
mercurial
|
2012-08-23 13:33:47 +02:00
|
|
|
mkfs
|
2012-07-09 18:39:55 +02:00
|
|
|
mkvtoolnix
|
2012-08-23 13:33:47 +02:00
|
|
|
movgrab
|
2012-07-09 18:39:55 +02:00
|
|
|
mplayer2
|
2012-07-18 19:25:28 +02:00
|
|
|
mutt
|
2012-07-09 18:39:55 +02:00
|
|
|
nasm
|
|
|
|
ncdu
|
2012-08-01 15:45:33 +02:00
|
|
|
ngrep
|
2012-07-09 18:39:55 +02:00
|
|
|
nmap
|
|
|
|
numlockx
|
2012-07-10 19:47:23 +02:00
|
|
|
octave
|
2012-08-23 13:33:47 +02:00
|
|
|
od
|
2012-07-09 18:39:55 +02:00
|
|
|
okular
|
|
|
|
openshot
|
|
|
|
openssh
|
2012-09-12 23:46:07 +02:00
|
|
|
oss
|
2012-07-09 18:39:55 +02:00
|
|
|
p7zip
|
|
|
|
pari
|
2012-08-23 13:33:47 +02:00
|
|
|
parted
|
|
|
|
patch
|
|
|
|
poppler
|
2012-09-05 16:26:43 +02:00
|
|
|
pstotext
|
2012-07-09 18:39:55 +02:00
|
|
|
pwgen
|
|
|
|
pwsafe
|
|
|
|
ranger
|
2012-07-18 19:25:28 +02:00
|
|
|
re2c
|
2012-07-26 19:16:41 +02:00
|
|
|
rsync
|
2012-07-09 18:39:55 +02:00
|
|
|
rtorrent
|
|
|
|
rxvt-unicode
|
|
|
|
scrot
|
|
|
|
sdparm
|
2012-08-23 13:33:47 +02:00
|
|
|
sed
|
|
|
|
shred
|
2012-07-09 18:39:55 +02:00
|
|
|
slock
|
2012-08-23 13:33:47 +02:00
|
|
|
sort
|
2012-07-09 18:39:55 +02:00
|
|
|
splint
|
|
|
|
strace
|
|
|
|
submarine
|
|
|
|
sudo
|
|
|
|
sxiv
|
2012-08-23 13:33:47 +02:00
|
|
|
syslinux
|
2012-07-09 18:39:55 +02:00
|
|
|
task
|
2012-08-06 15:41:10 +02:00
|
|
|
tcc
|
2012-07-09 18:39:55 +02:00
|
|
|
tcpdump
|
2012-08-15 15:21:25 +02:00
|
|
|
texi2html
|
2012-08-23 13:33:47 +02:00
|
|
|
texinfo
|
2012-07-09 18:39:55 +02:00
|
|
|
texlive
|
2012-08-15 15:21:25 +02:00
|
|
|
tig
|
2012-07-09 18:39:55 +02:00
|
|
|
trash-cli
|
|
|
|
tree
|
2012-07-20 15:10:18 +02:00
|
|
|
udiskie
|
2012-09-05 16:26:43 +02:00
|
|
|
unrtf
|
2012-08-01 15:45:33 +02:00
|
|
|
upx
|
2012-07-09 18:39:55 +02:00
|
|
|
valgrind
|
2012-07-18 19:25:28 +02:00
|
|
|
vim
|
2012-07-09 18:39:55 +02:00
|
|
|
vlock
|
|
|
|
w3m
|
|
|
|
weechat
|
|
|
|
wipe
|
2012-09-04 15:30:20 +02:00
|
|
|
wireshark
|
2012-07-18 19:25:28 +02:00
|
|
|
wmfs
|
2012-07-09 18:39:55 +02:00
|
|
|
wv
|
2012-08-23 13:33:47 +02:00
|
|
|
x264
|
2012-08-01 15:45:33 +02:00
|
|
|
xclip
|
2012-07-09 18:39:55 +02:00
|
|
|
xsel
|
|
|
|
yasm
|
|
|
|
zathura
|
2012-07-18 19:25:28 +02:00
|
|
|
zsh
|