LifeCam Button Config v1.0.0.0

I’ve just written a tool that lets you bypass the default Windows Live Messenger prompt when you press you LifeCam’s button on top.

It can be a little annoy, but the good news is that now you can open or focus any application you want with the click of that button.

2009-10-20_0031

As you can see from the image above, I’ve made a simple browse option so you can easily find the file you want. When you open this tool it will automatically display the path to the program that is currently set to open.

2009-10-20_0031_001

If you later decide that you want to just use the default application (the one set before you change anything) then it’s only a couple of clicks away!

Currently the implementation used could be error prone. I have written the application to “assume” that the default application should be installed to “C:\Program Files\Microsoft LifeCam\icepick.exe” for 32-bit computers and to “C:\Program Files (x86)\Microsoft LifeCam\icepick.exe” for 64-bit computers.

If problems are experienced with this then please let me know. It may be better to scan for the application rather than to assume it’s in that location, but typically it should always be in that location.

2009-10-20_0032

Thanks for checking out this little tool! I hope you find it helpful. If you’re curious about the source code just fire off an email! It’s currently written in Visual Basic 2008, but could easily be ported to another language especially since I overly document code so others know what I’m doing. πŸ˜‰

Download163kb

LifeCam VX-1000 Live Call Button Hack

After digging into process and id’s I was able to track down the Guid for the Microsoft LifeCam VX-1000 and inspect several settings assigned to it via the Windows Registry.

As it turns out, there is a very simple hack to use the Windows Live Call button for any program you’d like!

I don’t have time at the moment to write a script or a program for this, but you can manually configure your webcam to open a program. If it’s already open then pressing the Windows Live Call button will simply bring it back into focus.

So far, I’ve only tested this button to open and focus Digsby and Opera, but it could in theory be used to call and or focus any application.

If you’re a little sketched about editing your Registry then that’s a sign that this hack isn’t for you and you should wait until I (or someone else) releases a tool that suits you.

If you’re still reading, then you probably want to get rid of that annoying Windows Live prompt. πŸ˜‰

  1. Open up RegEdit.
  2. Navigate through the Registry to the following location:
    HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Class\{6BDD1FC6-810F-11D0-BEC7-08002BE2092F}\0000\Settings
  3. The key that you want to edit is conveniently labeled “QuickStartPath“.
  4. Just change this key to the direct path of any file you want to launch. You can test that it works immediately after saving the key. No need to close RegEdit until you’re done.

If it works, great! You’re done! If not, then you’ve done something wrong.

Remember that the original file that was being launched was something similar to “C:\Program Files (x86)\Microsoft LifeCam\icepick.exe” depending on your platform. Mine is 64-bit, so you’re may not need the “ (x86)” specific Program Files directory (if you’re using a 32-bit computer).

If I find some free time soon I may write a simple program that can be called to do more than just open your messenger. Possibly start a video chat with someone who just signed on. We’ll see in time. πŸ˜‰

Enjoy this little hack!

Opera 10: Remove ‘Click to activate’ on flash in Linux!

I’ve been working with d.i.z. as he’s found a way to hex edit Opera binaries to disable the “Click to activate” feature that Opera has implemented on flash items. I won’t get into the details of why they implemented this myself, but I’ll just quote from the post that d.i.z. made about this topic.

Some background:
Eolas (E) is a company that patented a certain way of interacting with embedded objects on web pages. This is why in Opera, you sometimes have to click (for example) a flash player to “activate” it before it can actually be controlled. That sucks.

Opera is the only browser that I know of, that currently have this annoying system in place. IE had it, but it reached to a pocket full of money to buy a license from E.

Other (open source) browsers don’t implement this mechanism because E was kind enough to commit not to pursue legal actions against open source browsers that are violating its patent. Why? I guess because it wouldn’t really be able to enforce that anyway. Builds without this future would pop up everywhere in no-time.

Now that you understand a little bit about what is going on and the feature that you can remove, I have to tell you the bad news. So far we’ve only had time to patch Windows builds and most Intel Linux and Linux x86_64 builds.

If you’re looking for the Windows patch files then head on over to d.i.z.’s blog post and grab the download there as I will not be maintaining that one.

If you’re looking for the Linux patches, then you’re at the right spot!

I’ve managed to write three script files that will do everything you want! You will only need to use one of them if you only want to patch your version. The files are as follows:

  1. Patch script
    This script obviously patches your Opera file to remove the “Click to activate” feature. You only need to run this one if you just want to remove that and forget about it. Running it more than once will not affect the file as the hex search will no longer match after being patched, so that is why it will fail if the file has already been patched.

    To use this script, run the following commands in the terminal:

    chmod +x ./click-to-activate-removal-opera-10.sh
    sudo ./click-to-activate-removal-opera-10.sh
  2. Switch between patched Opera and unpatched Opera script
    This file will, as it says, rename your patched file and unpatched file accordingly so that each time you run it you will be able to alternate back and forth between patched and unpatched versions. This will no longer work if you remove your unpatched version which is created and saved originally by the Patch script above.

    To use this script, run the following commands in the terminal:

    chmod +x ./click-to-activate-removal-opera-10-swap-patched-unpatched.sh
    sudo ./click-to-activate-removal-opera-10-swap-patched-unpatched.sh
  3. Patch removal script
    This script is a clean-up tool. If you decide for some reason that you don’t want the patch anymore and want to remove it completely, then run this script. It will delete the patched file, so switching between patched and unpatched will no longer be possible until you reapply the Patch script.

    To use this script, run the following commands in the terminal:

    chmod +x ./click-to-activate-removal-opera-10-unpatcher.sh
    sudo ./click-to-activate-removal-opera-10-unpatcher.sh

