try executing this command after entering root from sudo gainroot python /usr/share/lfocus/lfocus.py tell me if it works or not, thanks