Repository navigation
Autostart
Language: English · 简体中文
./install.sh does not install an autostart entry — different Wayland
compositors have different startup mechanisms, and the right choice depends
on your workflow. Pick the snippet for your desktop.
Create ~/.config/autostart/seekey.desktop:
[Desktop Entry]
Type=Application
Name=Seekey
Comment=Keyboard visualizer overlay for Wayland
Exec=seekey
Terminal=false
Categories=Utility;
X-GNOME-Autostart-enabled=trueAdd to ~/.config/hypr/hyprland.conf:
exec-once = seekeyAdd to ~/.config/sway/config:
exec seekey
Add to ~/.config/niri/config.kdl:
spawn-at-startup "seekey"Add to ~/.config/river/init:
riverctl spawn seekeyAdd to ~/.config/wayfire.ini:
[autostart]
seekey = seekeyAdd to ~/.config/labwc/autostart (make it executable):
#!/bin/sh
seekey &Create ~/.config/systemd/user/seekey.service:
[Unit]
Description=Seekey keyboard visualizer
After=graphical-session.target
[Service]
Type=simple
ExecStart=/usr/local/bin/seekey
Restart=on-failure
[Install]
WantedBy=default.targetThen enable it:
systemctl --user enable --now seekey.serviceTip:
~/.local/bin(the defaultinstall.shprefix) is not on$PATHin some login sessions. Use the absolute path in the systemd unit (e.g.ExecStart=%h/.local/bin/seekey), or add~/.local/binto your shell rc.
Append any command-line flags (see Configuration#command-line-overrides)
to Exec/ExecStart/spawn as needed, e.g.:
ExecStart=/usr/local/bin/seekey --config /home/you/.config/seekey/config.iniGetting started
Behaviour & compatibility
Looks
For contributors
Reference