Please make sure that you have completely closed Opera before running any of these three scripts.

After using any of the above scripts, you are free to delete the script. You can always grab it again here if you wish, just make sure to bookmark this page!

The example usage commands that I posted are correct for Ubuntu/Debian. I’m not sure how they compare across distributions, but just make sure to make the script executable and then run the script with root privileges.

I’m sure you noticed that the file names are very long. You can feel free to rename them to anything you want to. They run independently of the file name. I just named them very descriptively to help myself keep them sorted and maintainable. πŸ˜‰

As usual, if you wish to use any of these scripts then you understand that I am not responsible for any damages done to your computer (even if it explodes πŸ˜› ) and you accept the responsibility on yourself to deal with any results, good or bad.

If you experience any problems with these files then please let me know in the comments. Notice that these only work so far for Intel Linux builds and Linux x86_64 (64-bit), so don’t waste your time with other builds unless you want to help extend the scripts!

Also, please notice that currently this Patch script does not work for the Intel Linux builds that were compiled with GCC 2.95, but hopefully it will be supported soon. If you’re using a build other than this that is Intel Linux or Linux x86_64 then please let me know the version you downloaded so I can look into it!

I extend a special thanks to d.i.z. for making this hex edit hack possible and helping me form these scripts in the first place!

Enjoy!

Multiple Desktop Wallpapers in Ubuntu 8.10

The title of this article, well just the Ubuntu part, is a bit too specific, but I decided to use that to try to grab the Ubuntu communities attention and the fact that I’ll be showing this in Ubuntu. Also, I’m not writing this for anything other than Ubuntu Intrepid Ibex 8.10 at the moment. If you are using anything else and want to try to follow this then please keep that in mind.

This guide actually came about because I recieved an email from a curious reader asking for tips or steps to do this. Since I didn’t have any idea myself, I turned to my trusty friend Google and did quite a bit of searching before I finally came across a solution that was spread over several pages. Now I’ve put it all together here.

The steps to get this working in Ubuntu are surprisingly simple. However, to achieve this effect you must be willing to sacrifice your Desktop icons. πŸ˜‰

Basically, you obviously still have a background, but the icons will not appear there anymore. To view your desktop and icons you can always still use the Nautilus file browser and just navigate to your Desktop folder. You also lose the right click menu on the desktop, but the only time I ever use that is to change the background. After following these steps you won’t be changing your wallpaper that way anymore, but instead using the CompizConfig Settings Manager.

While Gnome is currently working towards fixing this bug that requires you to disable, they have clearly missed their projected goal of working the fix into Gnome 2.24 (as I’m using 2.24.1 in Ubuntu currently). A fix may still come in an updated 2.24.x build, but only time will tell. Coincidentally, the duplicate bug that it was matched to is marked as “Resolved.”

Please realize that I am in no way responsible for what you decide to do to your own installation after reading the following information. πŸ˜‰

The basic steps consist of the following:

  1. Make sure that you have “CompizConfig Settings Manager” installed. If you don’t already have it installed then you can install it through the terminal using the following command:
    sudo apt-get install compizconfig-settings-manager
  2. Now that you have “CompizConfig Settings Manager” installed. Open it:
    System -> Preferences ->Β CompizConfig Settings Manager
  3. Now you can either scroll down towards the bottom of the list and find an option labeled “Wallpaper” or just search for it in the filter/search box at the top left. Enable this option and click on the title “Wallpaper” to open the preferences for this plugin.
    Wallpaper = enabled
  4. Now just click “New” and browse for the image files that you want to use (one by one). The order that you have them in the list will correspond to the order they are in the cube or in your Workspace Switcher panel applet.
    Add new images one by one.
  5. Back to your terminal window, launch the “Configuration Editor” by entering the following command and press enter:
    gconf-editor
  6. You’ll notice a tree list on the left. Navigate through the following levels.
    apps -> nautilus -> preferences
  7. After selecting “preferences,” look through the list on the right a little more than half way through until you find an option labeled “show_desktop” and disable it.
    show_desktop = disabled

Now you should be finished with all of the whole setup process. The only thing left to do is to log out and log back in or simply restart X by pressing Ctrl+Alt+Backspace once.

After logging back in, you should notice something like the following (depending on the artwork that you chose).

Hopefully these help, but if I were you I would wait until this feature is implemented correctly. Also, I will update this page when this feature is indeed implemented correctly and isn’t really just a hack anymore.