From 0b1f52439a5b860ce73f04f75077b870d02a00b1 Mon Sep 17 00:00:00 2001 From: Robby Workman Date: Sun, 21 Jul 2019 01:37:15 -0500 Subject: desktop/icewm: Updated for version 1.4.2. Signed-off-by: Robby Workman --- desktop/icewm/config/icewm-sleep | 18 ++++++++++++++++++ desktop/icewm/config/shutdown | 9 +++++++++ desktop/icewm/config/startup | 11 +++++++++++ 3 files changed, 38 insertions(+) create mode 100644 desktop/icewm/config/icewm-sleep create mode 100644 desktop/icewm/config/shutdown create mode 100644 desktop/icewm/config/startup (limited to 'desktop/icewm/config') diff --git a/desktop/icewm/config/icewm-sleep b/desktop/icewm/config/icewm-sleep new file mode 100644 index 0000000000..21ff523ab6 --- /dev/null +++ b/desktop/icewm/config/icewm-sleep @@ -0,0 +1,18 @@ +#!/bin/bash + +# This is used for Slackware 14.2 +/usr/bin/dbus-send \ + --system \ + --print-reply \ + --dest="org.freedesktop.UPower" \ + /org/freedesktop/UPower \ + org.freedesktop.UPower.Suspend 2>/dev/null + +# This will be needed instead in Slackware 15.0 +#/usr/bin/dbus-send \ +# --system \ +# --print-reply \ +# --dest="org.freedesktop.ConsoleKit" \ +# /org/freedesktop/ConsoleKit/Manager \ +# org.freedesktop.ConsoleKit.Manager.Suspend \ +# boolean:true diff --git a/desktop/icewm/config/shutdown b/desktop/icewm/config/shutdown new file mode 100644 index 0000000000..e4fa7d5fcc --- /dev/null +++ b/desktop/icewm/config/shutdown @@ -0,0 +1,9 @@ +#!/bin/bash + +# /usr/share/icewm/shutdown +# This script is used to execute additional commands at icewm session exit + +# killall xscreensaver +# killall nm-applet +# killall polkit-gnome-authentication-agent-1 + diff --git a/desktop/icewm/config/startup b/desktop/icewm/config/startup new file mode 100644 index 0000000000..3974421601 --- /dev/null +++ b/desktop/icewm/config/startup @@ -0,0 +1,11 @@ +#!/bin/bash + +# /usr/share/icewm/startup +# This script is used to execute additional commands at icewm startup +# The "sleep 1" is necessary if you will be starting anything with a tray icon + +# sleep 1 +# /usr/libexec/polkit-gnome-authentication-agent-1 & +# /usr/bin/nm-applet & +# /usr/bin/xscreensaver -nosplash & + -- cgit v1.2.3