[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[PATCH] An example hook script to disable "DRM" on kpdf



It apears that many people don't like the default of kpdf (in KDE3) and
Okular (in KDE4) of obeying the "DRM" limitations. Bad defaults are
naturally a more stressing issue on a live system.

This example hook script should make it simpler for you to change the
default on your live Lenny system.
---
 examples/hooks/kpdf-nodrm.sh |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)
 create mode 100644 examples/hooks/kpdf-nodrm.sh

diff --git a/examples/hooks/kpdf-nodrm.sh b/examples/hooks/kpdf-nodrm.sh
new file mode 100644
index 0000000..76d4fe2
--- /dev/null
+++ b/examples/hooks/kpdf-nodrm.sh
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+# (Lenny, KDE)
+#
+# If you don't like the "DRM" protection that is enabled by default in 
+# kpdf, save your users unnecessary "four clicks".
+cat <<EOF >/etc/kde3/kpdfpartrc
+[General]
+ObeyDRM=false
+EOF
-- 
1.5.6.5


-- 
               Tzafrir Cohen
icq#16849755              jabber:tzafrir.cohen@xorcom.com
+972-50-7952406           mailto:tzafrir.cohen@xorcom.com
http://www.xorcom.com  iax:guest@local.xorcom.com/tzafrir


Reply to: