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
-
Canonical Offers 12-Year LTS for Open Source Docker Images
Canonical is expanding its LTS offering to reach beyond the DEB packages with a new distro-less Docker image.
-
Plasma Desktop 6.1 Released with Several Enhancements
If you're a fan of Plasma Desktop, you should be excited about this new point release.
-
SUSE Offers CentOS 7 Support with Liberty Linux Lite
SUSE's Liberty Linux support offering now includes CentOS 7, which means businesses won't be forced to migrate those servers for some time.
-
Ubuntu's App Center Finally Supports Local Installs Again
If you regularly download .deb files and would prefer a GUI method of installing, Ubuntu has your back.
-
AlmaLinux Now Supports Raspberry Pi 5
If you're looking to create with the Raspberry Pi 5 and want to use AlmaLinux as your OS, you're in luck because it's now possible.
-
Kubuntu Focus Releases New Iterations of Ir14 and Ir16 Laptops
If you're a fan of the Kubuntu Focus laptops or have been waiting for the right time to purchase one, that time might be now.
-
NixOS 24.05 Is Ready for Prime Time
The latest release of NixOS (Uakari) has arrived and offers its usual reproducible, declarative, and reliable goodness.
-
Linux Lite 7.0 Officially Released
Based on Ubuntu 24.04 and kernel 6.8, Linux Lite version 7 now offers more options than ever.
-
KaOS Linux 2024.05 Adds Bcachfs Support and More
With updates all around, KaOS Linux now includes support for the bcachefs file system.
-
TUXEDO Computers Unveils New Iteration of the Stellaris Laptop Line
The Stellaris Slim 15 is the 6th generation and includes either an AMD or Intel CPU