This function is used to disable and lock down the native printing dialogue box for a certain applications that supports its form factors and 100% compatibility with this printing dialogue box that is shown during the printing commands executions. This tutorial is useful to those who don’t want any printing supports for respective users to lock down support for the  printer that is connected via network and desktop methods.

Step-1 (Create a user profile on system database)
[[email protected] ~]# vim /etc/dconf/profile/user

Add the User name to the file if don’t have user name then create it from this configuration settings.


To edit hit the i after that to Save and exit :wq!

Note: Replace the db name of user with own list of users followed by the name of users , types of system db. etc.

Step-2 (Create a lockdown file for local database)
[[email protected] ~]# vim /etc/dconf/db/local.d/00-lockdown

Add these entries to that files


To edit hit the i after that to Save and exit :wq!

Step-3 (Restrict these changes for user and prevent it for changes)
[[email protected] ~]# vim /etc/dconf/db/local.d/locks/lockdown

Add these entries to that files


To edit hit the i after that to Save and exit :wq!

Step-4 (Finally update the System Database)
[[email protected] ~]# dconf update

These setting are successfully working with only Gnome bundled applications like gedit, Evolution, Document viewer, etc.

That’s all for now.

How to Install cPanel and WHM on CentOS / RHEL

Previous article

How to Schedule Automatic Shutdown on Windows 10

Next article

You may also like


Leave a reply

Your email address will not be published. Required fields are marked *

More in Linux