Files
tldr/pages.zh/linux/xcursorgen.md

17 lines
623 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# xcursorgen
> 从一组 PNG 文件创建一个 X 光标文件。
> 如果省略 `--prefix`,则图像文件必须位于当前工作目录中。
> 更多信息:<https://manned.org/xcursorgen>。
- 使用配置文件创建一个 X 光标文件:
`xcursorgen {{path/to/config.cursor}} {{path/to/output_file}}`
- 使用配置文件创建一个 X 光标文件,并指定图像文件的路径:
`xcursorgen --prefix {{path/to/image_directory/}} {{path/to/config.cursor}} {{path/to/output_file}}`
- 使用配置文件创建一个 X 光标文件,并将输出写入 `stdout`
`xcursorgen {{path/to/config.cursor}}`