The work round I use is a *.desktop file in ~/.config/autostart pointing
to a script that does:

#! /bin/bash

REMOTE_DEVICE=/dev/lirc0
export DISPLAY=:0.0

namePath="/sys/`udevadm info -q path -n $REMOTE_DEVICE`/../input*/name"
xinputLine=`xinput list | grep "$(cat $namePath)"`
id=`expr substr "$xinputLine" $(expr $(expr index "$xinputLine" "=") + 1) 100 | 
awk '{print $1}'`
propID=`xinput list-props $id | grep Enabled | awk '{print $3}'`
propID=${propID#"("}
propID=${propID%"):"}

xinput set-prop $id $propID 0


It isn't pretty, but it's working for me until there is a proper fix.

-- 
Streamzap remote control not operating correctly
https://bugs.launchpad.net/bugs/663651
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to