Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.

13.5. Locking Down Printing


You can disable the print dialog from being shown to users. This can be useful if you are giving temporary access to a user or you do not want the user to print to network printers.

Important

This feature will only work in applications which support it. Not all GNOME and third party applications have this feature enabled. These changes will have no effect on applications which do not support this feature.
You prevent applications from printing by locking down the org.gnome.desktop.lockdown.disable-printing key. Follow the procedure.

Procedure 13.5. Locking Down the org.gnome.desktop.lockdown.disable-printing Key

  1. Create the user profile if it already does not exist (/etc/dconf/profile/user):
    Copy to Clipboard Toggle word wrap
    user-db:user
    system-db:local
    
  2. Create a local database for machine-wide settings in etc/dconf/db/local.d/00-lockdown:
    Copy to Clipboard Toggle word wrap
    [org/gnome/desktop/lockdown]
      
    # Prevent applications from printing
    disable-printing=true
    
  3. Override the user's setting and prevent the user from changing it in /etc/dconf/db/local.d/locks/lockdown:
    Copy to Clipboard Toggle word wrap
    # List the keys used to configure lockdown
    /org/gnome/desktop/lockdown/disable-printing
    
  4. Update the system databases by running
    Copy to Clipboard Toggle word wrap
    # dconf update
Having followed these steps, applications supporting this lockdown key will disable printing. Among such applications there are Evolution, Evince, Eye of GNOME, Epiphany, and Gedit.
Nach oben
Red Hat logoGithubredditYoutubeTwitter

Lernen

Testen, kaufen und verkaufen

Communitys

Über Red Hat Dokumentation

Wir helfen Red Hat Benutzern, mit unseren Produkten und Diensten innovativ zu sein und ihre Ziele zu erreichen – mit Inhalten, denen sie vertrauen können. Entdecken Sie unsere neuesten Updates.

Mehr Inklusion in Open Source

Red Hat hat sich verpflichtet, problematische Sprache in unserem Code, unserer Dokumentation und unseren Web-Eigenschaften zu ersetzen. Weitere Einzelheiten finden Sie in Red Hat Blog.

Über Red Hat

Wir liefern gehärtete Lösungen, die es Unternehmen leichter machen, plattform- und umgebungsübergreifend zu arbeiten, vom zentralen Rechenzentrum bis zum Netzwerkrand.

Theme

© 2025 Red Hat, Inc.