Preventing computer eye strain
Sight Saver
If you work or study from a home office, you probably sit at your computer for hours without a break. Safe Eyes reminds you to take regular breaks and take care of your eyes.
At first glance, working from home seems very convenient. You save time on your commute, money on transportation costs, and avoid overcrowded buses or trains. However, occupational safety often falls by the wayside at home. Most likely, you don't have an ergonomic workstation, and you don't turn away from your screen for a short conversation with a coworker or leave your desk for a meeting on another floor or adjoining building. Instead, your gaze remains fixed on the screen for hours.
At home, the responsibility for taking breaks and evenly spacing out your work falls entirely into your hands. You can use a Pomodoro timer [1] to regularly remind you to take breaks. However, if you continue to stare at the screen during your break – maybe surfing the web or watching a movie – you aren't giving your eyes time to recover.
If you find it difficult to move away from your screen, you may want to add Safe Eyes to your break time routine. An open source application developed for the Gnome desktop, Safe Eyes blacks out and locks your screen for a few seconds for each break (Figure 1), forcing you to actually stop working. Based on recommendations from medical experts, Safe Eyes implements several shorter breaks rather than a few longer ones.
Installation
Safe Eyes is not yet included in the package sources of the popular distributions, but the developers do provide installation instructions for them on both their website [2] and their GitHub page [3]. Safe Eyes offers a PPA for the simplest possible installation on Ubuntu (Listing 1). On Arch Linux, Safe Eyes can be installed using the safeeyes package from the Arch User Repository.
Listing 1
Installation on Ubuntu
$ sudo add-apt-repository ppa:slgobinath/safeeyes $ sudo apt update $ sudo apt install safeeyes
Safe Eyes starts automatically in the background when you log in to your desktop. The startup behavior can be managed in Gnome using the Gnome Tweak Tool (in the application menu below Optimizations) by clicking on the Startup Applications tab. If you select Safe Eyes from the application menu, the program opens its settings. You then have the option of configuring the interval between breaks as well as their length. You can also specify whether breaks can be postponed or skipped (Figure 2).
Respite for the Eyes
In the Breaks tab, you define the breaks, which are usually selected at random. Safe Eyes distinguishes between short breaks of 15 seconds (every 15 minutes) and longer breaks of 60 seconds (every 75 minutes). You can adjust or delete the breaks entered in the standard configuration based on your preferences (Figure 3). If you make a mistake while configuring, you can reenable the application's default settings by clicking on the eye symbol in the top left corner of the application window and selecting the Reset menu item.
In the Plugins tab, you can enable further functions. For example, the Do Not Disturb plugin will not interrupt the display if a program is running in fullscreen mode, for instance, when playing a video (Figure 4). You can also define other programs here that you do not want Safe Eyes to interrupt under any circumstances. The window titles are determined by the command
xprop | grep WM_CLASS
followed by a click on the application in question. However, this does not work with Wayland.
Conclusions
Safe Eyes, the Pomodoro timer, or shifting your screen's color temperature to warm in the evening (Settings | Screens | Night mode in Gnome) can help protect your eyes and enable concentrated work over longer periods of time. However, it is ultimately up to you to avoid looking at your cell phone during scheduled breaks. Instead, get up, move around, and let your eyes wander into the distance.
Infos
- Pomodoro timer: https://pomofocus.io
- Safe Eyes: http://slgobinath.github.io/SafeEyes
- Github repository: https://github.com/slgobinath/SafeEyes
Buy this article as PDF
(incl. VAT)
Buy Linux Magazine
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.
News
-
Thousands of Linux Servers Infected with Stealth Malware Since 2021
Perfctl is capable of remaining undetected, which makes it dangerous and hard to mitigate.
-
Halcyon Creates Anti-Ransomware Protection for Linux
As more Linux systems are targeted by ransomware, Halcyon is stepping up its protection.
-
Valve and Arch Linux Announce Collaboration
Valve and Arch have come together for two projects that will have a serious impact on the Linux distribution.
-
Hacker Successfully Runs Linux on a CPU from the Early ‘70s
From the office of "Look what I can do," Dmitry Grinberg was able to get Linux running on a processor that was created in 1971.
-
OSI and LPI Form Strategic Alliance
With a goal of strengthening Linux and open source communities, this new alliance aims to nurture the growth of more highly skilled professionals.
-
Fedora 41 Beta Available with Some Interesting Additions
If you're a Fedora fan, you'll be excited to hear the beta version of the latest release is now available for testing and includes plenty of updates.
-
AlmaLinux Unveils New Hardware Certification Process
The AlmaLinux Hardware Certification Program run by the Certification Special Interest Group (SIG) aims to ensure seamless compatibility between AlmaLinux and a wide range of hardware configurations.
-
Wind River Introduces eLxr Pro Linux Solution
eLxr Pro offers an end-to-end Linux solution backed by expert commercial support.
-
Juno Tab 3 Launches with Ubuntu 24.04
Anyone looking for a full-blown Linux tablet need look no further. Juno has released the Tab 3.
-
New KDE Slimbook Plasma Available for Preorder
Powered by an AMD Ryzen CPU, the latest KDE Slimbook laptop is powerful enough for local AI tasks.