Ask Your Question

What would be a good method to get quota warnings in the GUI/LTSP?

asked 2012-07-24 07:31:25 -0500

jringoot gravatar image

What would be a good/easy/best method to let users have quota warnings in the GUI and LTSP?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2013-04-20 20:15:54 -0500

wquine gravatar image

We actually do something very much like this, from a script that is executed from a .desktop file in /etc/xdg/autostart/. The .desktop file calls a script that runs in the user's context, and uses zenity to pop up a message warning the user that their quota is almost exhausted.

edit flag offensive delete link more


Thanks I am looking into it, still some issues with nicely formatting the output. I thought using zenity --warning quota -vs (the backticks to get the output of quota-vs). It gives the correct ouput but it is ugly(uncessary linewrap)

jringoot gravatar imagejringoot ( 2013-06-16 15:29:24 -0500 )edit

Question Tools


Asked: 2012-07-24 07:31:25 -0500

Seen: 371 times

Last updated: Apr 20 '13