{"id":23108971,"url":"https://github.com/licyk/ani2xcur","last_synced_at":"2025-08-16T18:32:11.583Z","repository":{"id":182203018,"uuid":"667933958","full_name":"licyk/ani2xcur","owner":"licyk","description":"一个将 Windows 鼠标指针转换为 Linux 鼠标指针的脚本，转换核心基于 win2xcur","archived":false,"fork":false,"pushed_at":"2024-08-21T13:58:45.000Z","size":246,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-08-21T15:29:55.548Z","etag":null,"topics":["bash","cursor"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/licyk.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":"2023-07-18T16:19:36.000Z","updated_at":"2024-08-21T13:58:48.000Z","dependencies_parsed_at":"2024-06-26T14:11:53.540Z","dependency_job_id":"0b16fffb-54fd-43ad-a225-df53b3162cee","html_url":"https://github.com/licyk/ani2xcur","commit_stats":null,"previous_names":["licyk/ani2xcur"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/licyk%2Fani2xcur","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/licyk%2Fani2xcur/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/licyk%2Fani2xcur/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/licyk%2Fani2xcur/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/licyk","download_url":"https://codeload.github.com/licyk/ani2xcur/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230048477,"owners_count":18164745,"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":["bash","cursor"],"created_at":"2024-12-17T01:32:07.755Z","updated_at":"2025-08-16T18:32:11.559Z","avatar_url":"https://github.com/licyk.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ani2xcur\n\n## 简介\n一个将 Windows 鼠标指针转换为 Linux 鼠标指针的脚本，基于 GNU 项目的 Dialog 实现显示界面，转换核心基于 win2xcur\n\n## 环境要求\n- Python（3.6 ~ 3.11）\n- Dialog\n\n\u003e [!NOTE]  \n\u003e Python 的版本推荐 3.9，其他版本也可以，可自行测试。这里推荐一些 Python 版本管理器。  \n\u003e 1. [Pyenv](https://github.com/pyenv/pyenv)（Windows 系统上使用 [Pyenv-Win](https://github.com/pyenv-win/pyenv-win)）\n\u003e 2. [MicroMamba](https://mamba.readthedocs.io/en/latest/installation/micromamba-installation.html)\n\u003e 3. [MiniConda](https://docs.anaconda.com/free/miniconda/index.html)\n\u003e\n\u003e 在 Linux 上安装指定版本的 Python 并不方便，所以可以用上面的 Python 版本管理器安装 Python，并在启动 Ani2xcur 时加上`--set-python-path`启动参数来指定 Python 的路径。  \n\u003e 具体方法可参考该文档：[《在 Linux 上使用 Python 版本管理器安装 Python》](https://github.com/licyk/README-collection/blob/main/term-sd/README_install_python_on_linux.md)\n\n## 安装\n- 1、克隆项目\n```sh\ngit clone https://github.com/licyk/ani2xcur\n```\n\n- 2、进入目录并给予执行权限\n```sh\ncd ani2xcur\nchmod +x ani2xcur.sh\n```\n\n- 3、创建并进入虚拟环境\n\n\u003e 该步骤为可选步骤\n\n```sh\npython3 -m venv venv\nsource venv/bin/activate\n```\n\n- 4、安装 dialog\n```sh\n# Debian / Ubuntu 系\nsudo apt install dialog\n```\n```sh\n# Arch 系\nsudo pacman -S dialog\n```\n\n\n- 5、运行\n```sh\n./ani2xcur.sh\n```\n\n## 使用\n进入 Ani2xcur 界面后，可以主界面选择 `安装 win2xcur 核心` 安装转换鼠标指针所需的必要核心  \n\n安装核心完成后，可选择 `进入文件浏览器` 进入 Ani2xcur 的文件浏览器来寻找鼠标指针文件，一般 Windows 的鼠标指针文件包含 `cur` / `ani` 格式的文件（鼠标指针图标）和 `inf` 格式的文件（安装鼠标指针的配置文件）  \n\u003e 这是 Windows 鼠标指针安装文件的结构\n```\n咩咩\n├── bashi.ani\n├── dianliu.ani\n├── DJye1.ani\n├── DJye2.ani\n├── doki.ani\n├── help.ani\n├── lightning.ani\n├── lingdang.ani\n├── merry.ani\n├── Mye.ani\n├── Pye.ani\n├── Sye.ani\n├── wink.ani\n├── woniu.ani\n├── yangtuo.ani\n└── 右键安装.inf\n```\n\n在 Ani2xcur 文件浏览器中选中其中一种格式后即可开始转换，转换好的鼠标指针文件将保存在 Ani2xcur 文件夹中的 `output` 文件夹\n\nAni2xcur 也支持命令行模式运行（以命令行模式启动时不再检测 Dialog 是否安装），通过启动参数指定 `安装鼠标指针的配置文件` 的路径后即可进行转换  \n例如:\n```sh\n./ani2xcur.sh --inf \"/home/licyk/Downloads/咩咩/lingdang.ani\"\n./ani2xcur.sh --inf \"/home/licyk/Downloads/咩咩/右键安装.inf\"\n```\n\u003e 以上命令的执行效果等效\n\nAni2xcur 支持以下启动参数\n```\n使用: \n    ./ani2xcur.sh [--help] [--set-python-path python_path] [--win2xcur-path win2xcur_path] [--inf inf_file_path] [--install-win2xcur] [--remove-win2xcur]\n\n参数:\n    --help\n        显示 Ani2xcur 启动参数帮助\n    --set-python-path python_path\n        指定 Python 解释器路径。推荐在 Python 虚拟环境中启动 Ani2xcur, 这将可省去使用启动参数指定 Python 路径\n    --win2xcur-path win2xcur_path\n        指定 win2xcur 的路径\n    --inf inf_file_path\n        指定 inf 鼠标配置文件路径, 若路径有效, 则 Ani2xcur 将以命令行模式启动, 直接进行鼠标指针转换\n    --install-win2xcur\n        安装 win2xcur 核心\n    --remove-win2xcur\n        卸载 win2xcur 核心\n```\n\n## 使用项目\n\n[win2xcur](https://github.com/quantum5/win2xcur) @quantum5 --- 转换核心  \n[breeze cursor](https://store.kde.org/p/999927) --- 用作鼠标指针的补全\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flicyk%2Fani2xcur","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flicyk%2Fani2xcur","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flicyk%2Fani2xcur/lists"}