Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Minimalism Tips & Tricks

Share your HowTo, Documentation, Tips and Tricks. Not for support questions!.
Post Reply
Message
Author
plb
Posts: 468
Joined: 2007-04-22 14:24
Location: NYC

Minimalism Tips & Tricks

#1 Post by plb »

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

#!/bin/bash

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?"
    rc=$?
    if [ "${rc}" == "1" ]; then
        echo "Program terminated."
        exit 1
    fi
    xterm -e sudo apt-get upgrade
fi
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

plb
Posts: 468
Joined: 2007-04-22 14:24
Location: NYC

#2 Post by plb »

I've updated the parent post with some more links. Let me know of more minimal setup howtos etc.

User avatar
llivv
Posts: 5340
Joined: 2007-02-14 18:10
Location: cold storage

#3 Post by llivv »

'
Last edited by llivv on 2019-02-17 15:31, edited 1 time in total.

User avatar
Hadret
Posts: 354
Joined: 2007-07-19 13:04
Location: Berlin

#4 Post by Hadret »

@plb: is it possible to change apt into aptitude? (:

Post Reply