Skip to main content

Kolibri plugin for Linux desktop app integration

Project description

Kolibri Linux desktop app integration plugin

This is a Kolibri plugin which generates Linux desktop launchers and icons for Kolibri channels. These files are created automatically in $KOLIBRI_HOME/content/xdg/share. This plugin is intended to be used inside a Kolibri desktop application such as https://flathub.org/apps/details/org.learningequality.Kolibri.

Usage

Install the plugin from pypi:

pip install kolibri-app-desktop-xdg-plugin

Enable the plugin in Kolibri and generate launchers:

kolibri plugin enable kolibri_app_desktop_xdg_plugin
kolibri manage app_desktop_xdg_update_launchers

Additional desktop launchers will be generated automatically when channels are added or removed. For these launchers to appear on your desktop, you will need to add their location to the XDG_DATA_DIRS environment variable. To do this in most Linux distributions, create a file named /usr/lib/systemd/user-environment-generators/61-kolibri-app-desktop-xdg-plugin with the following contents, then log out and log in again:

#!/bin/bash
XDG_DATA_DIRS="$HOME/.kolibri/content/xdg/share:${XDG_DATA_DIRS:-/usr/local/share:/usr/share}"
echo "XDG_DATA_DIRS=$XDG_DATA_DIRS"

You can substitute the path to Kolibri's home directory for $HOME/.kolibri.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

kolibri_app_desktop_xdg_plugin-1.2.1-py2.py3-none-any.whl (11.1 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file kolibri_app_desktop_xdg_plugin-1.2.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for kolibri_app_desktop_xdg_plugin-1.2.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 8ef9b92f1fcefd6525d694af75bbe363230551f0301d4bf9380b0256f838e6f7
MD5 83f74bc74a3bc2f50ef78cabd5832acc
BLAKE2b-256 46b5cb586cf1feb050bb1d628d3e3d00babf51e86d64a30b9713def351ccc32c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page