LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (http://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   Adding or changing mouse cursors in themes; how is this done ? (http://www.linuxquestions.org/questions/linux-desktop-74/adding-or-changing-mouse-cursors-in-themes%3B-how-is-this-done-4175434699/)

smallhagrid 10-30-2012 01:52 AM

Adding or changing mouse cursors in themes; how is this done ?
 
Background:
After trying ZorinOS and finding it less than optimal for my uses, I switched to Ubuntu 12.04 with LXDE and that is a very good fit for me.

Problem:
I have a couple of x mouse cursor files I'd like to use, and can find no way to do so.

Apparently to be used they must be part of a theme - but how does one go from having a couple of naked *.XMC files to somehow putting them into a theme ???

I have been unable to find any info on this.

Thanks for any help.

andso 11-05-2012 12:31 PM

Good time!
I don't use LXDE, but if you still needed help, I will try.
>I have been unable to find any info on this.
I honestly, don't believe it.
Quite simply in google.com can find this article https://wiki.archlinux.org/index.php/Cursor_Themes — it's, probably, enough.

And so.
You have “x mouse cursor” files.
Let us verify this execute command 'file some_files' and should see something like this
$ file sb_v_double_arrow
>sb_v_double_arrow: X11 cursor
then create directories
$ mkdir -p ~/.icons/my_theme/cursors
and copy “x mouse cursor” files to ~/.icons/my_theme/cursors
“x mouse cursor” files must have the appropriate names, like these:
$ ls /usr/share/icons/DMZ-White/cursors/
arrow
bd_double_arrow
bottom_left_corner
bottom_right_corner
bottom_side
bottom_tee
circle
color-picker
copy
cross
crossed_circle
crosshair
cross_reverse
diamond_cross
dnd-ask
dnd-copy
dnd-link
dnd-move
dnd-none
dotbox
dot_box_mask
double_arrow
draft_large
draft_small
draped_box
fd_double_arrow
fleur
grabbing
hand
hand1
hand2
h_double_arrow
help
icon
left_ptr
left_ptr_help
left_ptr_watch
left_side
left_tee
link
ll_angle
lr_angle
move
pencil
pirate
plus
question_arrow
right_ptr
right_side
right_tee
sb_down_arrow
sb_h_double_arrow
sb_left_arrow
sb_right_arrow
sb_up_arrow
sb_v_double_arrow
target
tcross
top_left_arrow
top_left_corner
top_right_corner
top_side
top_tee
ul_angle
ur_angle
v_double_arrow
watch
X_cursor
xterm

Next, you need create ~/.icons/my_theme/index.theme
$ cat >~/.icons/my_theme/index.theme<<EOF
[Icon Theme]
Name=My_Theme
Comment=My accessible cursor theme
Name[en_CA]=My_Theme
Name[en_GB]=My_Theme
EOF

and need create ~/.icons/my_theme/cursor.theme
$ cat >~/.icons/my_theme/cursor.theme<<EOF
[Icon Theme]
Inherits=my_theme
EOF

and maybe last, add cursor theme in ~/.Xresources
cat >>~/.Xresources<<EOF
Xcursor.theme: my_theme
EOF

After restart X session, you should see you cursor theme.

Sorry for my terrible English!
Good luck!

P.s. If you have questions or need help please contact

smallhagrid 11-05-2012 05:58 PM

Thanks Andso.
Of course I searched before asking - and got 1000's of results - and did not see that one you found.

Next time I will be able to play with this will be on the weekend if I don't have to work then too.
I will post back after I try it.

Thanks.


All times are GMT -5. The time now is 02:19 AM.