Commit 59ee797d authored by Michael Liang's avatar Michael Liang
Browse files

le-interface: fix lock-screen and switch user


Signed-off-by: default avatarMichael Liang <ml09@c3sl.ufpr.br>
parent 053c0efe
......@@ -31,6 +31,9 @@ gsettings set org.gnome.shell enabled-extensions "['le_search@le.c3sl.ufpr.br','
if [ "$user" = "aluno" ]; then
gsettings set 'org.gnome.desktop.lockdown' 'disable-lock-screen' 'true'
gsettings set 'org.gnome.desktop.lockdown' 'disable-user-switching' 'true'
else
gsettings set 'org.gnome.desktop.lockdown' 'disable-lock-screen' 'false'
gsettings set 'org.gnome.desktop.lockdown' 'disable-user-switching' 'false'
fi
# Applies settings in Fallback
if pgrep gnome-fallback; then
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment