Minimal Debian Setup tips and tricks:
Wlan up
Getting sudo
Faster grub
Getting Openbox
Auto Login
Auto Start Programs

Minimal Debian - Wlan - Give me some wlan right now!

After installing minimal debian system, you can get wlan up with this:

Lets su because there is no sudo installed.
su

Then lets edit network settings
nano /etc/network/interfaces

Now comment out lines or delete them and add these lines with your passworld and ssid:
auto wlan0

iface wlan0 inet dhcp

wpa-ssid SSID_HERE

wpa-psk PASSWORLD_HERE


Ctrl+x and Y to save, then Restart network and everything should be fine.
/etc/init.d/networking restart


16.12.2014, 11:00 By Mindi 0 Comments

Minimal Debian - Sudo - Su doesn't do

Lets get sudo up and running.
First thing to do if you are not login with root simple:
su

Install sudo:
apt-get install sudo

Add your user to sudoers
visudo

And there is line:
root ALL=(ALL:ALL) ALL

Copy that to next line and change name to yours like this:
root ALL=(ALL:ALL) ALL

mindi ALL=(ALL:ALL) ALL


Save sudoers with CTRL + X and Y.
16.12.2014, 13:00 By Mindi 0 Comments

Minimal debian - Grub - Every second counts

Default waiting time is 5sec for grub, you can change it:
sudo nano /etc/default/grub

Edit this line example to 1:
GRUB_TIMEOUT=5

Then save CTRL + X and Y.
16.12.2014, 13:19 By Mindi 0 Comments

Minimal Debian - Openbox - Because full distros are too mainstream

After you have some basics for your system lets get openbox and some software for it:
sudo apt-get install xorg openbox lxappearance obmenu pcmanfm nitrogen


Here is what those softwares do:
Xorg

X window system, base of the graphical system.
Openbox

Minimal graphical window manager.
lxappearance

With this you can change look for your windows.
obmenu

With this you can change right click menu.
pcmanfx

Little bit heavier file manager but I like this.
nitrogen

With this you can change Wallpaper.

You can just install openbox and xorg for very minimal graphical system and test yourself what is best for you.

16.12.2014, 14:00 By Mindi 0 Comments

Minimal Debian - Auto login & startx - Because I can.

After installing openbox and xorg you need every time login and startx manually, lets change that:
sudo nano /etc/inittab

Then find line looking something like this:
1:2345:respawn:/sbin/getty 38400 tty1

Comment out it and add this bellow it, change USERNAME_HERE with your username and save:
1:2345:respawn:/bin/login -f USERNAME_HERE tty1 /dev/tty1 2>&1


After that lets get to the auto startx part
sudo nano /etc/rc.local

to the bottom after exit 0, add this:
su -l USERNAME_HERE -c startx

This runs startx automatically after that username logins and because you login automatically this should just works like magic but it does not, well at least not yet now lets fix that:
sudo nano /etc/X11/Xwrapper.config

So because xorg needs permissions to run you need change last line "allowed_users" to anybody like this:
allowed_users=anybody

Reboot and look how everything just work.
16.12.2014, 14:50 By Mindi 0 Comments

Minimal Debian - Autostart Programs

sudo nano ~/.config/openbox/autostart

In there just add bottom command to program like this:
tint2 &

Take a note that you need "&" end of every command.
tint2 &

conky &

xcompmgr &


17.12.2014, 14:22 By Mindi 0 Comments

Steam for Debian

There is easy way to get steam for debian systems, first lets get git if you don't have it:
sudo apt-get install git-core

Then what we need is this nice package, it comes with glibc 2.15 so you don't need downgrade your current version:
git clone https://github.com/GhostSquad57/Steam-Installer-for-Wheezy.git

Now you need do this and everything should be fine:
sudo dpkg -i ~/Steam-Installer-for-Wheezy/steam-debian_1.0.0.49-7_all.deb


19.12.2014, 14:24 By Mindi 0 Comments