Sunday, May 5, 2024
3
rated 0 times [  3] [ 0]  / answers: 1 / hits: 681  / 1 Year ago, wed, december 14, 2022, 8:39:00

This is a partial case of the more general question "Don't bother non-admin users with admin questions":



I have several non-admin users on a computer and I want to disable software updates for all of them. I tried this:



# su wife -c gconftool -s --type bool /apps/update-notifier/auto_launch false
X11 connection rejected because of wrong authentication.
X11 connection rejected because of wrong authentication.
X11 connection rejected because of wrong authentication.
X11 connection rejected because of wrong authentication.


(I am logged on to the computer being administered via ssh).


More From » update-manager

 Answers
1

In newer versions of Ubuntu, there is a (hidden) per-user config option for this.



Just run (as the user for whom you want to disable notifications):



gsettings set com.ubuntu.update-notifier no-show-notifications true


Or, if you prefer doing things visually, run dconf-editor, browse to /com/ubuntu/update-notifier and enable the no-show-notifications option.



(Source)


[#31370] Wednesday, December 14, 2022, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
ionash

Total Points: 214
Total Questions: 111
Total Answers: 116

Location: Sudan
Member since Thu, May 7, 2020
4 Years ago
;