1 xicursorset is a tool to set the cursor image for an XInput2 pointer.
3 The first argument to pass is a pointer id, you can get it by running
4 'xinput list' and analyzing its output.
6 You need to specify an image name supplied by the theme you are using, and you
7 can optionally pass a cursor theme name to pick up the image from it.
11 Get the possible pointer ids with xinput:
12 $ xinput list | grep "master pointer"
13 ⎡ Virtual core pointer id=2 [master pointer (3)]
14 ⎡ Extra pointer id=13 [master pointer (14)]
16 Set the cursor with id=13 to the 'left_ptr' image from the 'redglass' theme
17 $ ./xicursorset 13 left_ptr redglass
19 Set the cursor with id=2 to the 'right_ptr' image from the 'whiteglass' theme
20 $ ./xicursorset 2 right_ptr whiteglass
22 Set the cursor with id=2 to the 'left_ptr' image from the default theme
23 $ ./xicursorset 2 left_ptr