Categories: DesktopLinuxUbuntu

Turn Off/Disable Notifications on your Ubuntu’s Lock Screen

Notifications on Ubuntu are designed to catch your attention while you are busy in some other task. The feature is, of course, helpful in reminding you if a shift of focus is needed for another task but sometimes it might become a hindrance as well. I, for example, have never been a fan of notifications displayed on my Ubuntu’s lock screen. The purpose of the lock screen is to lock out my activities from other people, so why should notifications pop up from nowhere and let them know what I am up to. Fortunately, through a little tweak, you can tell your Ubuntu to turn off these notifications that are costing you your privacy.

In this article, we will explain how you can turn off notifications on your lock screen through the Dconf Editor.

We have run the commands and procedures mentioned in this article on a Ubuntu 18.04 LTS.

Using the Dconf Editor to Disable Lock Screen Notifications

In order to configure your notification settings through the dconf Editor, you first need to install it by running the following command in your Ubuntu Terminal:

$ sudo apt-get install dconf-editor

You can open the Terminal either through the system Dash or the Ctrl+Alt+T shortcut.

Please enter the password for sudo in case you are asked to do so as only an authorized user can install/uninstall and configure software on Ubuntu.

You can launch the Dconf Editor through the GUI by searching for it through the system Dash:

Or, launch it through the command line by entering the following command in your Terminal:

$ dconf-editor

The dconf Editor will launch, displaying the following message:

The message means that you need to be very careful while performing system configurations as it might mess up with sensitive settings and break down your system. After clicking the “I’ll be careful” button, search for “notifications” through the search button. This will display the following results:

Click on the /org/gnome/desktop/notifications folder. This will open the following view:

Try to locate the "show-in-lock-screen" slider button as shown above. This button is turned on by default which means that notifications are enabled to be displayed on your lock screen. Turn the button off and close the Dconf Editor; no more notifications will be displayed for you when you are (or aren’t) on your Ubuntu’s lock screen.

Although Dconf Editor is a very useful tool for editing system configurations, you can uninstall it through the following command whenever you need to:

$ sudo apt-get remove dconf-editor

Now, you do not need to worry about your privacy while you are away from your system!

Karim Buzdar

About the Author: Karim Buzdar holds a degree in telecommunication engineering and holds several sysadmin certifications. As an IT engineer and technical author, he writes for various web sites. You can reach Karim on LinkedIn

Recent Posts

How to Install Magento 2 on AlmaLinux

Magento is a free and open-source e-commerce platform written in PHP. It is simple, easy…

1 year ago

How to Install ISPConfig Hosting Control Panel with Apache Web Server on Ubuntu 24.04

ISPConfig is an open-source control panel that allows users to manage multiple servers from a…

1 year ago

How to Test your Email Server (SMTP) Using the Telnet Command

As a Linux administrator, you may find it necessary to troubleshoot or test your Simple…

1 year ago

Managing Network Interfaces and Settings on Ubuntu 24.04 with nmcli

Ubuntu 24.04, like many modern Linux distributions, relies on the NetworkManager for managing network connections.…

2 years ago

Using Restic Backup on Ubuntu 24.04

Restic is a modern, open-source backup program designed for efficiency, security, and simplicity. It enables…

2 years ago

Installing phpMyAdmin on Rocky Linux 9 and Securing it with Let’s Encrypt SSL

phpMyAdmin is a popular free tool written in PHP intended to administer MySQL and MariaDB…

2 years ago