windows 7 busy cursor lag at 12 o-clock fix

Posted in windows by daniel on May 4, 2010 No Comments yet

http://www.pretentiousname.com/win7_fixed_aero_busy/index.html

Windows 7 Aero Busy Cursor Fix

Background:

Some of the animated busy cursors which come with Windows 7 RTM have glitches where a frame is missing/repeated.

If you are using the default DPI and look closely (and/or have OCD) you should see the busy cursor animation jump and stutter around 12 o’clock with the default busy cursor and around 4 o’clock with the “large” busy cursor.

(The “extra large” cursor seems to be fine, as do all sizes of the “Working in Background” cursors and all of the high DPI cursors.)

You can see a description & animated examples of the glitch at Long Zheng’s iStartedSomething, based on the original Windows 7 Taskforce report by user Soulburner.

This zip you can download below contains fixed versions of the two glitchy Windows 7 cursors.

How the glitches were fixed:

The fixes were made by transplanting the missing frames from the Vista cursors over the repeated frames in the Windows 7 cursors. This was done by hand in a hex editor to ensure the smallest possible change and zero chance of upsetting anything (since the only thing which was changed is the colour of some pixel values).

The fixed files are not just copies of the Vista cursors. While the Vista .ani files work on Windows 7 they are missing the high-DPI image data, unlike the fixed versions in the zip.

(In Windows 7, but not Vista, each cursor file contains two sets of images which are presumably high and low DPI versions. The old low-DPI image data is exactly as it was in Vista, except for the two incorrect frames, and the new high-DPI image data is glitch-free. So copying over the two (one per file) incorrect frames using the Vista data gets us a perfect result: Glitch-free low-DPI and high-DPI. Another difference is that the Vista .ani files animate at a different speed. The .ani files in this zip are consistent with the speed of the other Windows 7 cursors.)

How to install:

  • First, ask yourself if you care about the little glitches enough to bother with all of this. :-)
  • Copy the two .ani files to somewhere. (Normally C:\Windows\Cursors so they’re with all the other cursors.)

    Note:You’ll run into hassle if you try to rename/delete the original cursors and copy the fixed ones in their place. The original cursors are protected files owned by the special TrustedInstaller account and cannot easily be deleted or overwritten. Save yourself some trouble and copy the fixed cursors with their new, unique names.

  • Go to Control Panel -> Hardware -> Mouse -> Pointers and select the Busy cursor.

  • If you are using the Windows Aero pointer scheme, click Browse and choose the win7_fixed_aero_busy.ani file that you copied from this zip.

  • On the other hand, if you are using the Windows Aero (large) scheme, click Browse and choose the win7_fixed_aero_busy_l.ani file.

  • (If you are using the Windows Aero (extra large) scheme then you don’t need this fix.)

  • Click OK

Enjoy!

Download:

History:

v1.00 (17/Aug/2009)

  • Initial release.

  • Fixed files based on Windows 7 Pro RTM x64 and Vista Ultimate SP2 x86.

iFolder install on ubuntu

Posted in computer, internet, learn by daniel on November 16, 2009 No Comments yet

the contents below are copied from http://www.x2b4.com/howto/how-to-install-ifolder-on-ubuntu-server/ to ensure reproducibility.

How to install iFolder on Ubuntu server

ifolder_icon_bigFor a long time, I always searched for a synchronizing solution that just works. Sure, there is Unison, but its interface is a little rough. And it is not developed anymore. You can try rsync, but it is one way only (if you want two ways, you’ll have to do it yourself). Recently, things like DropBox and Ubuntu One are a great step forward. But their free version are quite limited in space. Plus, I like to have my data on my server, not just ’somewhere in the cloud’. Fortunately, recently Novell released a new version of iFolder. Seemed like the perfect solution, so I thought I’d give it a shot.

Of course, the first requirement for this tutorial is that you have your own server. Either a dedicated, a shared one, a some computer in your garage, but you must have root access to it.

Resources

