You are not logged in.
How can I change cursor on-the-fly? I would like to do it with a script (bash?)
Thank you
Last edited by work (2012-04-10 12:08:16)
Offline
man xsetroot
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
man xsetroot
I appreciate your advice, I tried it (I used this guide too: http://pissedoffadmins.com/?p=155).
It worked. Thank you
Offline
It doesn't work on-the-fly with all the applications, but If I use LXAppearance I can do it.
Do you have any suggestion for that? Maybe this is something GTK+ 2-related. Thank you.
Last edited by work (2012-04-10 13:09:35)
Offline
I don't know how lxappearance does it without restarting X but if you really need a script, I guess you could create one that changes the 4th line from ~/.icons/default/index.theme (or one that replaces the file altogether), and then restart X.
https://wiki.archlinux.org/index.php/X1 … sor_Themes
There's a method that uses ~/.Xresources but apparently it also needs an X restart for the changes to take effect (link).
Last edited by DSpider (2012-04-10 13:25:24)
I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).
Offline
I don't know how lxappearance does it without restarting X but if you really need a script, I guess you could create one that changes the 4th line from ~/.icons/default/index.theme (or one that replaces the file altogether), and then restart X.
https://wiki.archlinux.org/index.php/X1 … sor_Themes
There's a method that uses ~/.Xresources but apparently it also needs an X restart for the changes to take effect (link).
Thank you, unfortunately it needs to restart X.
I gave a look at LXAppearance code, available on git (http://lxde.git.sourceforge.net/git/git … ;a=summary) under GNU General Public License I suppose, but I didn't get it.
Offline