From b01e68338850279d8cace41ee17e47108f603540 Mon Sep 17 00:00:00 2001 From: chrys Date: Mon, 13 Feb 2017 21:47:44 +0100 Subject: [PATCH] fix shellbang, clipboard paste and add version announcement for evdev --- README.md | 2 +- src/fenrir/fenrir | 2 +- src/fenrir/fenrir-daemon | 2 +- src/fenrir/screenDriver/vcsa.py | 1 - 4 files changed, 3 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index eebcc3a8..dcc52493 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ This software is licensed under the LGPL v3 . # requirements (core) - linux - python3 -- python-evdev +- python-evdev >=0.6.3 - loaded uinput kernel module - Read permission to the following files: - /sys/devices/virtual/tty/tty0/active diff --git a/src/fenrir/fenrir b/src/fenrir/fenrir index 7a36955b..fce4baac 100755 --- a/src/fenrir/fenrir +++ b/src/fenrir/fenrir @@ -1,4 +1,4 @@ -#!/bin/python3 +#!/usr/bin/env python3 # -*- coding: utf-8 -*- # Fenrir TTY screen reader diff --git a/src/fenrir/fenrir-daemon b/src/fenrir/fenrir-daemon index 85b62e52..41b3bc27 100755 --- a/src/fenrir/fenrir-daemon +++ b/src/fenrir/fenrir-daemon @@ -1,4 +1,4 @@ -#!/bin/python3 +#!/usr/bin/env python3 # -*- coding: utf-8 -*- # Fenrir TTY screen reader diff --git a/src/fenrir/screenDriver/vcsa.py b/src/fenrir/screenDriver/vcsa.py index f0d4751b..7184af24 100644 --- a/src/fenrir/screenDriver/vcsa.py +++ b/src/fenrir/screenDriver/vcsa.py @@ -35,7 +35,6 @@ class driver(): with open(useScreen, 'w') as fd: for c in text: fcntl.ioctl(fd, termios.TIOCSTI, c) - time.sleep(0.005) def getCurrApplication(self): apps = []