Fixing a Keyboard After Spilling Liquid On It

UPDATE: After working fine for a few days post-cleaning, some of the keys stopped working again for some reason :( . The process was a failure.

Well this was probably one of the dumbest things I’ve ever done. Late last night while playing Starcraft II with a friend online, I spilled some wine that got all over my desk including my expensive TypeMatrix keyboard. It’s probably one of the worst liquids to spill anywhere, let alone on computer parts! After frantically trying to dry it and leaving it alone overnight, some of the keys just didn’t work anymore. I thought, could this be fixed? I might as well try before dropping $110 for a new one.

The following instructions may vary depending on the type of keyboard you have. Actually if you’re fixing a laptop keyboard the instructions will be very similar. Here’s the steps to repair:

Continue Reading »

1 Comment Posted in crap i write
A Solution to the Software Patent Problem?

Patents in the USA were intended to protect inventors against people copying, reproducing, and selling their own creations. But with software, things have gone awry with companies like Apple and Microsoft patenting the stupidest things — hoping they will slip through the US patent office and be accepted. And now to defend oneself from being sued for patent infringement, huge companies are scooping up patents in billion dollar buys. Apple and Microsoft recently paid $4.5 billion for Nortel‘s patent pool, and Google bought Motorola Mobility for $12 billion which included their patent pool.

This is a tremendous amount of money spent which isn’t even for any tangible product, research, or manpower. In the long run this is going to cost consumers by raising product prices (Microsoft gets $5-10 for every HTC phone sold, even though there is absolutely no Microsoft product or technology in it).

I was thinking about the patent problem and how it could be changed to protect the individual or company inventions but prevent big businesses from bullying other companies and hurting the consumer. What if patents could not be transferred to another individual or company without being released into the public domain? In other words if you hold a patent for something that you invented, you would still be fully protected by that patent, but you could not sell or transfer that patent power to someone else. If you decided to sell your company or go out of business, the patents automatically get released in the public domain.

This solution would protect the inventor (person or company) that invented the “thing”, but prevent the fake companies that just buy up patents and sue everybody from existing.

See also: So How Do We Fix The Patent Problem?

No Comments Posted in crap i write, technical
SwiftKey X Keyboard for Android Review

SwiftKey X Icon

UPDATE! Today only, SwiftKey X is free on the Amazon Appstore! Normally a $3.99 purchase.

The fastest and most advanced keyboard for Android, SwiftKey, just got better with SwiftKey X. SwiftKey is an Android keyboard replacement, the first that introduced the idea of next-word prediction and analyzing your e-mail and SMS messages to detect your own word and grammar patterns.

But is it really the best keyboard for Android right now? I think so. Read on past the break to find out why.
Continue Reading »

No Comments Posted in Android, technical
Tagged ,
Droid Incredible 2 Review (with Verizon Wireless)

When I decided to switch from T-Mobile to Verizon for my mobile wireless provider, I purchased the Droid Incredible 2 by HTC. There were a bunch of great new Android models to choose from, including:
Continue Reading »

1 Comment Posted in Android, technical
Tagged ,
Ubuntu: Configure a Keystroke to Take a Screenshot

The Mac OS has a nice screenshot interface. You press Cmd Shift 3 to take a screenshot of the entire screen and save it to the desktop. Pressing Cmd Shift 4 will display a crosshair to take a screenshot of any rectangle area of your choosing. This saves the step of cropping the image which you are most likely going to do.

You can replicate this exact functionality in Ubuntu Linux without installing anything else.

  1. Go to System -> Preferences -> Keyboard Shortcuts
  2. In the desktop section, find Take a screenshot and highlight it
  3. Press Ctrl Shift 3 (or whichever combination you would like)

There is no entry for “Take a screenshot of an area”, so we must create it.

  1. Click the Add button
  2. Name: Take a screenshot of an area
  3. Command: gnome-screenshot -a
  4. Click the newly created entry
  5. Press Ctrl Shift 4 (or whichever combination you would like)
  6. Close the window

Thats it! Now you can press Ctrl Shift 4 and take a screen shot of an area.

No Comments Posted in technical, Ubuntu
Tagged ,
Using XBindKeys on Ubuntu Linux to Remap Key Commands

Once again I have started to use Ubuntu GNU/Linux to try to get away from Windows and explore more freedom respecting software. Of course there are going to be a lot of utilities you use in Windows that are not available in Linux so you have to find the equivalents. One of my must have utilities on Windows is AutoHotKey, especially since I use a TypeMatrix compact keyboard with a Dvorak layout. For example, my Z key is on the right side of the keyboard so I like to remap Ctrl + ; (semicolon) to activate Ctrl + z to undo things with my left hand.

The idea is that you use xbindkeys to listen for keyboard commands (input) and then you use xvkbd to type your desired keys (output).

Here is how to remap a combination of keys to another combination of keys on linux:

Install xbindkeys

sudo apt-get install xbindkeys

Create the default config file for xbindkeys

xbindkeys --defaults > /home/your-user-name/.xbindkeysrc

When thats done, install xbindkeys-config, the GUI for xbindkeys (note: the GUI is optional, you could just edit the config file with a text editor).

sudo apt-get install xbindkeys-config

Now the utility the actually does the “typing”

sudo apt-get install xvkbd

Once each is installed, start xbindkeys by bringing up “Run Application” with ALT -F2.

xbindkeys

If you want to launch the GUI editor you can run xbindkeys-config, but I found it to be more confusing than the text file.

Configuring your Shortcuts and Macros

Open your configuration file in your favorite text editor. It is called .xbindkeysrc in your home directory.  Use the # character to comment out lines, such as the default macros placed by the program’s author — after I installed it, Ctrl + F was launching an xterm window all the time.

At the end of the file, put this:

"xvkbd -xsendevent -text "\Cz""
   control + semicolon
The second line is the keystroke to invoke the operation — kind of counterintuitive but that is how it is. Here it is listening for Control + semicolon.  To find the syntax for the key being pressed, you can run the xbindkeys-config utility and click the Get Key button. Press any key combination and it will print out what you did. From there you can just copy or edit the text of the command.
The first line is the command line operation to send when your desired key combination occurs. Here I’m running xvkbd with some flags. -xsendevent tells it to send an XEvent to whatever the active window is (and active input field). -text means type the block of text in quotes. \C (backslash C) means hold Ctrl while pressing the next key, which is the letter “z”.   For more xvkbd syntax, look at http://man-wiki.net/index.php/1x:xvkbd or this chart:
- \r – Return
- \t – Tab
- \b – Backspace
- \e – Escape
- \d – Delete
- \S – Shift (modify the next character)
- \C – Control (modify the next character)
- \A – Alt (modify the next character)
- \M – Meta (modify the next character)
- \[keysym] – the keysym keysym
Please note that modify with “\S will be ignored in many cases. For example, “a\Cb\ScD\CE will be
interpreted as a, Control-b, c, Shift-D, and Control-Shift-E.
Instead of using xvkbd to send text strings, you could probably use the xmacro utility to create more advanced macros to playback. You can also run any program you want, just put the command within the double quotes.
Example: Launch Firefox with Ctrl + f
"firefox"
   control + f

Now I just have to find an easy way to reload my xbindkeysrc config file when I make changes. Right now I’m killing the process and launching it again.

Final note: you can set xbindkeys to launch on startup — in ubuntu, just go to System -> Preferences -> Startup Applications and add a new command xbindkeys.

5 Comments Posted in technical, Ubuntu
Tagged ,
Christmas Card with HTML and CSS3 (2010)

This year instead of sending out paper cards in the mail, I created a web page with a personal message protected by a password, and e-mailed it out to friends. The password and personal message system is made possible by PHP and MySQL. Some of the graphical effects were made possible by CSS3 rotations, such as the “gift” tag.

To accompany the personal message I also recorded a mix of Trance music that is downloadable or playable with a flash plugin. The mix was made possible with Numark’s iDJ2 and the Behringer UCA222 for recording.

You can view a generic version of the Christmas card.

Or download/play the mix directly.

No Comments Posted in technical
Logitech RX1000 Laser Mouse Drivers for Windows 7

If you try to search for Logitech RX1000 laser mouse drivers for Windows 7 (32 bit or 64 bit) on www.logitech.com, you will find nothing. The mouse partially works in Windows 7 without drivers — however you won’t be able to customize the extra buttons. To do this, simply search for RX1500 on www.logitech.com for your operating system, install it, and you will be able to customize your mouse via the mouse control panel.

Or simply visit this link: http://www.logitech.com/en-us/428/4431?osid=14&bit=64#section=downloads

No Comments Posted in technical
Tagged , , ,
Flying Saucers Retro Kitchenware Launched

click for full size
The first e-commerce website developed by ButlerPC has been launched! Anyone looking for fun, retro kitchenware and other vintage knick knacks can look no further than www.flyingsaucersAP.com.

Due to the retro nature of the products in the store, we wanted to give the site a kind of retro look from the 60s and 70s. That is why I went with a vibrant color scheme to match the store’s logo. The home page features unique “Brady Bunch” style boxes showcasing certain kitchen products, and they swap every few seconds via ajax requests in the background.

Visitors can check out the gallery, browse for fun products, and purchase using a credit card on a secure PayPal form.

Flying Saucers is based in Asbury Park, NJ.

No Comments Posted in crap i write, technical
Behringer UCA222 Review and FAQ

Last year I put up a short review on YouTube of Behringer’s UCA222 USB audio input/output interface for recording stuff into your computer. I just did the review for fun after getting my Ultra HD pocket video recorder but, since then, it has received thousands of views and a lot of comments too — many of which I responded to. Here is a rough overview of the device, and after that I’ll put up a small FAQ (Frequently Asked Questions).

This device basically allows you to record to your computer high quality stereo sound from any device that outputs red & white RCA cables. You simply plug in the USB to your computer (Windows, Mac OS X, or Linux) and most systems will install the software automatically. It will show up as a new audio input/output device that you may select in your recording software such as Audacity. For me, the UCA222 was actually selected automatically while plugged in.

The manufacturer claims 48khz 16bit sound quality. This is much higher quality than you’re likely to get from your built in sound card. It can also be used to replace your existing sound card to output stereo sound through the device. In fact, while plugged in, your normal sound card will be muted and you’ll have to use this one for any output.

FAQ:

Q: Can I record my guitar with this device?
A: This isn’t  used for recording guitars. For recording your guitar into your PC via USB, your best bet is to buy the Behringer UCG102, the sister product made for guitars and analogue instruments.

Q: Can you play music on your computer and have it come out through the UCA222 USB like a sound card?
A: Yes, once plugged in, all sound generated from your computer will actually now go through the stereo output on the UCA222.

Q: How is this different from the UCA202?
A: They’re the same exact device, except UCA222 is red instead of silver, and UCA222 comes packaged with EnergyXT software with a lot of free VSTs for making music.

Q: After its connected do you control the volume at the mixing board or the computer?
A: The mixing board. For me, when I plugged it in, there wasn’t anyway to control the input recording volume, it was simply set to 0.0 dB.

Full Video:

No Comments Posted in Music, technical