Lios
Customizable Rust GTK/VTE terminal emulator scaffolded from the initial Xfce Terminal-style reference in ../KnottTerminalRef.
Current Scope
- GTK4 window with a VTE terminal widget.
- Spawns the user's
$SHELL, with common Unix shell fallbacks. - Optional
-- COMMAND ...and--command "..."launch modes. - Reference-aligned defaults: black background, white foreground, Xfce palette,
Monospace 12, block cursor, 1,000 lines of scrollback. - Built-in themes:
xfce,xterm,solarized-dark,solarized-light,dark-pastels,green-on-black,black-on-white,white-on-black. - Background image support with image opacity, terminal background opacity, fixed color tint, or per-launch random accent tint.
- Optional window decoration/topbar removal.
- Topbar
Preferencesbutton for common live theme/background changes. - Terminal-driven config commands for theming from a shell or script.
- Clipboard/context actions for copy, copy as HTML, paste, select all.
- Keyboard shortcuts for
Ctrl+Shift+C,Ctrl+Shift+V,Ctrl+Shift+A,Ctrl++,Ctrl+-, andCtrl+0.
System Dependencies
Install Rust plus GTK4/VTE development packages.
Debian/Ubuntu names:
Arch names:
Run
Configuration
Lios reads ~/.config/lios/config.toml by default when it exists. Use --config path/to/config.toml to load another file.
[]
= "Lios"
= 960
= 640
= true # set false to remove the topbar/window decorations
[]
= "Monospace 12"
= 1000
[]
= "dark-pastels"
# Optional custom overrides:
# foreground = "#f8fafc"
# background = "#020617"
# cursor = "#a78bfa"
# palette = ["#000000", "#aa0000", "#00aa00", "#aa5500", "#0000aa", "#aa00aa", "#00aaaa", "#aaaaaa", "#555555", "#ff5555", "#55ff55", "#ffff55", "#5555ff", "#ff55ff", "#55ffff", "#ffffff"]
[]
= "/home/you/Pictures/wallpaper.jpg"
= 0.70
= 0.78
= "#7c3aed"
= 0.18
= false
CLI flags override the config file for one run.
The default topbar includes a Preferences button when decorated = true. The preferences panel can change theme, background image path, image opacity, terminal opacity, overlay color, overlay opacity, random overlay, and topbar visibility. Changes are applied live and written back to ~/.config/lios/config.toml when a config path is available.
Terminal config commands:
Useful keys include theme, font, background.image, background_opacity, background_image_opacity, overlay_color, overlay_opacity, random_overlay, and topbar.
Publish
The Cargo package is currently named lios and has crates.io metadata. Before the first real publish, confirm the name is available on crates.io and decide whether to keep the current MIT OR Apache-2.0 license.