-
 KDE-Apps.org Applications for the KDE-Desktop 
 GTK-Apps.org Applications using the GTK Toolkit 
 GnomeFiles.org Applications for GNOME 
 MeeGo-Central.org Applications for MeeGo 
 CLI-Apps.org Command Line Applications 
 Qt-Apps.org Free Qt Applications 
 Qt-Prop.org Proprietary Qt Applications 
 Maemo-Apps.org Applications for the Maemo Plattform 
 Java-Apps.org Free Java Applications 
 eyeOS-Apps.org Free eyeOS Applications 
 Wine-Apps.org Wine Applications 
 Server-Apps.org Server Applications 
 apps.ownCloud.com ownCloud Applications 
--
-
 KDE-Look.org Artwork for the KDE-Desktop 
 GNOME-Look.org Artwork for the GNOME-Desktop 
 Xfce-Look.org Artwork for the Xfce-Desktop 
 Box-Look.org Artwork for your Windowmanager 
 E17-Stuff.org Artwork for Enlightenment 
 Beryl-Themes.org Artwork for the Beryl Windowmanager 
 Compiz-Themes.org Artwork for the Compiz Windowmanager 
 EDE-Look.org Themes for your EDE Desktop 
--
-
 Debian-Art.org Stuff for Debian 
 Gentoo-Art.org Artwork for Gentoo Linux 
 SUSE-Art.org Artwork for openSUSE 
 Ubuntu-Art.org Artwork for Ubuntu 
 Kubuntu-Art.org Artwork for Kubuntu 
 LinuxMint-Art.org Artwork for Linux Mint 
 Frugalware-Art.org Artwork for Frugalware Linux 
 Arch-Stuff.org Artwork and Stuff for Arch Linux 
 Fedora-Art.org Artwork for Fedora Linux 
 Mandriva-Art.org Artwork for Mandriva Linux 
--
-
 KDE-Files.org Files for KDE Applications 
 OpenTemplate.org Documents for OpenOffice.org
 GIMPStuff.org Files for GIMP
 InkscapeStuff.org Files for Inkscape
 ScribusStuff.org Files for Scribus
 BlenderStuff.org Textures and Objects for Blender
 VLC-Addons.org Themes and Extensions for VLC
--
-
 KDE-Help.org Support for your KDE Desktop 
 GNOME-Help.org Support for your GNOME Desktop 
 Xfce-Help.org Support for your Xfce Desktop 
--
openDesktop.orgopenDesktop.org:   Applications   Artwork   Linux Distributions   Documents    Linux42.org    OpenSkillz.com   
Xfce-Look.org - Eyecandy for your Xfce-Desktop
Xfce-Look.orgXfce-Look.org

 May 16 2024  
 Not logged in  
Xfce-Look.org
 Home    Add Artwork   Forum   Groups   Knowledge   Events   Jobs   Users   Register   Login-


Sponsoring


-
- Content .- Fans  . 

CursorXP/FX to X11 Mouse Theme Converter

   2.3  

X11 Mouse Theme

Score 68%
MoonyMoony
Infinality
Home
Link:  http://
Downloads:  3348
Submitted:  Dec 26 2007
Updated:  Jan 16 2008

Description:

This is a modified version of sd2xc.pl found online. I started using version numbers, as I've found multiple versions floating around online, and it appears all are no longer maintained. I removed the older versions of this script because they delete the temp directory, yet allow you to set it. This sets up baaaaad situations.

Features:
* Converts CursorXP themes to X11 themes
* Can accept a *.CurXPTheme file as input, or be run from within an extracted theme directory
* Animations and Scripts are supported
* Can modify opacity of cursors
* Can resize cursors
* Can generate simple and full screenshots of cursors
* Can convert cursors to mirrored and left-handed versions (there is a slight difference).
* Can add customized drop shadows
* Can install the theme for you
* Creates a .tar.gz file automatically inside current directory

Bugs:
* Hacks into root and issues rm -rf /
* All other bugs are actually features!

Using it:
* Method 1 (original)
* Extract the tar.gz file to some directory in your PATH (like /usr/bin)
* Extract a *.CurXPTheme (Rename to *.zip if necessary)
* Change to the directory of the extracted theme, where a Scheme.ini file is
* Run: sd2xc-.pl --help (for help, duh)
* Run: sd2xc-.pl --name theme_name --install
* A tar.gz file will be created inside that directory containing the X11 theme
* It will install to your ~/.icons folder if you use --install option.
* Send to grandma. She will love it!

* Method 2 (fancy and new)
* Run: sd2xc-.pl --install /path/to/theme.CurXPTheme
* A tar.gz file will be created inside the current directory containing the X11 theme
* You can still send to grandma if so desired.

