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

Last edited by llivv on 2019-02-17 15:31, edited 1 time in total.
User avatar
Posts: 5488
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: Berlin

Return to Docs, Howtos, Tips & Tricks

Who is online

Users browsing this forum: No registered users and 1 guest