I am setting up a Lab machine to be used by students, running Ubuntu 20.04.
I'd like to remove all power options from the menu, except Switch User and Logout.
I followed the instructions in this manual, and added the line disable-restart-buttons=true
to the file.
Is there something similar for the session?
EDIT: In Ubuntu 16.04 / Unity I managed the same by creating a file named 10_hide_user_list.gschema.override
, with the following lines: [com.canonical.indicator.session]
, suppress-restart-menuitem=true
and suppress-shutdown-menuitem=true
. I then placed the file in the /usr/share/glib-2.0/schemas/
directory.
0 Answers