Ubuntu Integration
This guide covers the supported Ubuntu desktop integration path for the Terminal Agent popup GUI.
What this does
Running task integration:ubuntu installs the popup GUI for the current user and configures the desktop launcher path around ~/.local/bin/agent-gui.
The integration script performs these steps automatically:
- checks that the host is Ubuntu (
ID=ubuntu) - installs missing Fyne desktop build dependencies with
apt-get - builds
agent-gui - installs
agent-guito~/.local/bin/agent-gui - installs a desktop entry in
~/.local/share/applications/terminal-agent-gui.desktop - installs the popup icon in the user icon directory
- refreshes the desktop application database when available
- validates the desktop entry
- detects GNOME or KDE Plasma and prepares the supported shortcut path for that desktop
- supports
--uninstallto remove the installed user-scoped integration files and shortcut configuration
Run the integration
To uninstall the Ubuntu integration:
The script is user-scoped. It installs the launcher and binary in your home directory.
Resulting behavior
After setup:
agent-guistarts the popup app normallyagent-gui --showreopens the hidden popup in the existing instanceagent-gui --newstarts a separate isolated popup instance for local testing- pressing
Escapehides the popup - the desktop shortcut is configured to run
agent-gui --show - the popup
Settingsbutton updates the shared default provider/model used by GUI asks
Ubuntu GNOME
On GNOME, the integration script configures a custom shortcut for ~/.local/bin/agent-gui --show using gsettings.
Default shortcut:
If that binding conflicts with your current setup, change it in the GNOME keyboard shortcut settings after the script finishes.
Ubuntu KDE Plasma
On KDE Plasma, the current verified working path is desktop-entry discovery through Plasma Shortcuts.
After running task integration:ubuntu, Plasma discovers the installed Terminal Agent Popup launcher in the Shortcuts settings. You can then assign a shortcut to that discovered application entry, and Plasma will launch the popup even when agent-gui is not already running.
Suggested setup steps:
- Run
task integration:ubuntu. - Open
System Settings->Keyboard->Shortcuts. - Find
Terminal Agent Popupin the applications list. - Select it and add a shortcut such as
Ctrl+Shift+Space. - Save the shortcut.
Default shortcut:
Fallback if Plasma does not expose the application entry correctly:
- Open
System Settings->Keyboard->Shortcuts. - Create a custom command shortcut.
- Set the command to
~/.local/bin/agent-gui --show. - Bind
Ctrl+Shift+Spaceor another available shortcut.
Files installed
~/.local/bin/agent-gui
~/.local/share/applications/terminal-agent-gui.desktop
~/.local/share/icons/hicolor/256x256/apps/terminal-agent.png
These files are removed again by scripts/integ_ubuntu.sh --uninstall.
Verification
The script validates the desktop entry and checks that the installed binary is runnable.
You can also verify manually:
~/.local/bin/agent-gui
~/.local/bin/agent-gui --show
~/.local/bin/agent-gui --new
desktop-file-validate ~/.local/share/applications/terminal-agent-gui.desktop
Troubleshooting
If shortcut automation does not complete:
- confirm whether you are running GNOME or KDE Plasma
- verify that
~/.local/binis present and readable - run
~/.local/bin/agent-gui --showdirectly to confirm the popup path works - on KDE Plasma, first try the discovered
Terminal Agent Popupapplication entry in Shortcuts - if that does not work, fall back to a custom command shortcut for
~/.local/bin/agent-gui --show - re-run
task integration:ubuntuafter fixing any missing desktop tooling