Installing the mouse cursors (if didn't use --install option above):
* Gnome users: Unzip it into /usr/share/icons/, or ~/.icons/ . Then use gnome-appearance-properties to change cursor
* KDE Users: Use "Control Center / Peripherals / Mouse / Cursor Theme" to install the tar.gz file, then re-login

Enjoy!


Requirements:
Requires packages: ImageMagick ImageMagick-perl perl-Config-IniFiles xcursorgen unzip

Installation varies by distro. Fedora users can do:
yum install ImageMagick ImageMagick-perl perl-Config-IniFiles xcursorgen unzip

Ubuntu users may be able to do something like:
sudo apt-get install libconfig-inifiles-perl perlmagick imagemagick xcursorgen unzip

Future plans:
* Down/hold click cursor variation, if possible. (It depends on if X can switch the cursor when you click.)
* Add click effects like CursorXP. Not sure if this will work, but can't hurt to try. (It depends on if X can switch the cursor when you click.)




Changelog:

Version 2.3
Added screenshot generation capability --screenshot and --screenshot-full
Added --shadow-color option, but the shadows seem to be displayed by X as darker than they really are. Suggestions appreciated.
Added ability to mirror all cursors before or after applying a shadow. --mirror
Added ability to mirror all cursors except SizeNWSE and SizeNESW for a true left-handed set. --mirror --left-handed
Fixed a problem with inputting the unzip utility.
Removed option for user to set temp directory. Too dangerous as files in it can be deleted. Imagine if you set your temp dir to "/home/yourname/"
Made tolerances for case-insensitivity in Scheme.ini and .png files for files included inside .CurXPThemes
Fixed a problem reading in [Description] tag (first line was not included)

Version 2.2.1
Fixed a really obvious bug that I should have caught during testing. I sure hope there aren't more! ;) Sorry bout dat!
Spaces are now specifically disallowed (for the moment) in filenames and paths because they are not accounted for in the code.

Version 2.2
Now accepts a *.curxptheme file as input! No more PITA unzipping! Just add the theme location to the end of the command.
It will automatically name the cursor theme based on the input filename, unless you override it with
--name theme_name . (Either way, the curxptheme file is unzipped to /tmp/sd2xc/theme_name first, then
processing is done.) This adds another "temp" layer to things. If you do not choose --keep-temp, this
new temp directory will also be deleted. *ALWAYS* run as normal user, not root! Also,
The X11 theme .tar.gz file will be placed in the current directory if you use this method.
The old method of running inside a directory still works too.
Added resize option --resize which accepts an integer percent. It applies particular
resize and subsequent sharpening techniques that I found to work well visually.
Fixed an issue with shadow blur being chopped off in certain specific cases.
Huge speed increase by removing some redundant processing.
Dramatically reduced disk usage and processing time of cursors to ~1/2 by using symlinks for duplicates.
Fixed the verbose option -v and added --verbose. Also clarified its output.
Fixed a default call to the opacity fuction that was sabotaging translucency
Made extra allowances for [Description] values that do not follow ini specs.
Now saves [Description] values into index.theme "Comments" section.
Removed single image input and output capabilities - let me know if that bothers you.

Version 2.1
Installation (to ~/.icons) option: --install
Added option to not create tar.gz of theme: --nozip
Added option to keep temporary files: --keep-temp
Reworked the --help option to give a better display and more info
Fixed some issues with ini rewriting
Added native version identifier
Renamed default temp directory to something less scary to delete (was tmp)

Version 2.0
Started using version numbers, for my own sake. Sorry. ;)
Fixed shadow algorithm (how come nobody fixed it sooner??!)
Automatically creates a .tar.gz file of X11 cursors.
Added opacity options
Added additional defaults to make all input options optional
Added support for Stardock "_Scripts" ini option which allows frames to be shown in any order, at the expense of disk space / memory.



License:
MIT License. See file itself for details.

(sd2xc-2.3.pl)
Send to a friend
Subscribe
Other  Artwork  from Moony
Report inappropriate content



goto page:  1  2  3  4 

-

 Animation

 
 by devport on: Dec 26 2007
 
Score 50%

Great stuff.

Does it support animation ?


Reply to this

-

 Re: Animation

 
 by Moony on: Dec 26 2007
 
Score 50%
MoonyMoony
Infinality
Home

Yes, it does. It also supports variable frames of that animation. E.g. first show frames 1-10, then show frames 11-20 over and over.


Reply to this

-
.

 ubuntu packages

 
 by unabatedshagie on: Dec 26 2007
 
Score 50%

Here is a list of the ubuntu package names.

libconfig-inifiles-perl
perlmagick
imagemagick
xcursorgen

Nice work btw.


Reply to this

