Suggestion: Ubuntu Tweak Startup Check

Bug #703590 reported by Ding Zhou
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Ubuntu Tweak
Confirmed
Undecided
Unassigned

Bug Description

Hi again,

I'm wondering if maybe this feature is already included in UT, but to be sure I'll ask for it the same.

I suggest a startup check for Network availability and for program interferences (such as synaptic, a terminal running 'sudo apt-get ....', etc.) and for the battery status.

For the network part, a test on

ping -c 1 www.google.*

or similar wuold do the trick.

In a 'no network' case, some features would be disabled (entering a minimal UT mode) or a warning displayed or both.

For the 'interferences part', there is a part of a script of Alin Andrei ( http://www.webupd8.org ):

for lock in synaptic update-manager software-center apt-get dpkg aptitude; do
   if ps -U root -u root u | grep $lock | grep -v grep > /dev/null; then
       * $lock is currently active *
   fi
done

This is bash but I think you can easily understand it.

That can prevent some errors using 2 synaptic or similar.

The last one can be useless (maybe the 2 above too), but I suggest it the same, the battery check.

A control if the computer is running with just the battery on.

If the battery is low, a warning can be displayed before the program start up to remind that the program can have some errors due to an imminent and forced shut down.

If the battery is critical, a similar warning wuold be shown only (with critical battery it's very very possibly that the program would shut down while doing something important) and the program wuold close itself after.

Ding Zhou (tualatrix)
Changed in ubuntu-tweak:
milestone: none → 0.6.0
Revision history for this message
J. Austin Rodriguez (jeanaustinr) wrote :

Thanks for reporting this bug and any supporting documentation. Since this bug has enough information provided for a developer to begin work, we're going to mark it as confirmed and let someone from the group tag it as Wishlist. Thank you for taking the time to make Ubuntu and Ubuntu Tweak better!

Changed in ubuntu-tweak:
status: New → Confirmed
Ding Zhou (tualatrix)
Changed in ubuntu-tweak:
milestone: 0.6.0 → none
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.