Tag Archives: ubuntu

Atheros AR8131 and Linux

A while back I picked up an ECS 945GCD-M motherboard to replace my dead VIA board that was running my RAID server. The board is pretty nice, sitting there completely silent, running 64-bit Ubuntu and packing far more power than the board it was replacing. But it has one glaring problem; the network card on the thing didn’t work out of the box in Linux. I had been running a cheap USB network card I had laying around, but it was slow and I hated that I couldn’t get it working. So, I set out to make the onboard Atheros AR8131M chipset work.

Google will give you a plethora of guides for compiling the drivers (this one is probably the best), but I just couldn’t get things to load. It was also never clear what version of the drivers I should be trying to run. Most tutorials made reference to 1.0.0.9, some to 1.0.0.10, but the current version (at the time of this writing) is 1.0.1.9. In the end, though, that’s the version I did manage to get working. Here’s how I did it:
Continue reading

Tweaking Gnome for Low-Resolution Displays

I’m a fan of Ubuntu, and I’m kind of lazy about setting up my desktop, which means I’m using Gnome as my window manager. Over the years I’ve grown to like it… it’s not perfect, but it’s livable and works pretty well. One of the problems I’ve always had with it, though, is all of the window elements in it are huge. This makes it look kind of childish and eats up a lot of screen real estate on the 1280×800 display on my desktop. I couldn’t even imaging running it on a lower resolution!

I was discussing this with my friend Jason and he recommended playing with the font sizes. Sure enough, that did the trick! It seems that the reason everything is so big is that the default font sizes are 10pt. I shrank them down and MAN does it look nice now!

You can edit these values one ways; via gconf-editor or via gconftool-2 on the command line. I won’t post the gconf-editor direction since, if you know your way around it, you can extrapolate the parts you want to edit via the gconftool-2 commands. The following settings worked extremely well for me, but you can adjust the font faces and sizes as you see fit.

gconftool-2 --type string --set /apps/metacity/general/titlebar_font "Sans Bold 8"
gconftool-2 --type string --set /desktop/gnome/interface/font_name "Sans 9"
gconftool-2 --type string --set /desktop/gnome/interface/monospace_font_name "Monospace 9"

This will adjust the title bar, all normal window text and all monospace text, respectively. Again, these numbers looked the best to me, but you can make them even smaller (or bigger) to fit your needs. I did these adjustments on my 1680×1050 display as well, and it looks amazing. Then again, I love small text!
Continue reading

Samsung X360 Backlight Control with Ubuntu

I recently send my Samsung X360 laptop to the shop. The bearing on the fan had gone bad so I sent it in for warranty replacement. Before I sent it, I thought I would wipe out all my data since a lot of it was work-related and I didn’t need that information getting out, plus I didn’t want to confuse the poor tech with Linux.

When I got it back, I immediately installed Ubuntu’s most current version, 9.10 (Karmic Koala). I was really impressed with it; even more-so than with 9.04 in fact. But I ran in to a problem when I was setting it all up; I couldn’t get the backlight adjustment to work.
Continue reading

Living with PulseAudio via PulseAudio Device Chooser

Telecommuting is a pretty sweet gig with a good number of benefits. To name a few, while I’m working I can:

  • Toss some laundry in the machine
  • Start my lunch and work while it cooks
  • Sign for packages when they are delivered

And that’s just the tip of the iceberg. However, to make telecommuting possible, there are some technologies I simply MST have working. VPN is a big one, so I can get at the computers back in the office. SSH and FTP access is important to manage servers and files. And of course, I need to communicate with people; for that, we use AIM and Skype. Up until recently, it’s been enough for me to use my Nokia N800 to make my calls back to the office. It’s no good for chatting with video though, so I needed to set it up on my desktop with my camera and, preferably, my headset.

Simple enough task really; both my Logitech webcam and Plantronics headset work out of the box with Ubuntu (at least in 9.04) with nearly zero configuration required. I just plug them in, tweak Skype quickly and I’m up and running. However, with the addition of PulseAudio in the more recent version of Ubuntu, this became a little trickier.
Continue reading

PPTP VPN Routing in Ubuntu using Network Manager

Back when I was still on Ubuntu 8.10 (Intrepid), I had near endless problems with PPTP VPN access using the network manager. I wasn’t alone, and I guess I was pretty fortunate that it worked at all. My problem with it was that routes never worked correctly so ALL of my traffic was routed through the VPN. To be honest, they DID work, but the connection ALWAYS dropped off after a minute, sometimes less, so it was hardly usable. This was exceptionally annoying since everything worked just fine in 8.04 (Hardy)!

Thankfully in 9.04 (Jaunty), things seem to be working again. In fact, as I type this, my traffic is being sent from my local connection, even though I’m connected to the VPN at work. Since this still seems to be a big problem for many people, I thought I would post what worked for me. Continue reading

Ubuntu 64-bit and Adobe Air

UPDATE 2009-10-01: I’ve just gotten Air running on my Ubuntu 9.04 (Jaunty) install. Apparently Adobe updated their installation instructions to include all the required steps now. Good for them! So, this post isn’t really useful anymore, but I’ll keep it around anyway, just in case.

There I was, running 64-bit Ubunutu and trying to get Adobe AIR to install. The problem is, AIR is written for 32-bit systems, so it needs some extra help installing on 64-bit Ubuntu. I managed to get it running, with a little help from Adobe’s site and grabbing getlibs here (their link was broken), everything looked good. That was, until I tried to install an AIR application.
Continue reading

Ubuntu 64-bit, Firefox and Flash

OK, so you have this sweet new computer (much like myself) running 64-bit Ubuntu like a champ. Except for one thing; Flash elements on webpages in keep flaking out. That is, from time to time, instead of seeing the Flash content, you see a grey box that doesn’t do anything. It just sits there, mocking you, until you close and re-open either the tab, or in most cases, the browser itself.

I had this happen in both Firefox and Opera. As it turns out, the problem is related to the machine running a 32-bit version of flash with a 64-bit version of the browser. There are 2 ways to fix this: run a 32-bit browser or run 64-bit flash. But, why would you run a 32-bit browser on your sweet 64-bit machine? Well, because there isn’t a 64-bit version of flash… or at least, there wasn’t until recently.

I was tired of this problem so I hit Google and looked for a solution. Sure enough, I found one! Now, I will warn you that the 64-bit Flash is still in Alpha, but i’ve been running it for a few weeks now without any problems. Here’s how you can too.
Continue reading