A small XFCE panel plugin for quick one-off questions to any OpenAI-compatible Chat Completions endpoint. Type a question in the panel entry and press Enter; the answer shows in a GTK popover.
Works with any OpenAI-compatible endpoint, including local/self-hosted ones. If your endpoint does not require auth, leave the API key blank.
License: MIT (see LICENSE).
Enter: send the current prompt.- Follow-ups are state-based: if the popover is still open, the next
Enteris treated as a follow-up (limited context is kept); closing the popover ends the session.
Dependencies (dev headers): gtk3, libxfce4panel, libsoup-3, json-glib, libsecret.
Arch:
sudo pacman -S xfce4-panel gtk3 libsoup3 json-glib libsecret pkgconfDebian/Ubuntu:
sudo apt install libxfce4panel-2.0-dev libgtk-3-dev libsoup-3.0-dev libjson-glib-dev libsecret-1-dev pkg-configFedora:
sudo dnf install xfce4-panel-devel gtk3-devel libsoup3-devel json-glib-devel libsecret-devel pkgconfopenSUSE:
sudo zypper install xfce4-panel-devel gtk3-devel libsoup-3_0-devel json-glib-devel libsecret-devel pkgconf-pkg-configThen build:
makesudo make install
xfce4-panel -rBy default, the Makefile auto-detects install paths from pkg-config. Override if needed:
# User-local install (no sudo)
make PREFIX=$HOME/.local install
# Explicit system install
sudo make PREFIX=/usr install
# Fedora/lib64 systems
sudo make LIBDIR=/usr/lib64 installIf you use Arch Linux or a derivative thereof use:
Download .deb or .rpm from the Releases page.
Debian/Ubuntu:
sudo apt install ./xfce-ask_*.debFedora:
sudo dnf install ./xfce-ask-*.rpmDependencies are installed automatically.
Right-click the plugin → Properties:
- Endpoint: e.g.
https://api.openai.com/v1/chat/completions - Model: e.g.
gpt-4o-mini - Temperature
- API key: stored in the system keyring (per-endpoint)
The plugin writes a debug log to:
~/.cache/openai-ask/openai-ask.log
Logging is disabled by default. Enable it by starting your session/panel with XFCE_ASK_DEBUG=1.
Tail it while testing:
tail -f ~/.cache/openai-ask/openai-ask.log- A lightweight speech to text implementation Auriscribe
- A full featured AI application ChatGTK
- A Markdown notes application for your system tray TrayMD
