Fremantle versions pushed to Extras
authorAlan Bruce <qole@qole.org>
Wed, 5 May 2010 01:44:10 +0000 (18:44 -0700)
committerAlan Bruce <qole@qole.org>
Wed, 5 May 2010 01:44:10 +0000 (18:44 -0700)
fremantle/easy-deb-chroot/src/home/user/img-install/msgnotify [new file with mode: 0755]
fremantle/easy-deb-chroot/src/root/.gtkrc-2.0 [new file with mode: 0644]

diff --git a/fremantle/easy-deb-chroot/src/home/user/img-install/msgnotify b/fremantle/easy-deb-chroot/src/home/user/img-install/msgnotify
new file mode 100755 (executable)
index 0000000..a064d2d
--- /dev/null
@@ -0,0 +1,21 @@
+#!/bin/sh
+
+#Set the vibration pattern (see /etc/mce/mce.ini)
+vibrate_pattern=PatternIncomingMessage
+
+#Set the led pattern (see /etc/mce/mce.ini)
+led_pattern=PatternCommunicationIM
+
+#Set the sound file to play
+sound_file=$1
+#sound_file=/usr/share/sounds/chat-msg_in_bg.wav
+#sound_file=/usr/share/sounds/Message1.aac
+
+#Make the phone vibrate
+dbus-send --system --type=method_call --dest=com.nokia.mce /com/nokia/mce/request com.nokia.mce.request.req_vibrator_pattern_activate string:$vibrate_pattern
+
+#Play a sound
+aplay -q $sound_file
+
+#Make the led notification light blink
+dbus-send --system --type=method_call --dest=com.nokia.mce /com/nokia/mce/request com.nokia.mce.request.req_led_pattern_activate string:$led_pattern
diff --git a/fremantle/easy-deb-chroot/src/root/.gtkrc-2.0 b/fremantle/easy-deb-chroot/src/root/.gtkrc-2.0
new file mode 100644 (file)
index 0000000..7cd3ee5
--- /dev/null
@@ -0,0 +1,8 @@
+# DO NOT EDIT!  This file will be overwritten by LXAppearance.
+# Any customization should be done in ~/.gtkrc-2.0.mine
+
+gtk-theme-name="MurrinaNightOrange"
+gtk-icon-theme-name="nuoveXT2"
+gtk-font-name="Droid Sans 14"
+gtk-toolbar-style=2
+include "/home/user/.gtkrc-2.0.mine"