call xvkbd via a script, to allow transparency
authorPhilip Hands <phil@hands.com>
Mon, 12 Oct 2009 13:24:25 +0000 (14:24 +0100)
committerPhilip Hands <phil@hands.com>
Mon, 12 Oct 2009 13:24:25 +0000 (14:24 +0100)
debian/changelog
debian/control
debian/zavai.install
debian/zavai_launch_kbd [new file with mode: 0755]
src/app_keyboard.vala

index 477ac698ca2b5ab4cfd70801e9b1ebea9e5347ca..df42bca3190dbb0f076036eaf77078da887c2b61 100644 (file)
@@ -1,3 +1,15 @@
+zavai (0.0-4) unstable; urgency=low
+
+  * call xvkbd via a script to allow transparency to be added once it's up
+
+ -- unknown <phil@hands.com>  Sun, 11 Oct 2009 21:24:10 +0100
+
+zavai (0.0-3) unstable; urgency=low
+
+  *  pull Enrico's latest, and rebase my tweaks
+
+ -- unknown <phil@hands.com>  Sun, 11 Oct 2009 00:25:36 +0100
+
 zavai (0.0-2) unstable; urgency=low
 
   * switch to xvkbd
index 57d7dccadbc60e42734157d17ba2222b4497f38a..39071995747f93b1dfa530f3cebc36001ff15d5f 100644 (file)
@@ -8,7 +8,7 @@ Homepage: http://git.debian.org/?p=users/enrico/zavai.git
 
 Package: zavai
 Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, devicekit-power
+Depends: ${shlibs:Depends}, ${misc:Depends}, devicekit-power, xvkbd, transset-df
 Suggests: polygen, polygen-data
 Description: a UI for openmoko
  A useless thing of no value
index 697e6e4736360620062a699d33a3f447b916408f..743c10f5e553e0578e9d55f9298e012e32e96e07 100644 (file)
@@ -2,3 +2,4 @@ conf/zavai.conf etc/dbus-1/system.d
 icons usr/share/zavai
 src/display usr/share/doc/zavai/examples
 debian/zavai_forever usr/bin
+debian/zavai_launch_kbd usr/bin
diff --git a/debian/zavai_launch_kbd b/debian/zavai_launch_kbd
new file mode 100755 (executable)
index 0000000..8a96dc3
--- /dev/null
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+# I'm sure there is some clever way to make the WM inflict transparency on the keyboard,
+# but I don't know what it is, so for now a dodgy hack
+
+make_transparent() {
+  sleep 5
+  /usr/bin/transset-df -n xvkbd .4
+}
+
+make_transparent &
+exec /usr/bin/xvkbd
index 63d2e80cacecc603e76d92fc739c9bf3ab8a5a51..66f6600129ab75905a7f33332ee54733bdf3cd93 100644 (file)
@@ -42,7 +42,7 @@ public class Keyboard : Service
 
        protected override void start()
        {
-               string[] args = { "/usr/bin/xvkbd", null };
+               string[] args = { "/usr/bin/zavai_launch_kbd", null };
                int opid;
                try {
                        Gdk.spawn_on_screen(