Hey! This is the old a broken mold. Newer stuff is at abrokenmold.net.
That being said, feel free to rummage through the archives over here. Also feel free to leave comments; we're still keeping an eye on this.
Showing posts with label Windows. Show all posts
Showing posts with label Windows. Show all posts

For me, that is.
I blogged a while back about Vista/XP Virtual Desktops being virtual desktops in Windows done right-er. Well, I have a new love. VirtuaWin.
I believe that probably over a year earlier than this second time, I have used VirtuaWin (the default taskbar icon looked familiar). I probably didn't like it so well back then, but I think it's pretty rad now.

  • under 10 MB memory usage on my system
  • low CPU usage on my system
  • simple
  • fast
  • small size of core files
  • extendable by modules
Awesome, huh? It doesn't do any fancy Exposé style desktop previews like some other ones, but I don't really think Windows is setup for that (hopefully Microsoft will make some changes in this direction in the future. Native virtual desktops in Windows would be great).
And some nice news for the Ubuntu (and others, I think) users among you: you can set up hotkeys to switch and follow windows to the previous and next desktops.
Sweet, huh?
As a postscript, I like using the XP bars icon set for VirtuaWin because it allows me to keep tabs on which desktop I'm on, Ubuntu/GNOME style (pic). Check that set out or take your pick of the others. You install them by putting them in the icons folder in the VirtuaWin folder. Refer to the help file included for more info (help not working on Vista? Try xchm for Win32 [v. 1.16]).

With a lot of Unix and Linux window managers, you can drag a window around by holding the Alt key and using your mouse anywhere on the window. (The GNOME window manager can use some different keys, probably other WMs, too). This is incredibly useful. It allows you to get the window around quickly, and is so much faster than seeking out the title bar and dragging with that.

Anyway, enough with the persuasion; if you're going to like it, you'll be convinced when you try it. To the point, I found three programs to do the job for Windows: the Easy Window Dragging -- KDE style AutoHotkey script, AltDrag, and Win32WM (direct .zip link).

The first of these, Easy Window Dragging, is the most simple. You'll need AutoHotkey to run it. If you want, you can use the AHK2Exe compiler included with AHK; this will make an .exe you can run without needing AutoHotkey. I think performance may be slightly better when it's run uncompiled, but the difference may be negligible. The functions of the script are (quote from script comments):

Hold down
; the ALT key and LEFT-click anywhere inside a window to drag it to a new
; location; 2) Hold down ALT and RIGHT-click-drag anywhere inside a window
; to easily resize it; 3) Press ALT twice, but before releasing it the second
; time, left-click to minimize the window under the mouse cursor, right-click
; to maximize it, or middle-click to close it.

There is a tray icon that allows you to exit the program.

AltDrag has a few more features. Quote from the info file:

Drag windows with the mouse when pressing the alt key.
You can use the middle or right mouse button to resize windows.
If you press the shift key while you drag or resize, the window will stick to other windows.
You can double-click a window to maximize it.
You can double-click with the middle mouse button to roll-up windows.

There is also an experimental feature to make it stick to other windows (what does that mean?) along with another option in the .ini file to make Alt+right-click minimize windows. Tray icon included.

Win32WM does not have a tray icon, so you'll have to end its process with Task Manger in order to stop it. In addition to alt-dragging, it has some keyboard driven window management functions. Quote from the readme:

Maximize vertically Win+V
Maximize horizontally Win+H
Maximize window Win+X
Minimize window Win+Z
Send window to background Win+B

It also has some other functions, such as snapping windows to desktop edges when alt-dragging, but they appear to need VirtuaWin (what Win32WM was originally made for) to be enabled.

One other thing to note about Win32WM: it appears to send click and drag mouse events to the window it's moving - repeatedly. Take a look at this blank canvas in GIMP that I dragged around with it:

Win32WM_dragged_GIMP_image

And another note: while the CPU usage of these applications is mostly not that bad, the CPU usage of programs being dragged around on the screen can spike as well as applications behind those you are dragging. I think this has something to do with the way Windows draws windows and I also think it may be different in Vista and beyond. However, this is mostly with violent thrashing of the window about the screen; gentler window dragging should have quite acceptable CPU usage.

In any case, take your pick, and enjoy.

Update: June 12, 2009: Just a quick note: windows don't seem to drag using this method when they are not responding (hung). I think this is probably also something to do with the way Windows draws windows, and it also may be different in Vista. And as far as I remember, hung windows drag fine in Linux.

Update: November 1, 2009: I've switched to using KDE Mover-Sizer, a modified version Easy Window Dragging. It supports window snapping and is distributed ready to go in an .exe. Go read the page if you don't understand that. And let me reiterate one last time - alt dragging is an awesome time-sanity-saver.

