Создание курсоров из png (xcursorgen)

openSUSE, SUSE Linux Enterprise

Модератор: Модераторы разделов

Аватара пользователя
Docent
Сообщения: 216

Создание курсоров из png

Сообщение Docent »

Хочу сделать свои курсоры, как пользоваться командой xcorsorgen? Она запрашивает какой-то конфиг где его создавать и что там писать?

Пробовал так: 3.4 64 64 arrow.png
по ману

Код: Выделить всё

NAME
xcursorgen - create an X cursor file from a collection of PNG images
SYNOPSIS
xcursorgen [config-file] [output-file]
DESCRIPTION
Xcursorgen reads the config-file to find the list of cursor images along with their hotspot and nominal size information. Xcursorgen converts all of the images to Xcursor format and writes them to the output-file. Each line in the config file is of the form:
<size> <xhot> <yhot> <filename> <ms-delay>
Multiple images with the same <size> are used to create animated cursors, the <ms-delay> value on each line indicates how long each image should be displayed before switching to the next. <ms-delay> can be elided for static cursors.


Может кто-то делал как конфиг должен выглядеть правильно? И output-file что такое?
Спасибо сказали:
Аватара пользователя
k0da
Бывший модератор
Сообщения: 6043
Статус: SuSE QA Engineer
ОС: Factory

Re: Создание курсоров из png

Сообщение k0da »

Docent
имя и путь файла который должен получится
Fury in my eyes, sword on my side
Afro on my head, I'm a black Samurai
Number One, I bring my whole nation alive
Escape death, to become immortalized
Спасибо сказали:
Аватара пользователя
Docent
Сообщения: 216

Re: Создание курсоров из png

Сообщение Docent »

(k0da @ Aug 25 2006, в 20:30) писал(а):имя и путь файла который должен получится


:unsure:
Получается что в конфиге я должен прописать что-то вроде

Код: Выделить всё

aroow /home/docent.....


А дальше что?

xcursorgen /my_config /file_cursor ?
Спасибо сказали: