Package Details: safeeyes 2.1.3-1

Git Clone URL: (read-only, click to copy)
Package Base: safeeyes
Description: A Free and Open Source tool for Linux users to reduce and prevent repetitive strain injury (RSI).
Upstream URL:
Keywords: eye-strain rsi safeeyes utility
Licenses: GPL3
Submitter: Yamakaky
Maintainer: gobinath
Last Packager: gobinath
Votes: 51
Popularity: 1.00
First Submitted: 2016-10-25 04:33 (UTC)
Last Updated: 2021-04-20 12:31 (UTC)

Latest Comments

nihalani commented on 2022-05-14 03:32 (UTC)

@hcra I ran into the same problem. It seems like the python-cronter dependency has become mandatory. I installed that and it seemed to work. @gobinath do you want to update the PKGBUILD to make it manditory.

hetoc88319 commented on 2022-02-19 08:10 (UTC) (edited on 2022-02-19 08:11 (UTC) by hetoc88319)

@E3LDDfrK hi, i also have the icon problem too. And strace safeeyes shows that it tried to access $HOME/.local/share/icons/hicolor/16x16/status/safeeyes_enabled.png.

In my case, this is a symlink to /usr/lib/python3.9/site-packages/safeeyes/platform/icons/hicolor/16x16/status/safeeyes_enabled.png. So after the python upgrade, the symlink is broken and safeeyes cannot display icons properly.

Just use find $HOME/.local/share/icons/ -iname 'safeeyes*' -delete to remove these symlinks, and the icon works again.

E3LDDfrK commented on 2022-02-17 13:33 (UTC) (edited on 2022-02-19 17:34 (UTC) by E3LDDfrK)

For what it's worth, rebuilding the package doesn't seem to solve the autostart and icon problem I mentioned below. I'm on xfce if it matters.

edit: Thanks hetoc88319. Deleting the symlinks and rebuild works for the icon problem. For autostart I just did it manually with desktop entry in ~/.config/autostart/. Perhaps there's a similar problem/solution for autostart too.

di72nn commented on 2021-12-20 20:15 (UTC) (edited on 2021-12-20 20:19 (UTC) by di72nn)

Python packages need a rebuild when python changes its version (because packages built with python 3.9 are installed into /usr/lib/python3.9/... and python 3.10 expects them in /usr/lib/python3.10/.... Simple rebuilding solves this).

It would be a good idea to bump pkgrel to indicate the need for a rebuild.

Yugami commented on 2021-12-20 15:59 (UTC)

@hcra The safeeyes-git version is working. But autostart is not working in that version too. Problem started with recent python package upgrade.

hcra commented on 2021-12-20 13:10 (UTC)

It doesn't start after many python packages got updated. Maybe this is an upstream problem after all I don't know.

Traceback (most recent call last):
  File "/bin/safeeyes", line 33, in <module>
    sys.exit(load_entry_point('safeeyes==2.1.3', 'console_scripts', 'safeeyes')())
  File "/bin/safeeyes", line 22, in importlib_load_entry_point
    for entry_point in distribution(dist_name).entry_points
  File "/usr/lib/python3.10/importlib/metadata/", line 919, in distribution
    return Distribution.from_name(distribution_name)
  File "/usr/lib/python3.10/importlib/metadata/", line 518, in from_name
    raise PackageNotFoundError(name)
importlib.metadata.PackageNotFoundError: No package metadata was found for safeeyes

E3LDDfrK commented on 2021-12-14 04:07 (UTC) (edited on 2021-12-21 04:50 (UTC) by E3LDDfrK)

Personally I find the autostart and icon don't work anymore. I'm on XFCE. And from quick test, it seems safeeyes-git package has the same problems.

I think it used to add a .desktop file inside ~/.config/autostart/ but perhaps they changed it?

Icons are still installed in usr/share/icons/hicolor, so not sure what went wrong with that. Basically it doesn't show icons in the .desktop file and in the panel tray applet. Also in notifications when a break is coming.

gobinath commented on 2021-05-13 12:34 (UTC) (edited on 2021-05-13 12:34 (UTC) by gobinath)

@kiankasad sorry for the late reply. I've create a new issue to track this plugin installation issue Pls note that the plugins can be added to the ~/.config/safeeyes/plugin folder. For more details, see

kiankasad commented on 2021-04-16 01:28 (UTC) (edited on 2021-04-16 01:33 (UTC) by kiankasad)

@gobinath I forgot that the weather plugin was a third-party one that I installed manually. Your logic makes total sense, since the plugin isn't part of the safeeyes package.

What do you think of creating a safeeyes-plugin-weather package that installs the plugin into /usr/lib/python3.9/site-packages/safeeyes/plugins/weather/? Is that a bad idea since we shouldn't be touching the site-packages/safeeyes/ directory since it's not technically part of the safeeyes python module?

gobinath commented on 2021-04-16 00:54 (UTC)

