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

About me

I am making tools or reading and agency with and without AI. Read my blog or follow me on X.

I also produce a stream of tools like this as part of my work. You might like to follow me here on github if this tool is useful.

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-1.0.0.tar.gz (3.2 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-1.0.0-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for desktop_cli-1.0.0.tar.gz
Algorithm Hash digest
SHA256 8a3ba69a361da21bf2163f0bb29a93eafc24feea7bf9c57131a3503faab7145e
MD5 44a2cf613f083a16d789850bdefe6ac2
BLAKE2b-256 9393b6b3be80a97e0b380598da3bfc2b11032f976f35051d05ab34adf41ffb3d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: desktop_cli-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 3.6 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-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 eeaab3ac08b0932163e9565a787ff7d8f86d146b92cf2f53251b38c3657926e7
MD5 d8608dce575ffacfb4bae116e9a8d107
BLAKE2b-256 d3071d4be07003a39ab49f8bb872995d3548e8ae491187412a7cda77d9d63467

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