Friday, November 13, 2009

Compiz-Fusion in Gentoo

The Gentoo Linux Wiki has a short but decent article on installing Compiz-Fusion. However, after following the article myself, I found it was missing some rather important information. I'm running Compiz-Fusion with Gnome using an nVidia based card, just so you know.

First, I would like to point out that enabling the emerald use flag is not required. Emerald is a nice window decorator that provides some extra eye-candy for window borders, title bars, and title bar widgets. You will also get a good selection of themes to choose from. If you would rather not install Emerald, compiz will use gtk-window-decorator as the default window decorator. Basically, it will honor the appearance settings you've configured in Gnome's control center while adding some transparency effects to window title bars.

OK, so you've emerged x11-wm/compiz-fusion. At this point, the wiki article instructs you to run compiz-manager in a terminal. Don't. It will probably work, but it won't be pretty. You won't be able to move or resize most windows, none of the windows will have decorations, and there may be some other problems as well. Instead, you'll need to take some time to configure Compiz-Fusion first. Open the CompizConfig Settings Manager, which can be accessed through gnome-control-center or from the Preferences menu. At a minimum, you'll want to enable the following:

Category: General
  • Gnome Compatibility
Category: Effects
  • Animations (not required, but nice to have)
  • Window Decoration
Category: Utility
  • Workarounds (I had to enable "Force synchronization between X and GLX" to clear up some odd behaviors)
Category: Window Management
  • Move Window
  • Resize Window
Now open a terminal and run compiz-manager.

Finally, you'll want to setup compiz-manager to run automatically when you log in. The wiki article provides two methods. The gconf approach alone did not work for me. When I logged in, there was no window manager running at all! Simply adding compiz-manager to my session worked, but metacity was still starting up first then being replaced by compiz. What finally did work for me was a hybrid approach (I make no claims about the correctness of this solution). I used gconf-editor to update the specified value, and also added an entry to my session to run compiz-manager.

I have only had one problem thus far which I am still investigating. At some point while I'm logged in, most windows will stop using the selected cursor theme. Usually, logging out and logging back in is enough to fix it (possibly restarting compiz-manager would also work).

Wednesday, March 05, 2008

Silence is NOT golden!

I knew something was up when the indicator on my A/V receiver reported that it was receiving an analog signal from the input to which my PC is connected. Since the input is attached to the coaxial digital output on my soundcard, an "analog" signal generally means there is no signal at all. I wasn't worried, the cable had probably been unplugged accidentally last night when I had Rachel (my acoustic guitar) plugged into the computer through my mixer.

