Metadata-Version: 2.4
Name: desktop-cli
Version: 0.1.0
Summary: A CLI for interacting with .desktop files
Author: readwithai
License-Expression: MIT
Project-URL: Homepage, https://github.com/readwithai/desktop-cli
Classifier: Development Status :: 3 - Alpha
Classifier: Environment :: Console
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Desktop Environment
Requires-Python: >=3.9
Description-Content-Type: text/markdown

# 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](https://readwithai.substack.com/p/a-primer-on-linux-desktop-files).

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`

