mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2026-02-26 20:58:10 +01:00
chromium: disable printing
This commit is contained in:
parent
111964260b
commit
22afda5dd8
@ -60,7 +60,7 @@ ln -nsfv /etc/firefox /etc/firefox-esr
|
||||
|
||||
# Chromium
|
||||
mkdir -vp /etc/opt/chromium/policies/{managed,recommended}
|
||||
cp opt/chromium/policies/managed/aminda-{extensions,pwa}.json /etc/opt/chromium/policies/managed/
|
||||
cp opt/chromium/policies/managed/aminda-{extensions,printing,pwa}.json /etc/opt/chromium/policies/managed/
|
||||
setfacl --recursive --modify=u:root:rwX,g:root:rwX,o:rX /etc/opt/chromium/policies
|
||||
chmod -v a+rx /etc/opt/chromium/policies/
|
||||
chmod -v a+rx /etc/opt/chromium/policies/{managed,recommended}/
|
||||
|
||||
5
etc/opt/chromium/policies/managed/aminda-printing.json
Normal file
5
etc/opt/chromium/policies/managed/aminda-printing.json
Normal file
@ -0,0 +1,5 @@
|
||||
{
|
||||
"DisablePrintPreview": true,
|
||||
"PrintingEnabled": false,
|
||||
"aminda_printing_comment": "Chromium only prints mess and even if system dialog happened to fix that, it wouldn't disobey document fonts in print"
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user