{"id":21252541,"url":"https://github.com/axertheaxe/desk-exec","last_synced_at":"2025-07-17T16:33:06.705Z","repository":{"id":246709945,"uuid":"821948140","full_name":"AxerTheAxe/desk-exec","owner":"AxerTheAxe","description":"Execute programs defined in XDG desktop entries directly from the command line.","archived":false,"fork":false,"pushed_at":"2025-04-22T01:18:01.000Z","size":95,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-21T09:05:42.667Z","etag":null,"topics":["application-launcher","cli","command-line","command-line-tool","desktop-entries","desktop-entry","program-launcher","rust"],"latest_commit_sha":null,"homepage":"https://crates.io/crates/desk_exec","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AxerTheAxe.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-06-29T22:11:20.000Z","updated_at":"2025-04-22T01:18:05.000Z","dependencies_parsed_at":"2024-11-07T06:24:23.111Z","dependency_job_id":"af3d330e-75bf-4104-b0ae-d22949273959","html_url":"https://github.com/AxerTheAxe/desk-exec","commit_stats":null,"previous_names":["axertheaxe/desk-exec"],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/AxerTheAxe/desk-exec","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AxerTheAxe%2Fdesk-exec","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AxerTheAxe%2Fdesk-exec/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AxerTheAxe%2Fdesk-exec/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AxerTheAxe%2Fdesk-exec/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AxerTheAxe","download_url":"https://codeload.github.com/AxerTheAxe/desk-exec/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AxerTheAxe%2Fdesk-exec/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265629946,"owners_count":23801494,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["application-launcher","cli","command-line","command-line-tool","desktop-entries","desktop-entry","program-launcher","rust"],"created_at":"2024-11-21T03:47:53.055Z","updated_at":"2025-07-17T16:33:06.687Z","avatar_url":"https://github.com/AxerTheAxe.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Desk-exec\n\nExecute programs defined in XDG desktop entries directly from the command line.\n\nAllows for substring pattern based searching.\n\n## Usage\n\n### Execute a desktop entry\n\n```sh\ndesk-exec \u003cPROGRAM_NAME_OR_SUBSTRING\u003e\n```\n\n### Execute a desktop entry and detach it from the terminal\n\n```sh\ndesk-exec --detach \u003cPROGRAM_NAME_OR_SUBSTRING\u003e\n```\n\n### Execute a custom desktop entry\n\nYou may want to execute a program with extra arguments or behaviour. \nTo do this, you can create a .desktop file at the default `$HOME/.local/share/applications`\nor a custom directory set in the configuration file.\n\nEntries found in directories specified in the configuration file will take precedence over\nentries in the user applications folder, which takes precedence over the system applications folder.\n\n```sh\n# Executes the first match found\ndesk-exec --first-only \u003cPROGRAM_NAME_OR_SUBSTRING\u003e\n```\n\n### Library\n\nDesk-exec provides a Rust API for executing desktop entries. \n\nDocumentation can be found [here](https://docs.rs/desk-exec/latest/desk_exec).\n\n## Configuration\n\nA default configuration file is generated at `$HOME/.config/desk-exec/desk_exec.toml`.\n\n```toml\n[search]\n# Toggles the searching of the default XDG data directories\nxdg_default_dirs = true\n\n# List of custom search directories in order of precedence\ndirs = []\n```\n\n## Installation\n\nCurrently, binaries for x86_64 are the only ones provided.\n\n### ArchLinux\n\nDesk-exec can be installed using your favorite AUR helper with any of the following packages.\n\n* [desk-exec](https://aur.archlinux.org/packages/desk-exec)\n* [desk-exec-bin](https://aur.archlinux.org/packages/desk-exec-bin)\n* [desk-exec-git](https://aur.archlinux.org/packages/desk-exec-git)\n\n```sh\nparu -S (desk-exec, desk-exec-bin, desk-exec-git)\n```\n### NixOS\n\nDesk-exec can be installed from `nixpkgs`.\n\n```sh\nnix-shell -p desk-exec\n```\n\nor\n\n```nix\n{\n    environment.systemPackages = [ pkgs.desk-exec ];\n}\n```\n\n### Releases\n\nBinary tar-balls can be found on the [releases page](https://github.com/AxerTheAxe/desk-exec/releases).\n\nThe `dist` folder will contain any extra stuff like shell completions and man page entries.\n\n### Cargo\n\nDesk-exec can also be built from source or installed with cargo from [crates.io](https://crates.io/crates/desk_exec).\n\n```sh\n# Binary\ncargo install desk-exec-bin\n\n# Library\ncargo add desk-exec\n```\n\n## Contributing\n\nIf you have any suggestions or problems, please [submit an issue](https://github.com/AxerTheAxe/desk-exec/issues/new).\nIf you would like to contribute code, [pull requests are welcome](https://github.com/AxerTheAxe/desk-exec/compare).\n\n## License\n\nThis project is licensed under the [Unlicense](LICENSE) license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faxertheaxe%2Fdesk-exec","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faxertheaxe%2Fdesk-exec","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faxertheaxe%2Fdesk-exec/lists"}