Having finally read Claus' post about Kon-Boot from the 25th, I thought it pretty cool and felt like posting about it over here.

He goes into some detail about the tool, so you can check it out if it interests you. But here are the juicy and important points.

What it does is modify the operating system kernel in memory (grabbing control at the BIOS to bootloader handoff), changing the necessary parts to disable the need to use a password to log in. It runs off of a CD (or a floppy… maybe you could get it to work off a USB stick, too). Hot stuff.

From what I read at GSD, such techniques aren't new, but this is a pretty sweet implementation. It doesn't work with computers on a domain setup, but that makes sense; you would have to inject code into the server, too, to make it work, because the computer needs to authenticate with the server, and unless the server is compromised, too, it's not gonna let you login with out proper credentials (password, keycard, whatever). And even if you could get through to a local account on the computer, you might not be able to nab anything important since user data might be stored on the server. I'm not sure about the caching methods used, though (I'm talking about Windows here; I don't even know if Linux has domains). Maybe some user data would still be cached on the hard disk, I don't know.

In any case, it's a pretty cool technique, even if I'm not so geek about it as Claus.

Just a quick post to expand on my comment in a previous post on switching to AHCI mode (to enable full SATA functionality) after installation (in IDE emulation mode) of the operating system. See this for further information. This is particularly useful if, for whatever reason, an F6 floppy install of the SATA drivers proves futile.

Here is the thread I found. I basically followed those instructions, except it's an MSI-specific forum, so I believe the IATA621_CD.EXE file specified may be such. I also believe the IATA88CD.exe file I found on my driver disk from Gigabyte is the corresponding file. Nevertheless, to be safe, I downloaded the Intel Matrix Storage Manager executable directly from Intel, to be sure I had the real goods.

I then followed the instructions, but I used the text found here. It was a bit of a long shot, perhaps, but mine is a ICH10R-based board, and that was supposed to work... and it did! I did have a couple devices (IDE primary and secondary controllers, to be precise) show the infamous yellow question marks by them for a few reboots while I installed other drivers, and then they resolved themselves.

So, there you have it: an ex post facto method to enable SATA mode.

NB: Only tested with 32-bit Windows XP Professional and the specified Intel chipset.

Last Friday (4.10.09), Nathaniel, Hugh, Elliot, and I gathered to build the computer I had researched and purchased the parts for. It was my first build, and quite educational and satisfying, even if it did thwart our purposes until the early hours of the morning.

Specs:

Gigabyte GA-EP45-UD3R
Intel Core 2 Quad Q6600 Kentsfield 2.4GHz
PC Power & Cooling S61EPS 610W
ATI HIS Radeon HD 4850 512MB DDR3
Crucial 4GB PC2-8500/DDR2-1066
Western Digital Caviar Blue 320GB SATA 7200rpm
LG 22X DVD±R Black SATA GH22NS30
COOLER MASTER Centurion 5 CAC-T05-UW
LG 19" Flatron W1952TQ-TF

The log of events:

5:13:00pm Watches synchronized.

5:16:26pm Pictures of components.

5:18:28pm Case removed from box.

5:19:35pm Side panel removed.

5:23:19pm Pictures of heart throbbing loot.

5:28:00pm Preinstall SATA drivers downloaded from Asia.

5:31:23pm Front panel removed.

5:33:41pm Motherboard drivers transfered to floppy disc via USB floppy drive.

5:47:27pm Moved to kitchen in order to circumvent electro-static discharge risk.

5:51:52pm Removed motherboard from box and anti-static bag.

6:03:54pm I/O panel busted out after much difficulty.

6:04:09pm Installed I/O panel.

6:14:49pm Standoffs installed.

6:17:47pm Motherboard mounted.

6:33:31pm Began testing screws due to irregularity in tightness.

6:35:54pm Standoff discrepancy diagnosed and motherboard removed.

6:49:39pm Discovered we had no less than FOUR faulty standoffs.

7:05:59pm Dinner break.

8:15:21pm Motherboard installed.

8:21:14pm Power supply installed.

8:38:51pm Front panel connections established.

8:50:45pm Prepared heatsink for installation.

8:53:34pm CPU installed!!!

8:57:03pm Checked motherboard screw tightness.

8:03:52pm Arctic Silver thermal compound applied to CPU.

9:08:12pm Heatsink installed.

9:12:27pm After much deliberation decided to install HDD in the top slot.

9:14:49pm HDD installed.

9:23:41pm Memory modules installed.

9:34:33pm GPU installed

9:42:27pm Optical drive installed.

9:56:08pm Double checked everything.

10:09:07pm POST!!!

10:14:36pm The zip-tie attack begins.

10:59:07pm Windows XP installed.

11:14:01pm BSOD due to incorrectly configured AHCI BIOS options.

