Polkit authentication agent for SanarDE.
  • QML 50.9%
  • C++ 34.5%
  • CMake 14.6%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-10-25 14:29:20 +05:00
po i18n: add Russian translation of the dialog 2026-10-25 10:04:17 +05:00
resources refactor: use Sanar Style for theme, icons and fonts 2026-10-25 14:29:20 +05:00
src refactor: use Sanar Style for theme, icons and fonts 2026-10-25 14:29:20 +05:00
.gitignore build: add project skeleton with placeholder window 2026-10-25 09:38:22 +05:00
CMakeLists.txt refactor: use Sanar Style for theme, icons and fonts 2026-10-25 14:29:20 +05:00
CONTRIBUTING.md docs: describe the Sanar Style dependency 2026-10-25 14:29:20 +05:00
LICENSE docs: add README, CONTRIBUTING and license 2026-10-25 09:38:22 +05:00
README.md docs: describe the Sanar Style dependency 2026-10-25 14:29:20 +05:00

Sanar Ejen

Note

Repository Mirrors

  • git.nuros.org (sanarde/ejen): primary, self-hosted Forgejo instance, accounts restricted to the core team.
  • GitHub (sanarde/ejen): mirror for external contributors. Issues and Pull Requests opened here are welcome and are reviewed and processed by the core team.

About

Polkit authentication agent for SanarDE.

Dependencies

  • Qt 6.8 or newer (Core, Gui, Quick)
  • Sanar Style
  • polkit-qt6 (Core, Agent)
  • CMake 3.21 or newer
  • A C++20 compiler

Build

cmake -S . -B build -G Ninja
cmake --build build
./build/src/sanar-ejen

If Sanar Style is installed outside the system prefix, pass its prefix with -DCMAKE_PREFIX_PATH=<prefix> when configuring and set QML_IMPORT_PATH=<prefix>/lib/qt6/qml when running.

To install, configure with -DCMAKE_INSTALL_PREFIX=<prefix> and run cmake --install build. This installs the executable, the icons, the desktop file, the autostart entry, the message catalogs and the AppStream metadata. The autostart entry goes to <sysconfdir>/xdg/autostart, which is /etc/xdg/autostart for the /usr prefix.

Usage

Sanar Ejen registers as the Polkit authentication agent of the current login session and shows a dialog when a program requests authorization. Only one agent can be registered per session. If another agent is already running (for example the one built into GNOME Shell), Sanar Ejen prints a message and exits with status 1.

Colors

Colors and fonts come from Sanar Style. See its documentation for the Seurat integration and for custom palettes.

License

GNU General Public License v3.0. See LICENSE.