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.
Metadata
Release files for desktop-cli 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| desktop_cli-1.0.0.tar.gz | 3.2 kB | Without provenance | Details for desktop_cli-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| desktop_cli-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for desktop_cli-1.0.0-py3-none-any.whl |
Total release size: 6.8 kB
Release files / desktop_cli-1.0.0.tar.gz
| Download URL | desktop_cli-1.0.0.tar.gz |
|---|---|
| Size | 3.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8a3ba69a361da21bf2163f0bb29a93eafc24feea7bf9c57131a3503faab7145e
|
|
BLAKE2b-256 checksum How to use checksums |
9393b6b3be80a97e0b380598da3bfc2b11032f976f35051d05ab34adf41ffb3d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Release files / desktop_cli-1.0.0-py3-none-any.whl
| Download URL | desktop_cli-1.0.0-py3-none-any.whl |
|---|---|
| Size | 3.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
eeaab3ac08b0932163e9565a787ff7d8f86d146b92cf2f53251b38c3657926e7
|
|
BLAKE2b-256 checksum How to use checksums |
d3071d4be07003a39ab49f8bb872995d3548e8ae491187412a7cda77d9d63467
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Security for desktop-cli 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.