11:26:07pm Began reinstalling Windows XP, having floppy problems.

12:20:00pm Tried enabling Mode 3 Floppy support.

3:24:17pm Must.... have..... sleeep.

[Next day]

2:07:14pm Successfully switched to AHCI mode after Windows XP installation.






























































































































































































































































































I'll start this post with a brief overview of some work I did on my computer, mainly over Christmas break. Vista was beginning to feel a bit sluggish, and since I had some time to mess with it, I decided to plunge into the adventure of tinkering with partitions, boot flags, installations, and so forth. I was also planning to try, once again, to get my Dell Media Direct button to boot Ubuntu. I removed Media Direct a long time ago (it's not all that useful, and takes up more space than a Linux distro), so the button didn't do anything, except maybe bring up the MD flash screen. I had tried this process before, following this guide, and failed then. It didn't work this time either, but don't stop reading; this could still be informative. Here is a thread on the Notebookreview.com forums that details my progress, since I don't feel like recounting it all here.

I now have a running computer, resplendent with the most recent version of Ubuntu, and a fairly customized version of Vista, even if I didn't get it vLited like I wanted too. Maybe next time... I'd need a DVD, a DVD burner, a lot of time and patience, etc. And I've set my MD button to turn off my screen in Windows! See this thread (I use Monitoroff.exe instead of the provided utility). Pretty smooth, and I think it's actually more useful than having it boot Ubuntu. GRUB does a good job.

Our local Radio Shack is been going out of business, so they recently had a liquidation sale, with prices half off. At the sale, I got a Sandisk Sansa 2GB Clip, a Vanguard MP-4 Monopod, a CB radio, and some electrical components that were purported to, if assembled correctly, act as a wireless FM microphone that transmits at (legal) low power with a 45ft range, to frequencies between 91 and 97 MHz, depending on the tuning of the coil and the frequency picked up by the microphone. Wicked awesome, I thought! However, the assembly was another matter. That PCP chip was smaller than I thought, my soldering skills are less than satisfactory, and I think I need a new tip for my soldering gun. However, somehow, when I finally got things put together late at night, it worked. I had to add a SPST toggle switch and 'N' battery and holder to the kit. Pictures below.












































































Oh yes, and I've also uploaded my first Youtube video. I was trying to get Youtube to automatically include a High-Res option, but it's not really worth it anyways, since the video isn't high-res to begin with, and the Youtube version isn't too bad. Just don't watch it in fullscreen.

A couple more things... more along the politics and art veins. This may make an interesting read, if for no other reason than to expand and circulate thoughts on economy and the principles that apply. It should be noted that the creator of this program is a successful entrepreneur. The other thing is about the band mewithoutYou. I could talk for quite some time on the subject, but the telos of what I have to say is really that their aesthetic is much more subtle, poetical, and powerful than a lot of what passes as art or music. Their lyrics and instrumental style portray a much broader, deeper, more sober and yet more beautiful picture of life than just about any current buzz songs that come to mind. Here are the lyrics to a song by mewithoutYou called "Silencer".

Don't waste your lips on words I've heard before
Kiss my tired head.
And each letter written wastes your hand, young man
Come and lead me to your bed
You gave me hope that I'd not lost her
And then thought it rather strange to see me smile-
as I don't do too much smiling these days.

She put on happiness like a loose dress
Over pain I'll never know
"So the peace you had, " she says,
"I must confess, I'm glad to see it go."
We're two white roses lying frozen just outside his door
I've made you so happy and so sad,
But which should I be more sorry for?

Come kiss my face goodbye,
that space below my eye and above my cheek
Cause I'm faint and fading fast, I see a darkness
And I shall be released.
I'll pass like a fever from this body,
And softly slip into his hands
I tried to love you and I failed,
But I have another plan.

My Lord, how long to sing this song?
And my Lord, how much more of this pretending to be strong?
When she stands before your throne
Dressed in beauty not her own
All soft and small, you'll hear her call
"you brought me here, now take me home."

I think they evidence a profound grasp of theological principles, the struggle of life, pain, beauty, and the true source of strength. At any rate, listening to a song like this gives me a whole lot more contemplate than many songs I could think of.

And finally, for what it's worth, here is a list of what I've read, am reading, and will be reading for a while.

Phantastes: A Faerie Romance
Call it Courage
A River Runs Through It
All the Pretty Horses
Camp 4
Royal Robbins: Spirit of the Age
The Great Gatsby
The Importance of Being Earnest
The Man Who Knew Too Much
My Name is Asher Lev
The Ball and The Cross
The Red Badge of Courage
The Princess and The Goblin
The Princess and Curdie
The Liberated Imagination
A Tale of Two Cities
Hans Brinker/The Silver Skates
The Silmarillion
Les Miserables