Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

A tool to edit a specific mouse cursor?

If none of the specific sub-forums seem right for your thread, ask here.
Post Reply
Message
Author
bedtime
Posts: 146
Joined: 2012-12-16 19:34
Has thanked: 1 time
Been thanked: 6 times

A tool to edit a specific mouse cursor?

#1 Post by bedtime »

Is there a way that one can edit the image of a mouse cursor? I'd like to be able to change the colour. It's important to state that I don't want to download a new theme or change to another theme. I want to edit a particular theme—adwaita, for example, would be fine—so that it might be any colour I want; downloading a bunch of themes that are different colours is out of the question.

I've had success with the icons on this front via piping the find command through the convert command with a few parameters. I'd like to be able to do the same with the mouse cursor so it will fit with my multi-coloured theme: http://forums.debian.net/viewtopic.php? ... 10#p680850

In my efforts, I can see where the mouse cursors are stored (/usr/share/icons/Adwaita/cursors), but they don't seem to be behave like regular images that can be opened and edited. Is there some sort of program that can do the job? Looking around the net hasn't got me anywhere as results seem to be irrelevant.

Thanks

Code: Select all

$ ls /usr/share/icons/Adwaita/cursors
00008160000006810000408080010102  dnd-none			    pointer
028006030e0e7ebffc7f7070c0600140  dotbox			    pointer-move
03b6e0fcb3499374a867c041f52298f0  dot_box_mask			    progress
08e8e1c95fe2fc01f976f1e063a24ccd  double_arrow			    question_arrow
1081e37283d90000800003c07f3ef6bf  draft_large			    right_ptr
14fef782d02440884392942c11205230  draft_small			    right_side
2870a09082c103050810ffdffffe0204  draped_box			    right_tee
3085a0e285430894940527032f8b26df  e29285e634086352946a0e7090d73106  row-resize
3ecb610c1bf2410f44200f48c40d3599  e-resize			    sb_down_arrow
4498f0e0c1937ffe01fd06f973665830  ew-resize			    sb_h_double_arrow
5c6cd98b3f3ebcb1f9c7f1c204630408  fcf1c3c7cd4491d801f1e1c78f100000  sb_left_arrow
6407b0e94181790501fd1e167b474872  fd_double_arrow		    sb_right_arrow
640fb0e74195791501fd1ed57b41487f  fleur				    sb_up_arrow
9081237383d90e509aa00f00170e968f  grab				    sb_v_double_arrow
9d800788f1b08800ae810202380a0822  grabbing			    se-resize
alias				  hand				    size_all
all-scroll			  hand1				    size_bdiag
arrow				  hand2				    size_fdiag
bd_double_arrow			  h_double_arrow		    size_hor
bottom_left_corner		  help				    size_ver
bottom_right_corner		  icon				    s-resize
bottom_side			  left_ptr			    sw-resize
bottom_tee			  left_ptr_help			    target
c7088f0f3e6c8088236ef8e1e3e70000  left_ptr_watch		    tcross
cell				  left_side			    text
circle				  left_tee			    top_left_arrow
col-resize			  link				    top_left_corner
context-menu			  ll_angle			    top_right_corner
copy				  lr_angle			    top_side
cross				  move				    top_tee
crossed_circle			  ne-resize			    ul_angle
crosshair			  nesw-resize			    ur_angle
cross_reverse			  no-drop			    v_double_arrow
d9ce0ab605698f320427677b458ad60b  not-allowed			    vertical-text
default				  n-resize			    wait
diamond_cross			  ns-resize			    watch
dnd-ask				  nw-resize			    w-resize
dnd-copy			  nwse-resize			    X_cursor
dnd-link			  pencil			    xterm
dnd-move			  pirate			    zoom-in
dnd-no-drop			  plus				    zoom-out

User avatar
None1975
df -h | participant
df -h | participant
Posts: 1389
Joined: 2015-11-29 18:23
Location: Russia, Kaliningrad
Has thanked: 45 times
Been thanked: 66 times

Re: A tool to edit a specific mouse cursor?

#2 Post by None1975 »

Hello. Please, check this.
OS: Debian 12.4 Bookworm / DE: Enlightenment
Debian Wiki | DontBreakDebian, My config files on github

bedtime
Posts: 146
Joined: 2012-12-16 19:34
Has thanked: 1 time
Been thanked: 6 times

Re: A tool to edit a specific mouse cursor?

#3 Post by bedtime »

None1975 wrote:Hello. Please, check this.
This was a trifle over my head, but I did find a tool on github which automates the process and makes the everything so much easier:

https://github.com/charakterziffer/cursor-toolbox

Now the mouse's colour changes with my theme colours—both inner and outer cursor colours change, and the effect goes across all pointers of a particular theme. Looks nice. :D

User avatar
debiman
Posts: 3063
Joined: 2013-03-12 07:18

Re: A tool to edit a specific mouse cursor?

#4 Post by debiman »

basically you need to convert the files to an editable format, then convert them back.
there's a venerable tool in any distro's repos called "xcursorgen" which i believe does it both ways.

bedtime
Posts: 146
Joined: 2012-12-16 19:34
Has thanked: 1 time
Been thanked: 6 times

Re: A tool to edit a specific mouse cursor?

#5 Post by bedtime »

debiman wrote:basically you need to convert the files to an editable format, then convert them back.
there's a venerable tool in any distro's repos called "xcursorgen" which i believe does it both ways.
Yes, but that one involves a little more work than I am prepared to do. I will use it in the future though. :)

Post Reply