CURSED mousecursors on LINUX (full course)

Опубликовано: 09 Октябрь 2024
на канале: budlabs
927
36

https://wiki.archlinux.org/index.php/...

https://www.taws.ch/WB.html
https://www.taws.ch/Pointers/OS3.0Ear...

http://www.gratuitousscience.com/?p=2285
http://www.gratuitousscience.com/wp-c...

convert windows cursor (.cur) to png:

package community/icoutils

icotool --output FILE.png \
--cursor --extract \
WINDOW_CURSOR.cur

create xcursorsor from png:
package: extra/xorg-xcursorgen

xcursorgen CONFIG_FILE OUTPUT_FILE

config file:
size xhot yhot filename ms-delay

echo CONFIG | xcursorgen OUTPUT_FILE

~/.Xresources
#define cursortheme amejga
Xcursor.theme: cursortheme

~/.xinitrc
export XCURSOR_PATH=~/.local/share/icons:~/.icons:/usr/share/icons

left_ptr is the default normal mouse cursor
copy that to "X_cursor" and "xterm"