Bug fix for no audible alert
This commit is contained in:
parent
63bc7d6fc4
commit
3349946e45
|
@ -29,7 +29,7 @@ Manual installation is not tested in any systems. I will update this page as soo
|
|||
|
||||
* Fedora 24: `libappindicator-gtk3`, `python-xlib`, `python-gobject`, `xorg-x11-utils`, `python-dbus`, `xprintidle` and `mpg123`
|
||||
|
||||
2: Download and extract [safeeyes.tar.gz](https://github.com/slgobinath/SafeEyes/releases/download/v1.1.3/safeeyes.tar.gz) into `/`: `sudo tar -xzvf safeeyes.tar.gz -C /`
|
||||
2: Download and extract [safeeyes.tar.gz](https://github.com/slgobinath/SafeEyes/releases/download/v1.1.4/safeeyes.tar.gz) into `/`: `sudo tar -xzvf safeeyes.tar.gz -C /`
|
||||
|
||||
If you have any issues in installing Safe Eyes, please report them [here](https://github.com/slgobinath/SafeEyes/issues)
|
||||
|
||||
|
@ -119,10 +119,14 @@ For more details, have a look at existing language files: [lang](https://github.
|
|||
|
||||
|
||||
## History
|
||||
Version 1.1.3:
|
||||
* Bug fix for no audible alert
|
||||
|
||||
Version 1.1.3:
|
||||
* Optional audible alert after breaks
|
||||
* Pause Safe Eyes if the system is idle for a given time. (Resume when user is active)
|
||||
* Bug fix for no break after fullscreen apps found
|
||||
* Dependency fix for Kubuntu
|
||||
|
||||
Version 1.1.2:
|
||||
* Bug fix for no break
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
safeeyes (1.1.3-1) xenial; urgency=medium
|
||||
safeeyes (1.1.4-1) xenial; urgency=medium
|
||||
|
||||
* Optional audible alert and pause Safe Eyes if system is idle
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
import gi
|
||||
gi.require_version('Gdk', '3.0')
|
||||
from gi.repository import Gdk, GLib
|
||||
import subprocess, threading, logging
|
||||
import os, subprocess, threading, logging
|
||||
|
||||
"""
|
||||
Play the alert.mp3
|
||||
|
@ -27,7 +27,7 @@ import subprocess, threading, logging
|
|||
def play_notification():
|
||||
logging.info("Playing audible alert")
|
||||
try:
|
||||
subprocess.Popen(['mpg123', '-q', 'resource/alert.mp3'])
|
||||
subprocess.Popen(['mpg123', '-q', os.path.join(os.path.dirname(os.path.realpath(__file__)), 'resource/alert.mp3')])
|
||||
except:
|
||||
pass
|
||||
|
||||
|
|
|
@ -44,7 +44,7 @@ system_language_directory = os.path.join(bin_directory, "config/lang")
|
|||
|
||||
is_active = True
|
||||
CONFIGURATION_VERSION = 2
|
||||
SAFE_EYES_VERSION = "1.1.3"
|
||||
SAFE_EYES_VERSION = "1.1.4"
|
||||
|
||||
"""
|
||||
Listen to tray icon Settings action and send the signal to Settings dialog.
|
||||
|
|
|
@ -8,7 +8,7 @@ Comment[fr]=Protégez vos yeux de la fatigue
|
|||
Comment[ta]=உங்கள் கண்களை சோர்வடையாது பாதுகாத்திடுங்கள்
|
||||
Exec=/opt/safeeyes/safeeyes
|
||||
Icon=safeeyes
|
||||
Version=1.1.3
|
||||
Version=1.1.4
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Categories=Utility;
|
||||
|
|
Loading…
Reference in New Issue