Changing Eyeglass UI Behavior
Overview
The Eyeglass UI has a few behaviors that can be adjusted by editing configuration files directly on the appliance. This guide covers extending the auto-logout timer, disabling the login page notification feed, and extending the API timeout for long-running requests.
Extend the GUI Auto-Logout Timer
Requires version 2.5.8.2 or later.
-
Log in to Eyeglass as
admin, then elevate to root:sudo -s -
Edit the configuration file:
nano /opt/superna/sca/data/system.xml -
Under the
<process>section, add the timeout tag. The value is in milliseconds — take the number of minutes and multiply by 60000. For example:- 30 minutes = 1800000
- 1 hour = 3600000
<uitimeout>1800000</uitimeout> -
Press
Ctrl+Xto save and exit. -
Restart the service:
systemctl restart sca
Disable the Login Page Notification Feed
Requires version 2.5.6 or later.
- Log in to Eyeglass via SSH as
admin, then elevate to root:sudo -s - Edit the file:
nano /srv/www/htdocs/eyeglass/js/eyeglass_globals.js - Locate the tag
twitter_feed_enabled:!0and change it totwitter_feed_enabled:0(remove the!character before the0).- Press
Ctrl+Wand typetwitterto jump to the correct section. - Use the arrow keys to move to the
!character and delete it.
- Press
- Save the file: press
Ctrl+X, then typeYto confirm. - Refresh the UI in your browser — the notification feed will no longer appear.
This change is not persistent across upgrades.
Extend the UI API Timeout for Long-Running Requests
When Eyeglass manages a large number of objects, some long-running GUI operations — such as an Unlock My Files search with Cluster Storage Monitor — can exceed the default timeout.
The default value is 45 seconds. To change it:
- Log in to Eyeglass via SSH.
- Open the file:
vim /srv/www/htdocs/eyeglass/js/eyeglass_globals.js - Type
/to search, type45, and press Enter. The cursor will land on the section reading{ajax_get_timeout_seconds:45. - Press
xtwice to delete the45. - Press
ito enter insert mode, type the new value (e.g.90for 90 seconds), then pressEscto exit insert mode. - Type
:wqand press Enter to write and save. - Refresh the UI page — the new timeout now applies.