Desactivar impresión
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.
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.
Desactivar impresión
-
Cree o perfíl user que contén as seguintes liñas:
/etc/dconf/profile/user
user-db:user system-db:locallocal é o nome dunha base de datos dconf.
Create the directory /etc/dconf/db/local.d/ if it does not already exist.
-
Create the key file /etc/dconf/db/local.d/00-printing to provide information for the local database.
/etc/dconf/db/local.d/00-printing
# Especifica a ruta de dconf [org/gnome/desktop/lockdown] # Evita que as aplicacións poidan imprimir disable-printing=true -
To prevent the user from overriding these settings, create the file /etc/dconf/db/local.d/locks/printing with the following content:
/etc/dconf/db/local.d/locks/printing
# Lock printing settings /org/gnome/desktop/lockdown/disable-printing -
Actualizar a base de datos do sistema:
# dconf update Os usuarios deben pechar a sesión e iniciala de novo para que a configuración a nivel de sistema se aplique.