https://help.ubuntu.com/community/ModMono
https://help.ubuntu.com/community/iFolderEnterpriseServer
http://www.thesummit-grp.com/index.php/matts-blog-right-menu-12/37-ifolder-37-on-sled-11
http://community.ifolder.com/ssf/a/do?p_name=ss_forum&p_action=1&title=installation&binderId=1487&action=view_folder_entry&page_title=Installation

https://edge.launchpad.net/~ruiboon

vikholt has adapted the steps to work with debian lenny. You can read his tutorial here:

https://trac-git.assembla.com/unifolder/wiki/InstallingIFolderServerOnDebianLenny

Requirements

* First, you must have a up-to-date Ubuntu server. I installed iFolder on ubuntu server 9.04, I think it should also work with server 8.10 and desktop 9.04. However in the case of 8.10, the dependencies may be a little bit different.
* Also, you must have apache installed and configured to work with ssl to have the windows client to work. You can quickly enable it with:
sudo a2enmod ssl
sudo a2ensite default-ssl
* That’s all

Steps
Start in an empty folder, for example ~/ifolderinstall

1. Download the different packages:
wget http://downloads.sourceforge.net/ifolder3/ifolder3-enterprise-3.7.2.9089.1-0.2.i586.rpm
wget http://downloads.sourceforge.net/ifolder3/ifolder-enterprise-plugins-3.7.2.9089.1-2.i586.rpm
wget http://download.opensuse.org/distribution/10.3/repo/oss/suse/noarch/log4net-1.2.9-104.noarch.rpm
2. Install alien and convert the packages:
sudo apt-get install alien
sudo alien –scripts *.rpm
3. Install the packages:
sudo dpkg -i ifolder3-enterprise_3.7.2.9089.1-1.2_i386.deb
sudo dpkg -i ifolder-enterprise-plugins_3.7.2.9089.1-3_i386.deb
4. Install the dependencies:
sudo apt-get install mono-1.0-runtime mono-2.0-runtime mono-apache-server mono-apache-server2 libapache2-mod-mono libmono-system-web1.0-cil
5. You must install a special version of log4net:
sudo apt-get remove liblog4net1.2-cil
sudo dpkg -i log4net_1.2.9-105_all.deb
6. Restart apache and verify everything is still working (it should):
sudo /etc/init.d/apache2 restart
7. Run the Simias server setup:
sudo /usr/bin/simias-server-setup
enter these for answers (most are default, take care of apache user and group):

