Minimalism Tips & Tricks

Share your own howto's etc. Not for support questions!

Minimalism Tips & Tricks

Postby plb » 2008-12-24 14:31

Since there are many minimalists amongst us, I thought it would be a good idea to toss ideas and tips around. If anyone has helpful links for minimal setups, post them within this thread and I'll add them here. Below I've written a small bash script which can be called via cron and will notifiy you via a popup window (using zenity) if you have any updates available. Clicking the OK button will invoke apt-get upgrade so you must have sudo installed and setup for that to work.

Code: Select all

sudo apt-get -qy update > /dev/null
NUMOFUPDATES=$(aptitude search "~U" | wc -l)
if [ $NUMOFUPDATES -gt 0 ]; then
    zenity --question --title="Updates Available" --text="You have $NUMOFUPDATES updates available. Update now?"
    if [ "${rc}" == "1" ]; then
        echo "Program terminated."
        exit 1
    xterm -e sudo apt-get upgrade

Other useful links I've come across here on Debian Forums:
Autologin and startx
Display available updates in conky
IceWM Basic Configuration
Tint Task Manager Howto
Fluxbox Basic Configuration
Posts: 472
Joined: 2007-04-22 14:24
Location: NYC

Postby plb » 2008-12-25 15:49

I've updated the parent post with some more links. Let me know of more minimal setup howtos etc.
Posts: 472
Joined: 2007-04-22 14:24
Location: NYC

Postby llivv » 2009-01-07 07:37

debootstrap and/or cdebootstrap are a great way to get a minimal system.
It may take a while to get system just the way you want it.
Although by than you have already figured out ways you want to change it.
And others will have made suggestions you want to incorporate as well. 8)

the --make-tarball option in debootstrap is not documented in etch

If you have lenny or sid and use the make-tarball option you get a tarball of 30MB which unpacks
to a very functional chroot enviornment. 112MB

You can even boot into it (if you're properly setup to do so), but don't expect to be able to do
very much with it at that point except explore. :wink:
User avatar
Posts: 5614
Joined: 2007-02-14 18:10
Location: cold storage

Postby Hadret » 2009-01-07 12:27

@plb: is it possible to change apt into aptitude? (:
User avatar
Posts: 354
Joined: 2007-07-19 13:04
Location: Wroclaw, Poland

Return to Docs, Howtos, Tips & Tricks

Who is online

Users browsing this forum: No registered users and 1 guest