summaryrefslogtreecommitdiff
path: root/tech/minimal debian install.txt
blob: b63c215224d4f3d532a11b27e7c7c3b3791c77d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
Minimal Debian install for a nice, lightweight deskop

Download and burn Debian netinst CD

install base system

Then boot and login as root.

vi /etc/network/interfaces
#add these lines:
auto wlan0
iface wlan0 inet dhcp
    wpa-ssid YOUR-SSID-HERE
    wpa-psk YOUR-PASSWORD-HERE

restart and pig google to confirm you have wifi

#then install the basics

apt-get install sudo vim-gtk tmux git ufw curl Xorg openbox tint2 lxrandr htop terminator zip unzip dmz-cursor-theme python-pip python-dev python3 python3-dev network-manager-gnome clipit vnstats mutt mpd mpc ncmpcpp htop 

apt-get -t jessie-backports install "package"

visudo

> # User privilege specification
> root    ALL=(ALL:ALL) ALL
> lxf     ALL=(ALL:ALL) ALL

# at this point you can pretty much login as your user and startx

if necessary, use lxrandr to change screen res

# browsers
apt-get install chromium 
vim /etc/apt/sources.list # add: deb http://packages.linuxmint.com debian import
apt-get update
apt-get install firefox
update-alternatives --install /usr/bin/x-www-browser x-www-browser /usr/bin/firefox 100

# download crunchbang theme
tar -vxf Downloads/crunchy-dark-grey.tar.gz 
git clone https://github.com/CBPP/cbpp-icon-theme.git

#set a decent desktop:
feh --bg-center ~/pictures/desktops/?
xdg-mime default feh.desktop image/png

#set up vim:
mkdir -p .vim/bundle
git clone https://github.com/gmarik/Vundle.vim.git ~/.vim/bundle/Vundle.vim

#Add dropbox:
sudo dpkg -i Downloads/dropbox_2015.02.12_i386.deb
~/.dropbox-dist/dropboxd
echo fs.inotify.max_user_watches=100000 | sudo tee -a /etc/sysctl.conf; sudo sysctl -p
dropbox start
dropbox status



# download some decent fonts and put them in ~/.fonts then run:
fc-cache -fv

# then get better font smoothing:
echo "deb http://ppa.launchpad.net/no1wantdthisname/ppa/ubuntu trusty main" | sudo tee /etc/apt/sources.list.d/infinality.list
echo "deb-src http://ppa.launchpad.net/no1wantdthisname/ppa/ubuntu trusty main" | sudo tee -a /etc/apt/sources.list.d/infinality.list
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E985B27B
sudo apt-get update
sudo apt-get install fontconfig-infinality
sudo bash /etc/fonts/infinality/infctl.sh setstyle
sudo vim /etc/profile.d/infinality-settings.sh

alsa alsa-tools alsa-utils vrms

#music:
apt-get install mpd mpc ncmpcpp  

#mail:
apt-get install mutt urlview notmuch gnomekeyring python-gnomekeyring msmtp msmtp-gnome abook w3m
python dotfiles/gnomekeyringstuff/msmtp-gnome-tool.py --username luxagraf@fastmail.fm --server mail.messagingengine.com -s
chmod 600 .msmtprc
python dotfiles/gnomekeyringstuff/msmtp-gnome-tool.py --username luxagraf@fastmail.fm --server mail.messagingengine.com -g

# misc
apt-get install calibre vlc abiword redshift newsbeuter

#postgres for psycog2
apt-get install postgresql postgresql-9.4-postgis-2.1 postgresql-server-dev-9.4 python3-dev

# this is the basic command for launching standalone browser apps
exo-open ~/.local/share/applications/chrome-confeenhjpkmbceaenohemhdbecmk-Default.desktop"

# cal stuff I haven't actually used as of this writing:
apt-get install khal
apt-get install 
apt-get install vdirsyncer
# fstab for lenovo:

# /dev/sdc2
UUID=6adbe77f-06ee-4de0-ac87-50652bb85226 /         	ext4      	rw,relatime,data=ordered	0 1
UUID=cd2a9cf9-52d9-4686-a601-64d92fc25611 /home         ext4        defaults,noatime,discard 0 2
UUID=0998e52d-8651-49f0-8dc7-3961f7b66f5c /mnt/storage  ext4        rw,user,auto 0 0
UUID=803ce209-2084-4be6-990d-fc7b125853ed /mnt/music    ext4        rw,user,auto 0 0
UUID=ca063eba-fbd0-4ba4-b9cc-95b6d5de9479 /mnt/baksites ext4       nofail,x-systemd.device-timeout=1,rw,user,auto 0 0
UUID=27553cec-ce83-40b7-95a7-06166744fefe /mnt/docbak   ext4       nofail,x-systemd.device-timeout=1,rw,user,auto 0 0
UUID=e17aa13b-5940-4f73-932b-975fb738fbe7 /mnt/storage/swapfile swap defaults 0 0