Changing mouse cursor on Raspberry Pi OS (Debian Linux)

I think I need to look at the GIMP tutorials more closely.In summary, you edited the left_ptr and hand2 cursor files from the "cursors" folders within the themes "Adwaita" and "DMZ-white", but when you switch to the modified cursor themes, you don't see the modified cursors. You need to run lxappearance from a command prompt and tweak the settings.f
  • #1
I used GIMP to edit copies of certain cursor files called left_ptr and hand2 from the "cursors" folders within the theme directories /usr/share/icons/[theme name]/cursor. This was for the themes "Adwaita" and "DMZ-white".

Then I renamed the original cursor files and put the new edited versions in their place. When I switch to the modified cursor themes, I don't see the modified cursors -- even after a reboot. Why does this happen, and how can I activate the GIMP-edited cursor files?
 
  • #2
Is this LXDE? You probably need to run lxappearance from a command prompt and tweak the settings.
 
  • #3
Is this LXDE? You probably need to run lxappearance from a command prompt and tweak the settings.
That is how i select a cursor theme. But after selecting a theme containing a modified cursor file, i don't see the new cursor.

One possibility is that, of the large number of cursor files present in the folder, i haven't chosen the ones that actually provide the default arrow and hand cursors. If that's the case I'll have to determine which file provides the default arrow.
 
  • #4
I just created a new theme folder called test, with a folder inside called cursors. Then I copied into it a single file (left_ptr) from the dmz_white theme. When I select the test cursor theme in lxappearance, I see that it takes the default pointer from that single file, and it inherits all the other cursors (hand, move, etc) from the theme that was in effect just before switching to test.

So that proves that left_ptr is indeed the default arrow file. But it doesn't reflect the design change done on it using GIMP.

Going to burrow further into this (rather pointless, actually) rabbit hole... Well not entirely pointless because I want a prominent cursor for capturing desktop video.
 
  • #5
Going to burrow further into this (rather pointless, actually) rabbit hole... Well not entirely pointless because I want a prominent cursor for capturing desktop video.
Good luck, it sounds like a maze of cached/nested/recursive configuration files.
 
  • #6
Turns out the cursor file has multiple layers. You need to edit all of them, because you don't know which layer will be used when. So now it's working!

Screenshot:

1660057151199.png


 
  • Haha
  • Like
Likes jedishrfu and pbuk
  • #7
When I read your last post, I thought the blue sqiggly arrow was the one you modded.
 

Suggested for: Changing mouse cursor on Raspberry Pi OS (Debian Linux)

Replies
10
Views
2K
Replies
1
Views
994
Replies
1
Views
883
Replies
2
Views
380
Replies
3
Views
789
Replies
24
Views
1K
Back
Top