SIMIAS SERVER SETUP
This script configures a server installation of Simias to setup a new Simias system.
—– SERVER’S DATA PATH —–
Path to the server’s data files
Server’s Data Path? [/var/simias/data]:
—– SERVER NAME —–
The name of this server
Server Name? [Host1]: iFolder
—– SSL —–
Select SSL/NONSSL communication for this server. Options
are SSL, NONSSL or BOTH
SSL? [SSL]:
—– PUBLIC URL —–
Public URL of this Simias Server
Public URL? [https://127.0.1.1/simias10]: https://yourserver.com/simias10
—– PRIVATE URL —–
Private URL of this Simias Server
Private URL? [https://yourserver.com/simias10]:
—– SLAVE SERVER —–
Install into existing Simias Domain
Slave Server? [N]:
—– SYSTEM NAME —–
A name used to identify the Simias system to users.
System Name? [iFolder]:
—– SYSTEM DESCRIPTION —–
A detailed description of the Simias system for users.
System Description? [iFolder Enterprise System]:
—– USE KEY RECOVERY AGENT —–
Use Key Recovery Agents to recovery the encryption
key if the user forgets the pass-phrase used for encryption?
Use Key Recovery Agent? [Y]:
—– RECOVERY AGENT CERTIFICATE PATH —–
Path to the Recovery agent certificate’s.
Recovery Agent Certificate Path? [/var/simias/data]:
—– USE LDAP —–
Use LDAP to provision and authenticate users?
Use LDAP? [Y]: N
—– SYSTEM ADMIN —–
The Simias default administrator. If the system is
configured to use an external identity source, the
distinguished name (dn) should be used.
System Admin? [admin]:
System Admin Password? [novell]:
—– CONFIGURE APACHE —–
Configure Simias to run behind Apache
Configure Apache? [N]: Y
—– APACHE USER —–
Apache User
Apache User? [wwwrun]: www-data
—– APACHE GROUP —–
Apache Group
Apache Group? [www]: www-data
Working…
Configuring /var/simias/data/simias/Simias.config…SetupSimias – Done
Configuring /etc/apache2/conf.d/simias.conf…Done
Configuring User Movement plugin..
Setting up Log4Net file…Done
Setting up permissions…Done
SUCCESS
8. Correct the mod_mono path:
sudo sed -i ‘s/apache2\/mod_mono.conf/apache2\/mods-enabled\/mod_mono.conf/g’ /etc/apache2/conf.d/simias.conf
9. Fix some paths:
sudo ln -s /usr/bin/gmcs2 /usr/bin/gmcs
sudo mkdir -p /var/www/.config/.mono/
sudo chown -R www-data:www-data /var/www/.config/
10. Restart apache and verify it is still restarting (it should :) ):
sudo /etc/init.d/apache2 restart
11. Run the setups for ifolder (answers are default):
sudo /usr/bin/ifolder-admin-setup
sudo /usr/bin/ifolder-web-setup
Put the following answers to apache:
Apache User? [wwwrun]: www-data
Apache Group? [www]: www-data
12. Correct again mod_mono path:
sudo sed -i ‘s/apache2\/mod_mono.conf/apache2\/mods-enabled\/mod_mono.conf/g’ /etc/apache2/conf.d/ifolder_admin.conf
sudo sed -i ‘s/apache2\/mod_mono.conf/apache2\/mods-enabled\/mod_mono.conf/g’ /etc/apache2/conf.d/ifolder_web.conf
13. Enable rewrite:
sudo a2enmod rewrite
14. Restart apache:
sudo /etc/init.d/apache2 restart
15. Go to https://yourserver.com/admin , create a user, and enjoy !

Here are some screenshots of the admin and web client:

ifolder-admin1

ifolder-admin2

ifolder-admin3

ifolder-web-client

The windows client

You can the install client to start creating ifolders of your own. You can download it on the official iFolder page. Once installed, the configuration steps are quite straight forward. Here are some screenshots:

ifolder-client1

ifolder-client2

ifolder-client3

From my initial use, everything is running sweet. One minor thing though: if you configure admin to not transfer big files (say more than 2 Gibis), the ifolder windows client will not stop from complaining that a policy prevents him from upload files. Also, it would be sweet if some folder could be easily removed from the sync process. However, this is still miles away from other setups. Everything works as it should. Plus, the web access is really a bonus.

The Ubuntu client

Thanks to the awesome work of Marcelo Boveto Shima, there is a ppa for installing ifolder client on Ubuntu. I tested it, and if there were some problems with the first version, I managed to get the latest one to work with my setup. Yeah ! Some screenshots:

iFolder Ubuntu client

So now, you can have a all in one sync solution that works… This rocks !

How to install iFolder on Ubuntu server « x2b4_1258428517770

Serial Port Infared Reciever

Posted in computer, internet, learn, mythbuntu by daniel on March 24, 2009 No Comments yet

I’ve been toying with a Mythbuntu setup lately and a need has come to setup a remote control. After looking around I’ve found this great step by step writeup on how to build one: http://lnx.manoweb.com/lirc/?partType=section&partName=introduction

i’m on IMDB…

Posted in audio|video, eco, internet, performance by daniel on March 20, 2009 No Comments yet

… well not really. :( But no worries, my Googleganger has it covered. Meet my newest Facebook friend Daniel Lench. We may be related on fact! Let me tell you, it’s strange to email yourself, and stranger to receive one. So after conversing with him for a bit, I’m here to say that Daniel Lench is unequivocally one cool guy! In fact I recommend everyone pay as much attention to him as possible and give him lots of money and acting roles. :) THANKS!!!

And to everyone else with the last lame Lench, Daniel is already taken. In fact It’s getting crowded in here!!!

Nice art!!

Posted in art by daniel on March 5, 2009 No Comments yet

http://www.jamesjean.com/

« Previous PageNext Page »