Skip to main content

A CLI for interacting with .desktop files

Project description

desktop-cli

A cli for interacting with desktop files.

Desktop files are the executable files of desktop environments on Linux. Read my blog post on the topic.

This is unreviewed AI-generated code.

Alternatives and prior work

You could try using locate or similar to find desktop files. Desktop files often live in knowns locations and addition files are added to the XDG_DATA_DIRS environment variable. You could use this to write a shell one-liner. gtk-launch can be used to start desktop files (and will find them on the "desktop path").

Installation

pipx instal desktop-cli

Usage

desktop list

desktop cat obsidian.desktop

desktop path obsidian.destop

Project details


Download files

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

Source Distribution

desktop_cli-0.1.0.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

desktop_cli-0.1.0-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

Details for the file desktop_cli-0.1.0.tar.gz.

File metadata

  • Download URL: desktop_cli-0.1.0.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for desktop_cli-0.1.0.tar.gz
Algorithm Hash digest
SHA256 278e0e3bb5ea37f77f53c6ae608358592bac1c4e2a9099ad20570997a82c828a
MD5 d32e573aa57f2aadd64913d76e4ec887
BLAKE2b-256 b2a7bfd4d979713099bc97cc245a299bd11743bfcfd7693ab87bf6d61aadbb52

See more details on using hashes here.

File details

Details for the file desktop_cli-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: desktop_cli-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for desktop_cli-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4cf78907a83e33eeeaf33adb13e3918daa9be1ce4f960b95aaa39cf0924ef191
MD5 aede453f2d2b84d4ad3d021cb25a9ad1
BLAKE2b-256 f2d543bffbe02885722162e23c82c1404518b629dae3385ba0fa79e49e813490

See more details on using hashes here.

Supported by

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