simplified condition of ubuntu notifier