Repository navigation
Reduce Motion in the Terminal
In desktop mode a dialog's entrance is a smooth, short glide. In a terminal the same entrance plays as two coarse frames, and a text effect (Sci-Fi's arriving text, for one) redraws the screen again and again, which you can feel over a slow SSH link. This recipe turns that motion off in the terminal and leaves desktop mode as it is.
REDUCED_MOTION is one switch for all decorative motion, and is_desktop_mode()
tells the configuration which mode XeFM started in. Open
Tools → Edit Configuration… and add the import above class Config:, and
the setting inside it:
from xefm.user_api import is_desktop_mode
class Config:
REDUCED_MOTION = not is_desktop_mode()Restart XeFM. Reload Configuration does not apply this setting, because XeFM reads it once at launch.
- Dialogs appear at once, without the inset frame first.
- Text appears immediately instead of typing or decoding itself into place.
Progress indicators, file-list reloads, search results and other functional updates keep running as before. Nothing is hidden: everything lands in its final state.
Dialog entrances, text effects, animated theme backgrounds and CRT effects all keep running. Animated backgrounds never run in a terminal in the first place, so this setting has no background to stop there.
"Terminal" here means --backend tui (the default) or curses. The browser
backend (--backend web) counts as desktop mode, so it keeps its motion too.
Related: Reduced motion, Configuration.