@kiankasad dependencies of third party plugins will not be added to the Safe Eyes installation package. Though we have only two plugins at the moment (weather and zoom), if the number of plugins grow, we may need to list a lot of optional dependencies here. At the moment, third party dependencies have to be installed manually and I have a plan to automate this process. By that time, we can have an option to install the dependencies automatically.

kiankasad commented on 2021-03-22 02:35 (UTC)

Would you mind adding python-pyowm to the optional dependencies list? It's required for the Weather plugin.

yochananmarqos commented on 2021-01-31 21:35 (UTC)

@piotrv: Fixed with python-croniter 1.0.5-2.

piotrv commented on 2021-01-31 20:24 (UTC)

Settings windows doesn't popup if optional python-croniter 1.0.5-1 has been installed

E3LDDfrK commented on 2021-01-03 08:29 (UTC)

It seems it lost its transparency on my Xfce desktop. I wonder if anyone else has the same problem? Or is it Xfce's fault? They had a big update recently that broke things.

yochananmarqos commented on 2020-12-26 19:12 (UTC) (edited on 2020-12-26 19:14 (UTC) by yochananmarqos)

@hexchain: See the open issue and here for the autostart entry.

hexchain commented on 2020-12-26 10:13 (UTC)

It seems that the .desktop file and the xdg autostart entry are gone.

yochananmarqos commented on 2020-12-25 17:56 (UTC)

This now requires python-croniter.

sinah commented on 2019-12-05 06:19 (UTC) (edited on 2019-12-05 07:18 (UTC) by sinah)

About the problem rusio have mentioned, the owner of the repository commented

in the corresponding issue. Does it eliminate the concerns?

I think it does. We should install safeeyes-git from AUR (as safeeyes does not contain the corresponding commit yet), and then deselect "Use RPC server ..." from UI or set "use_rpc_server" to false in ~/.config/safeeyes/safeeyes.json.

moskitos80 commented on 2019-11-17 10:34 (UTC) - the same problem! But I was reinstalled the package (with git pulling) and it's work! commented on 2019-11-17 10:05 (UTC)

After python 3.8 this version stoped working with this message:

Traceback (most recent call last): File "/usr/bin/safeeyes", line 6, in <module> from pkg_resources import load_entry_point File "/usr/lib/python3.8/site-packages/pkg_resources/", line 3251, in <module> def _initialize_master_working_set(): File "/usr/lib/python3.8/site-packages/pkg_resources/", line 3234, in _call_aside f(args, *kwargs) File "/usr/lib/python3.8/site-packages/pkg_resources/", line 3263, in _initialize_master_working_set working_set = WorkingSet._build_master() File "/usr/lib/python3.8/site-packages/pkg_resources/", line 583, in _build_master ws.require(requires) File "/usr/lib/python3.8/site-packages/pkg_resources/", line 900, in require needed = self.resolve(parse_requirements(requirements)) File "/usr/lib/python3.8/site-packages/pkg_resources/", line 786, in resolve raise DistributionNotFound(req, requirers) pkg_resources.DistributionNotFound: The 'safeeyes==2.0.9' distribution was not found and is required by the application

Rebuild didnt help, but git package works great.

rusio commented on 2019-06-07 18:54 (UTC) (edited on 2019-06-07 19:18 (UTC) by rusio)

I recently installed the package and after some routine activity on my PC with nmap scanning I discovered it was running an HTTP server on open port 7200. This is highly suspicious.

EDIT. I discovered that the programmer is aware of the issue, but has no plan to change it. If you continue using the application and trust the source you should block TCP 7200 in your Firewall at least. I myself have removed the application.

di72nn commented on 2018-08-13 18:45 (UTC)

The package needs to be rebuilt, otherwise this happens:

$ safeeyes
Traceback (most recent call last):
  File "/usr/bin/safeeyes", line 6, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python3.7/site-packages/pkg_resources/", line 3095, in <module>
  File "/usr/lib/python3.7/site-packages/pkg_resources/", line 3079, in _call_aside
    f(*args, **kwargs)
  File "/usr/lib/python3.7/site-packages/pkg_resources/", line 3108, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/lib/python3.7/site-packages/pkg_resources/", line 570, in _build_master
  File "/usr/lib/python3.7/site-packages/pkg_resources/", line 888, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python3.7/site-packages/pkg_resources/", line 774, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'safeeyes==2.0.6' distribution was not found and is required by the application

FredBezies commented on 2018-01-17 12:34 (UTC)

python-setuptools must be added in depends().

addictgamer commented on 2018-01-05 04:31 (UTC)

Had to install package python-setuptools, otherwise makepkg failed.

imdn commented on 2017-10-05 21:36 (UTC)

Like @third_man commented python-gobject is a necessary dependency. Without it you will encounter the following error: AttributeError: module 'gi' has no attribute 'require_version'

third_man commented on 2016-10-26 05:06 (UTC)

Please add python2-gobject as dependency. It provides necessary gi module.

knight_corvi commented on 2016-10-25 17:20 (UTC)

Are you using GNOME+Wayland by any chance? The application doesn't seem to be working for me. The process is there, but there is no tray icon I can click on the legacy tray bar. I will look further into the issue at any rate.