How to Disable NVPModel Notifications? - Forecr.io

How to Disable NVPModel Notifications?

Jetson AGX Xavier | Jetson Nano | Jetson TX2 NX | Jetson Xavier NX

07 September 2021
WHAT YOU WILL LEARN?

1- How to disable NVPModel notification on the GUI interface?

2- How to disable NVPModel notification permanently on terminal?

2- How to disable NVPModel notification permanently with text editor?


ENVIRONMENT

Hardware: DSBOX-TX2NX

OS: JetPack 4.5.1






Disable NVPModel Notification on GUI Interface


In this blog post, we will disable NVPModel notifications in 3 different ways (temporarily in each startup on GUI interface; permanently on terminal and text editor).


In each startup, you can disable NVPModel notifications on GUI interface. Open your Jetson module (Our module is AGX Xavier). The NVPModel menu located at the right-up corner.



Click the NVPModel menu.



Click “Disable notification” under “Settings”. This will close the pop-up notifications (Current, temperature, storage etc.) until the system shuts down.


(Optional) Disable NVPModel Notification on Terminal


Open a terminal and check the default disabling Boolean value.



sudo cat /usr/share/nvpmodel_indicator/nvpmodel_indicator.py | grep -m 1 'notify_disable = '





Set the default value as “True” and check it again.



sudo sed -i 's/notify_disable = False/notify_disable = True/g' /usr/share/nvpmodel_indicator/nvpmodel_indicator.py

sudo cat /usr/share/nvpmodel_indicator/nvpmodel_indicator.py | grep -m 1 'notify_disable = '






As you can see that, the default value set as “True”. Then, reboot the system to restart the notification service again.


[Optional] Disable NVPModel Notification with Text Editor


Open the “nvpmodel_indicator.py” file in text editor (gedit) with sudo privileges. 



sudo gedit /usr/share/nvpmodel_indicator/nvpmodel_indicator.py






Find the “notify_disable” element and change its value as “True”.




Then, save this file and reboot the system to restart the notification service again. 

Thank you for reading our blog post.