Thanks, Michael! I was just trying that, but I was missing the XAUTHORITY variable. I think that's going to do the job by now.
On Thu, Jul 17, 2008 at 4:39 PM, Michael Stone <[EMAIL PROTECTED]> wrote: > On Thu, Jul 17, 2008 at 10:27:21AM -0300, Emiliano Pastorino wrote: > > Emiliano, > > I'm not sure of the right way to help you in the long term, but if you > want a quick hack, you might try something like: > > 1. Install a cronjob that runs every few minutes. 2. When it runs, it > should check the available space. 3. If it concludes that space is low, pop > up a warning. > > Warnings can be simple X or pygtk programs (see the 'dialog' Linux > scripts for ideas). To get this hooked up to the running X display, > you'll need to set some environment variables: > > DISPLAY=:0 > XAUTHORITY=/home/olpc/.Xauthority > > Ask if you need more help. > > Michael > -- Emiliano Pastorino LATU - Plan Ceibal Av. Italia 6201 CP: 11500, Montevideo, Uruguay Tel: (598 2) 601 3724 int.: 469
_______________________________________________ Devel mailing list [email protected] http://lists.laptop.org/listinfo/devel