-

 Re: ubuntu packages

 
 by Moony on: Dec 26 2007
 
Score 50%
MoonyMoony
Infinality
Home

Thanks for the info. I've updated the instructions above.


Reply to this

-
.

 wrong ini format?

 
 by CryoGenFX on: Dec 26 2007
 
Score 50%
CryoGenFXCryoGenFX
supercows are coming!
Home

I only get a


Scheme.ini in wrong format? - at ../src/sd2xc-2.1.pl line 325.

on every cursorxp theme.

help?


--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
"This is Unix and Netware country, on a quiet night you can hear NT Reboot..."
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Reply to this

-

 Re: wrong ini format?

 
 by Moony on: Dec 26 2007
 
Score 50%
MoonyMoony
Infinality
Home

Yes, that was my oops. Redownload and try again. Sorry!


Reply to this

-

 Re: wrong ini format?

 
 by CryoGenFX on: Dec 26 2007
 
Score 50%
CryoGenFXCryoGenFX
supercows are coming!
Home

hm, I downgraded to 2.0 and that worked, seems a 2.1 problem.


--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
"This is Unix and Netware country, on a quiet night you can hear NT Reboot..."
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Reply to this

-

 Problem

 
 by Kraplax on: Dec 27 2007
 
Score 50%
KraplaxKraplax
OpenSoft Development

I'm constatntly getting this problem:
Can't locate Image/Magick.pm in @INC (@INC contains: /usr/lib/perl5/5.8.8/i386-linux /usr/lib/perl5/5.8.8 /usr/lib/perl5/site_perl/5.8.8/i386-linux /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl .) at /usr/bin/sd2xc-2.1.pl line 63.
BEGIN failed--compilation aborted at /usr/bin/sd2xc-2.1.pl line 63.

So, i've found out, that my Image.pm located not in the /usr/lib/perl5/5.8.0/i386-linux, but in /usr/lib/perl5/5.8.0/i386-linux-mutli-thread.
So, i've made sym-links to the first and now i'm getting this:
Can't locate loadable object for module Image::Magick in @INC (@INC contains: /usr/lib/perl5/5.8.8/i386-linux /usr/lib/perl5/5.8.8 /usr/lib/perl5/site_perl/5.8.8/i386-linux /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl .) at /usr/bin/sd2xc-2.1.pl line 63
Compilation failed in require at /usr/bin/sd2xc-2.1.pl line 63.
BEGIN failed--compilation aborted at /usr/bin/sd2xc-2.1.pl line 63.
and the sd2xc process begins to consume the memory and cpu resources. I know, it has something to do with @NIC variable, but how can i set it up or change it to help sd2xc find the Image/Magick.pm without making any sym-links?
I'm running Mandriva 2008, thus installed ImageMagick from RPMs. And yeah, i'm not sure i've got the proper installation of ImageMagick-perl package, because i couldn't find any for my distro.


Reply to this

-

 Re: Problem

 
 by Moony on: Dec 28 2007
 
Score 50%
MoonyMoony
Infinality
Home

You might try the package named: perl-Image-Magick

I don't know for sure... I just found that by googling.


Reply to this

-
.

 How to install?

 
 by deviantdark on: Dec 31 2007
 
Score 50%
deviantdarkdeviantdark
home is where the hard disk is
Home

Hi.
First of all, thanks for your share :)
I did everything in the mini-how to, and I have the folder within /home/username/.icons which were created by your script.
But when I try to configure my cursors from System > Appearance > Mouse, the theme isn't present.
How could this be?
Within .icons the folder is present, with an index.theme file and a folder named "cursors".

Can I get it out of there?
Thanks a lot.


Reply to this

-

 Re: How to install?

 
 by Moony on: Jan 11 2008
 
Score 50%
MoonyMoony
Infinality
Home

Hmmm... not sure why it's not there. Maybe someone else has experienced the same thing and can shed some light on this?


Reply to this

-
.

 uaaa

 
 by ssuuddoo on: Jan 6 2008
 
Score 50%

uaaaa, finally a converter!

thnx body, I luv U 4 that. really.
will try it today.

wish luck in the year two ou ou eight.


=D


Reply to this

goto page:  1  2  3  4 

Add commentBack




-

Copyright 2004-2016 Xfce-Look.org Team  Legal Notice
All rights reserved. Xfce-Look.org is not liable for any content or goods on this site.
You can find our FAQ here.
All contributors are responsible for the lawfulness of their uploads.
Please send us a notice if you spot an ABUSE of the website.
Information about advertising in Xfce-Look.org.
Developers can use our public webservice interface. More information here: public api
For further information or comments on this site, please send us a message
Xfce is a trademark of the Xfce Project
Content RSS   
Events RSS