summarylogtreecommitdiffstats
path: root/gtk3-nocsd.install
diff options
context:
space:
mode:
Diffstat (limited to 'gtk3-nocsd.install')
-rw-r--r--gtk3-nocsd.install14
1 files changed, 12 insertions, 2 deletions
diff --git a/gtk3-nocsd.install b/gtk3-nocsd.install
index 604ac622dd4b..f1c8007652c3 100644
--- a/gtk3-nocsd.install
+++ b/gtk3-nocsd.install
@@ -1,6 +1,16 @@
function post_install {
- echo "You need to restart your X session to apply the changes."
- echo "Note that in gnome sessions, or when the files in '/etc/X11/xinit/xinitrc.d/' do not get executed, this package is no automatically activated and must be used per application by '/usr/bin/gtk3-nocsd'."
+ printf '\n'
+ printf '%s\n' "=== gtk3-nocsd: Usage instructions. === "
+ printf '\n'
+ printf '%s\n' "In order to automatically preload 'libgtk3-nocsd.so' at X session startup, copy"
+ printf '%s\n' "'/usr/share/doc/gtk3-nocsd/etc/xinit/xinitrc.d/30-gtk3-nocsd.sh' to '/etc/X11/xinit/xinitrc.d/30-gtk3-nocsd.sh'."
+ printf '%s\n' "Otherwise, individual programmes can be run with GTK3 client side decoration disabled by running them"
+ printf '%s\n' "as 'gtk3-nocsd <command> [<command arguments>]'. See 'man 1 gtk3-nocsd'."
+ printf '\n'
+ printf '%s\n' "Note that even when '/etc/X11/xinit/xinitrc.d/30-gtk3-nocsd.sh' is copied, in gnome sessions, or when"
+ printf '%s\n' "the files in '/etc/X11/xinit/xinitrc.d/' do not get executed, gtk3-nocsd is no automatically activarted"
+ printf '%s\n' "and must also be used per application via 'gtk3-nocsd <command> [<command arguments>]'."
+ printf '\n'
}
function post_upgrade {