My anxiety went up a notch after taking a peek behind the desk to discover the cable was securely plugged in at both ends. Right, so maybe something was wrong with ALSA (no, that's not the Alpaca and Lama Show Association). Back at my keyboard, I did a little digging only to find all was as it should be as far as ALSA was concerned. Unfortunately, the output from lspci told another story. The sound card and all its related devices (e.g. MIDI/game port) were completely absent from the listing. Odd. I had to reboot anyway, so I told Daisy (yes, I named my PC too) to go ahead and reboot, thinking something may have gone wrong when the system was detecting my hardware during the last boot.

Several reboots later, my anxiety level was near critical. It was quickly becoming apparent that the problem was hardware related. I hate hardware problems! Really. Hardware isn't free and I almost always have to shell out some money to resolve the issue. More evidence for a hardware problem: Daisy wouldn't boot without first shutting down completely. Reluctantly, I unplugged Daisy and prepped for emergency surgery.

It turns out the sound card was not seated properly in the PCI slot. After seeing the output from lspci, I had a hunch this was the problem. When I had first re-installed the sound card after buying a new case, it hadn't seemed to fit quite right. I moved the card to another slot and the fit was much better. I don't know if the motherboard tray in this case is slightly warped or if there's something wrong with that particular PCI slot, but everything is working again.

Oh, and if anyone's interested, Perpetual Never will be playing at Union Street Station Friday and Saturday at 2200. Kelly and I are going to get some people together and go watch the Saturday show. Give me a holler if you'd like to join us.

Thursday, August 24, 2006

Visual Studio really isn't that great

I found the article linked to above while searching for information about...umm...err...well, I don't really remember. I am not enough of a writer to accurately portray how ecstatic I was to have found this article.

My current employer, which also happens to be my first employer since I graduated from Michigan Tech, is almost exclusively a Microsoft based company. All of the workstations run Windows XP (except for one iMac used by the marketing department), all of the servers run Windows Server, development is centered around Visual Studio Team System, and our applications target machines running Windows 2000 or Windows XP or devices running Windows Mobile. I was beginning to feel that I was the only one doing any sort of development for Microsoft platforms who was not gung-ho about Visual Studio.

I don't really have the time to go into this at any length, but I do agree with many of the points the article's author makes. Read it and let me know what you think. I've found myself paying more attention to how the design, or lack thereof, of my projects might be influenced by my choice of development environment. At the very least, reading the article should give you something to think about.

Boy, do I miss the days when all I "needed" for development was an open terminal window and gvim...

Wednesday, October 19, 2005

Proprietary Software Goes Open Source

As I have never before heard of Xara (I'm not big on the graphics scene...yet), I cannot speculate about the kind of impact this news will have. However, I was excited, and am eagerly anticipating the release of the GPL'd Xara Xtreme. To read about any company voluntarily GPL'ing proprietary software, especially software that had been developed exclusively for MS Windows, is warms your heart! This event is especially significant if Xara is truly as much of a force in computer graphics as it seems to think .

This news got me thinking: Just how much does the average Windows user know about open source software? The concept seems to have the largest following among computer hobbyists and professionals, as they would be the only ones able to glean anything from a look at the source code. Most of the more popular software available for operating systems such as Linux or FreeBSD is open source as well, but these OS's tend to draw the same crowd of hobbyists and professionals. However, a great deal of open source software is available for multiple platforms making it much easier to locate a port for your Windows box.

In future posts, I'm hoping to write a brief guide on using open source software to take care of common tasks in Windows. I think some of my imaginary readers might find it useful.

Sunday, May 15, 2005

Woohoo! Gentoo!

I'm finally running a distribution of Linux I think I'll be happy with. After trying first Mandrake, then Fedora Core 2 and 3, I've settled on Gentoo. All of my favorite applications are now up and running smoothly, except for Winamp which is Windows only. Once things have settled in a little more, I'll post my experiences with Gentoo. For now, all I can say is Yipeeeee! If you're not afraid to roll up your sleeves and get your hands dirty, and you want to take the Linux plunge, you owe Gentoo a look.

Wednesday, March 23, 2005

There's a Vorbis in my Ogg!

When Fraunhofer IIS introduced the MP3 audio codec to the world, the world couldn't help but take an interest. By giving people the ability to store whatever audio they may have at near CD levels of quality in a fraction of the space, MP3 quickly became a boon to anyone wanting to have access to their entire music collection without the hassle of lugging around a stack of CDs. On the flip side, MP3 became the nemesis of the recording industry as people could now easily distribute music all over the internet without paying anything to the record companies.

After witnessing the MP3 explosion, it didn't take long for other companies to look for ways to make their own mark in the compressed audio arena. Microsoft introduced its WMA format, Apple came up with a proprietary version of AAC, and Sony has its ATRAC3. Unfortunately for the masses, most of the new codecs being introduced were owned by the corporations who introduced those codecs to the world. I'll not go into a discussion of why this could be a bad thing, but I will point out that generally, corporations exist to make money.

Luckily for people like me, introduced Ogg Vorbis. Ogg Vorbis is a free and open-source audio codec for I haven't done a side-by-side listening test, so I am unable to support any claims about quality, but the web site claims that the codec can acheive the same quality as MP3 with a smaller file size. Really though, that's not what prompted me to learn more. What moved me was the open-source nature of the project. Anyone with the necessary skills can contribute and feedback is always welcome. There's also a note on the website that Ogg Vorbis will never support digital rights Management (DRM). Needless to say, I was excited.

Unfortunately, the number of portable players which support Ogg Vorbis is relatively small when compared with those that support MP3. It is growing, and hopefully, by the time I'm ready to purchase a portable player, I won't be forced to choose a player based on Ogg Vorbis support. On the other hand, the format is more widely supported by various media players, most notably Winamp. One could argue that Winamp is one of the most popular, if not the single most popular, software audio player on the planet.

For my part, I'm going to choose Ogg Vorbis over other formats once I've finished ripping all my music to the lossless FLAC format (a discussion for another day). Others may want to read up on the format first. A good place to go are the Hydrogenaudio Forums. The members of these forums have a phenomenal amount of knowledge in this area and are well equiped to perform whatever tests are necessary to compare various formats. Some may find that Ogg Vorbis needs to mature a bit more before they switch, others may want to start playing around with the format first, and still others may decide they're fine with whatever format they use now. However, I encourage everyone to at least take a look at Ogg Vorbis.

Well, that's all for now. There are many, many more topics I could write about, but they'll have to wait for future posts. I'll be putting in a new motherboard and hard drive soon, and going back to a dual boot system between Linux and Windows XP, so I'm not sure when those future posts will appear. Hopefully, it won't be as long as the time between my last post and this one!

Friday, January 07, 2005

Good Science Fiction

I was going to write this long, in-depth post about a series of books I've been working my way through. However, it's late and I desperately desire sleep. So visit the link above, or to the side, or below, or wherever the darn thing happens to be (I'm not that familiar with the layout I chose for my blog).

Oh, I suppose I should describe where you'll be going when you do click the link (and you will click the link, or unsettling things may happen to you and your loved ones...). Briefly, there was this guy who happened to be an author. He wrote a handful of books about this planet called Arrakis. Well, that's not quite accurate because it was more than just Arrakis, but the planet did play a central role in the book. That is, if you just skim the surface and don't plunge deeper. Getting back on track, this guy wrote these books, then died. Following his death, this guy's son...did I tell you this guy's name? No? Well, it was Frank Herbert...Anyway, Frank's son, Brian, got together with this other guy, Kevin Anderson, and finished the last book from Frank's Notes (I capitalize the 'N' here because Frank was such a cool guy and we need to capitalize the nouns describing his stuff, though I guess I didn't capitalize the 's' in 'son'...).

Apparently, Brian and Kevin did such a good job, and Frank's Notes were so good, the two guys went out and wrote two prequel trilogies. So now there are a total of 12 (5 + 1 + 3 + 3 = 12) books in the Dune series. Oh, and that's the name of the series, and also the name of the first book in the original series, Dune. So now these two guys have a web site for the series, with plans to write a seventh book to the original series. This web site is where the link will take you.

If you're interested, and you should be after my wonderful introduction, run to your local library, ignoring all traffic laws, throwing caution to the wind, and check out these books! Don't worry about the police, once you tell them you're trying to get the books as quickly as possible, I'm absolutely sure they'll let you go with nothing more than a warning. Ladies, remember to pout and show a little cleavage, just in case.

Ok, to sum it all up (just like I learned in school, though any of my past instructors would refuse to agknowledge they had anything to do with this abomination): Frank wrote some books, Frank died, Frank's son Brian wrote more books with some dude named Kevin Anderson, the two got a web site. You're going to visit the web site, then you're going to read the books. THE END.

Wow, that wasn't so brief after all, was it?

Oh, and it turns out the link is the title of this post. Who knew? And one more plug: Dune series by Frank Herbert = great reading, More Dune books by Brian Herbert and Kevin Anderson = Not as good as ol' Frank, but still great reading. Ok that's it. No more plugs for Dune.

Except this one: Dune is good...

Oh, and this one: mmmm...Dune...

Ok, no more Dune. Really! You don't believe me do you? I can see it in your eyes. And they all began to dance...