Pcursorsel-0.1 Xcursor selector - now with preview feature!
-
- Posts: 8
- Joined: Fri 09 Jan 2009, 01:41
Pcursorsel-0.1 Xcursor selector - now with preview feature!
i was going to name it pcursor but it was already taken
this is a xcursor selector with a preview feature using xcur2png
(included in package)
xcur2png sometimes gives you glitchy images, but until i find something better, i have to use it
it was programmed in c++ using gtk+
please tell me what you think
- Attachments
-
- pcursorsel-0.1.pet
- (15.27 KiB) Downloaded 796 times
-
- Posts: 8
- Joined: Fri 09 Jan 2009, 01:41
I can't answer for Mark, but one preview is plenty for me. I have added your selector to RC4. Don't tell anyone because there's a feature freeze, but I thought this fitted under the category of usability and a necessity for the Window$ refugees we target.spottedzebra wrote:would it be desirable to have more than one cursor previewed, because that is possible, i thought i would just preview one cursor until people wanted more
Thanks, spottedzebra.
[i]Actions speak louder than words ... and they usually work when words don't![/i]
SIP:whodo@proxy01.sipphone.com; whodo@realsip.com
SIP:whodo@proxy01.sipphone.com; whodo@realsip.com
-
- Posts: 8
- Joined: Fri 09 Jan 2009, 01:41
here is the (tremendously ugly) source code in case anyone needs it
i haven't learned how to use autoconf or anything yet, so all i have is the source code file
it only requires gtk+2.0 (i used `pkg-config gtk+2.0 --libs`)
i'm happy that my trivial little program will officialy be part of my favorite linux ever
EDIT: feel free to edit it as you please (it'll probably help) its GPLed
i haven't learned how to use autoconf or anything yet, so all i have is the source code file
it only requires gtk+2.0 (i used `pkg-config gtk+2.0 --libs`)
i'm happy that my trivial little program will officialy be part of my favorite linux ever
EDIT: feel free to edit it as you please (it'll probably help) its GPLed
- Attachments
-
- pcursorsel.cpp.gz
- (1.79 KiB) Downloaded 638 times
Where are the Cursors
Did you include actual cursors with the program? If not, what do I do to get some and put them in a position to be selected?
cursors, repackaged by Pizzasgood:
http://murga-linux.com/puppy/viewtopic.php?t=37852
older ones:
http://www.murga-linux.com/puppy/viewtopic.php?p=16622
They are located in /root/.icons/
Mark
http://murga-linux.com/puppy/viewtopic.php?t=37852
older ones:
http://www.murga-linux.com/puppy/viewtopic.php?p=16622
They are located in /root/.icons/
Mark
Dear Puppians,
For those who wish to compile this program themselves, the following command line works:
With kind regards,
vovchik
For those who wish to compile this program themselves, the following command line works:
Code: Select all
g++ `pkg-config --cflags gtk+-2.0` pcursorsel.cpp `pkg-config --libs gtk+-2.0` -o pcursorsel
vovchik
Hi,
I know his is kinda old, but I modified few things from this pcursorsel (I would not dare to call this an upgrade). I call it v 1.0 just to differentiate. What I modded are:
1. It will not list ROX and default as available cursor themes (which they aren't supposed to be listed)
2. If restart X is not clicked, your new mouse cursor will still can be viewed (but not in all window, try to open seamonkey after that, you'll see what I mean), but it should be all good after your next reboot/restart X --> I was planning to use Big Bass' refreh X script but it's not available, and he has not respond to my PM. It should be better, if we can change cursor instantly without loosing any work/opened windows
Don't call pcursorsel form terminal, but pcursorselshell or from menu - desktop - cursor selector
It's far from perfect, I don't know how to code in C
Cheers
PS: Anybody who knows C better, please modify this great app so it can be perfect, we have no cursor selector in 430
New version 1.1 - I think all is good !!
I know his is kinda old, but I modified few things from this pcursorsel (I would not dare to call this an upgrade). I call it v 1.0 just to differentiate. What I modded are:
1. It will not list ROX and default as available cursor themes (which they aren't supposed to be listed)
2. If restart X is not clicked, your new mouse cursor will still can be viewed (but not in all window, try to open seamonkey after that, you'll see what I mean), but it should be all good after your next reboot/restart X --> I was planning to use Big Bass' refreh X script but it's not available, and he has not respond to my PM. It should be better, if we can change cursor instantly without loosing any work/opened windows
Don't call pcursorsel form terminal, but pcursorselshell or from menu - desktop - cursor selector
It's far from perfect, I don't know how to code in C
Cheers
PS: Anybody who knows C better, please modify this great app so it can be perfect, we have no cursor selector in 430
New version 1.1 - I think all is good !!
Last edited by trio on Fri 14 Aug 2009, 03:46, edited 1 time in total.
Hi Trio,
why using pcursorsel when you can directly call the xcur2png bin?
Not knowing C in this case is not a problem since you can work around by just scripting.
For example:
Command line input:
Output:
You know what? I just made up my mind and found motivation. I'll try and work on that. Unfortunately I don't think I'll have time to start on that before Barry gets the 430 out
why using pcursorsel when you can directly call the xcur2png bin?
Not knowing C in this case is not a problem since you can work around by just scripting.
For example:
Command line input:
Code: Select all
# /usr/bin/xcur2png /root/.icons/blahiconstheme/cursors/ACursorFile
Code: Select all
##################################################
Conversion successfully done!(14 images were output.)
I got it, and it will not retstart x to see the cursor (thx Big Bass)! and it will not list default and ROX folder. ONLY FOR JWM!gulk wrote:Hi Trio,
why using pcursorsel when you can directly call the xcur2png bin?
Not knowing C in this case is not a problem since you can work around by just scripting.
For example:
Command line input:Output:Code: Select all
# /usr/bin/xcur2png /root/.icons/blahiconstheme/cursors/ACursorFile
You know what? I just made up my mind and found motivation. I'll try and work on that. Unfortunately I don't think I'll have time to start on that before Barry gets the 430 outCode: Select all
################################################## Conversion successfully done!(14 images were output.)
- Attachments
-
- pcursorsel-1.1.pet
- fixmenus & restartwm after install
- (21.58 KiB) Downloaded 600 times
Last edited by trio on Fri 14 Aug 2009, 05:38, edited 1 time in total.
Hi again,
This one for ICEWM users
This one for ICEWM users
- Attachments
-
- pcursorselice-1.1.pet
- run fixmenus + restart icewm (refresh menus)
- (21.86 KiB) Downloaded 638 times