Archive

Archive for the ‘Gentoo’ Category

Gentoo updates and annoyances

September 30th, 2009 2 comments

After hearing about the recent MintCast mention of our experiment, I figured it was high time to post an update with what’s gone right and what’s been enraging about my experiences with Gentoo over the past month.

What’s Gone Right

  • I’ve installed GNOME (Gentoo’s stable version is still 2.24.3, but I’m looking into the newest version) as I needed more of a true “desktop environment” – removable device mounting, in particular, wasn’t always functional in XFCE. Sometimes my external USB drives would be recognized and other times the system would just sit there as if nothing had happened. GNOME handles this task wonderfully, which I assume is in combination with dbus and HAL. I also like the toolbar customization features and login manager.
  • The installation for VirtualBox 3 went really well – I have Windows XP running in a virtual environment for a dedicated accounting image with Simply Accounting 2007. (While I may be running Linux as my primary OS, we can’t afford to stop doing business.) Bridge mode for the network adapter works even better than it has on Windows for me. The VM has its own IP address on my network, allowing the router to manage port forwarding operations and continue with issuing invoices as usual.
  • After giving up on Ekiga and conducting yesterday’s conference call using X-Lite on my Asus netbook running Windows, I gave VOIP on Linux another shot. I removed the Ekiga SIP account from the connection manager since it was giving me incredible grief. Access denied error messages, calls that wouldn’t complete and an odd signup process are not conducive to attracting users to your service! After adding my own Asterisk server credentials, I went ahead and made a test call – both internal extensions and external numbers worked great, and voice quality was wonderful.
  • Networking support has also been improved with my GNOME installation. I can easily save favourite server mountpoints without having to define them in /etc/fstab, and related applications such as VLC seem to handle this style of network mapping in a more consistent manner. For example, mounting “/media/server” through fstab would often result in stuttery video playback from a SMB share. Performing the same operation using GNOME’s Connect to Server option seems to indicate the appropriate buffer size and the video plays smoothly as expected.
  • The ISO downloader .EXE’s from MSDNAA work great under Wine! Just another example of how I could see potentially running Linux as a main system, even though I have to interact with Windows on a regular basis.

What’s Been Enraging

  • Some fonts in web browsing still don’t anti-alias properly. It’s a very intermittent issue only appearing on certain sites, and as soon as I can find a page causing this issue I will get to the root cause. In the meantime, I’ve installed all the appropriate font packages using emerge – there may be a replacement for the “odd man out” in there somewhere.
  • The mixer resets my primary volume to zero on every reboot.
  • I need to use “overlays” and “autounmask” to enable some packages for the AMD64 architecture. autounmask is a pretty decent tool – it automatically finds package dependencies and allows me to force installation of a program that for some unknown reason isn’t available. layman also has helped in this regard, and a searchable directory of overlay packages is decent. I just installed Firefox 3.5 using this technique and all seems well.
  • My mixer now shows the appropriate “mute/unmute” icons:
    Mixer with proper mute/unmute icons
  • Audio inputs and outputs on my “Intel HDA” card aren’t labelled as you might expect. Here’s a list of them:

    Volume Control Preferences
    Of these inputs and outputs, the appropriate one for my front microphone to actually work worth a damn? Capture. Incredibly intuitive.

That’s all I’ve got for now, but I’d appreciate any suggestions for new programs and neat tricks. Knock on wood that Portage doesn’t start acting like dpkg did on Sasha’s machine!




I am currently running Ubuntu 14.04 LTS for a home server, with a mix of Windows, OS X and Linux clients for both work and personal use.
I prefer Ubuntu LTS releases without Unity - XFCE is much more my style of desktop interface.
Check out my profile for more information.

Softphones, anyone?

September 18th, 2009 1 comment

Any recommendations for a softphone (VOIP client) that runs under Gentoo? I’m at the end of my rope – my usual poison X-Lite doesn’t want to run in any sort of fashion. I essentially need something that can connect to an Asterisk server for the occasional call where I want to use a headset.




I am currently running Ubuntu 14.04 LTS for a home server, with a mix of Windows, OS X and Linux clients for both work and personal use.
I prefer Ubuntu LTS releases without Unity - XFCE is much more my style of desktop interface.
Check out my profile for more information.
Categories: Free Software, Gentoo, Jake B Tags:

Just wanted to share a fail.

September 12th, 2009 3 comments

I’m back from a brief vacation, where $3 blackjack was the name of the game. Since I didn’t lose all my money I’m in pretty good spirits. That is, up until I booted my Gentoo system and found that I had no sound. This was one thing that worked perfectly on initial installation.

I’ve troubleshooted sound issues with Linux distributions before; usually they came down to hardware that worked fine under Windows, but crackled or stuttered under an open source OS. They also tend to be generally messy, with confusing acronyms and changing buffer timeouts. As such, I was not looking forward to spending time on figuring out something that had already been working.

First of all, what had changed? I powered down my system for four days, so I checked the mixer settings. The PCM volume was down to zero, so I reset it to the picture below; still no audio.

The XFCE mixer, before in-depth troubleshooting

Then I figured I’d check if my speaker system was working. Connecting the stereo minijack plug to my BlackBerry resulted in successfully playing music… so the problem was the computer. Great.

I then noticed a peculiar thing about this screenshot: what are those console buttons all doing turned on? I’ll try turning them off and see what happens – the function of the “link” button is obvious (left channel and right channel volume levels are pulled together), but I’ve never seen a console button in this interface. There’s also no tooltip on the buttons to indicate what they do. I’d thought maybe they’d provide verbose logging of a sound output to the terminal or system log.

Mixer - buttons unchecked

After unchecking them, the “new message” notification sound in Pidgin was a relatively nice reward!

So what happened? Even after changing icon themes within XFCE, the console buttons stay as… consoles. I can only suspect that some KDE packages I installed managed to overwrite the default mute and unmute graphics. Over the next day or so I’m going to reinstall the XFCE icon themes and go from there to see if that takes care of the issue.

Categories: Gentoo, Jake B Tags:

Not entirely awful.

September 4th, 2009 3 comments

So after my initial three-hour fiasco of getting my mouse to work, Gentoo Linux is running in a stable manner on my system. My graphics card, input devices and external drives are all working wonderfully – the ntfs-3g package properly enabled support for my main user account to read and write files off NTFS partitions. Owing in no small part to my OCZ Vertex SSD, the XFCE desktop appears in half a second once I’m logged in.

There’s one remaining issue I have to sort out before I could consider Gentoo a reasonable environment – getting Windows networking up and running. Snow Leopard and Ubuntu have always been acceptable in this matter, but there doesn’t appear to be an XFCE-ish “Network Neighborhood” application readily available. Taking a quick search, it appears that this set of instructions for CIFS should solve my issues, at least from the command line.

More details (and some screenshots) coming as I transition to full-time use over this weekend…

Categories: Gentoo, Jake B, XFCE Tags:

From rage to less rage

September 1st, 2009 2 comments

Today was installation day – that is, get my Gentoo system up and running to begin its full-time use. I have several pictures of the installation process, but will try avoid cheating by posting them once I get my digital camera working natively. So far, I have encountered the following enraging or annoying glitches:

  • Outdated official documentation – use the Gentoo Wiki instead. The setup guide for X.org mentions “keyboard mouse” as an acceptable string for INPUT_DEVICES. For anyone with a USB keyboard and mouse – which should be the majority of users at this point – this string should be “evdev” to allow HAL to manage these peripherals.
  • Where’s my mouse? I spent three hours trying to get any semblance of life out of my MX1100 under X.org, which shouldn’t require anything special other than the default USB human interface device drivers. Turns out, the suggested /dev/input/mice and /dev/mouse settings are both not functional for this scenario. Running:
    cat /proc/bus/input/devices

    gave a better understanding of where to map these peripherals – my keyboard’s Option “Device” is set to /dev/input/event3, and my mouse is /dev/input/event5. Drivers for both sections should be “evdev”.

  • Get your USE flags flying. For multiple monitor support, you’ll want to make sure to have support for xinerama in /etc/make.conf. Other notable flags I’ve used are:
    • branding, which enables official Mozilla Firefox and Thunderbird product branding (logos and product names mostly.) You can’t legally redistribute your compiled binaries to anyone else if you use this option.
    • svg, which is required to display scalable vector graphics in most applications.
    • dbus and hal, which enforce Desktop Bus and Hardware Abstraction Layer support. These are very good things.

The Gentoo project seems like it could definitely use some additional documentation maintainers – some of the desktop files mention 2006 releases of the distribution. The KDE installation guide mentions nothing about versions beyond 3.4 (I believe there’s a working draft for version 4, but it involves ‘unmasking’ some packages; I’m not quite ready to do that yet.) The tutorials are well-written and fairly easy to follow, but this is not a distribution I’d recommend to someone unfamiliar with Linux.

If I continue using Gentoo as my main operating system, I’ll certainly try to update the wiki with my best efforts. For now, I seem to be doing better than Tyler – I’m sure he’ll tell you all about his graphics driver fiasco with Fedora shortly.

Categories: Gentoo, God Damnit Linux, Jake B Tags:

Calm before the storm

August 30th, 2009 2 comments

Less than two days before the experiment starts, and I’m getting things ready ahead of time – my schedule this week is packed with fixing other people’s computers and finishing some key work at the office. To make things as easy as possible, I’ve already downloaded and burned the Gentoo AMD64 minimal installation disc from my desktop. It’s sitting right in my DVD tray:

jake_installation_cd

The desktop in question is currently running the release candidate of Windows 7, which has full support for the wide variety of hardware that I intend to test Gentoo with. Pictured below are a few of the devices:

jake_desktop_main

  • BlackBerry Bold: I’m going to try and use barry to back up and synchronize my Contacts, Calendar and Notes databases. I’ll have several backups in case anything goes wrong.
  • Logitech MX1100 mouse: The default Logitech SetPoint software includes options for changing DPI/resolution and extra function buttons, including the side “gripper”. It’s currently mapped to Expose on my MacBook, and I hope to convince X.org to work without adding new drivers.
  • 2x BenQ FP241W monitors: Both have a native resolution of 1920×1200 at 60Hz – this is absolutely essential. The two will need to provide a seamless left-to-right desktop like they do under Windows.
  • Logitech Z-5300 speakers: The 5.1 surround output is routed over three stereo mini-plugs – front stereo, rear stereo and subwoofer. Ideally I can convince the sound driver to perform audio mixing. Most content I listen to is stereo only; the speakers have an option to upmix this content but it will be a good test to see how audio processing compares under different operating systems.
  • Finally, the USB coffee cup warmer in the center of the picture is the key to the whole operation!

Hope to be writing my next post from a fully installed system – if I get that far! A trip report will be forthcoming.

Categories: Gentoo, Jake B Tags:

Back and ready for action

August 25th, 2009 No comments

I’m back from an intensely relaxing and awesome holiday in our nation’s capital, Ottawa. I’d forgotten how close it was in proximity to Quebec – and as such, how nearly everything within the city is provided in both official languages. As a former French as a second language student in elementary and high school, it was interesting trying to pick out the differences between the two. Most phrases and slogans are completely different, while literal instructions are exactly… literal. ;)

Right now my main decisions with Gentoo will revolve around timing. Firstly, I expect to have about five or six days to get the system up and running in a mostly full capacity – not only am I completing a contract and resuming a new position at my day job, but I’m off to Las Vegas for several days. I’m still debating which laptop to bring along – either my MacBook Pro or Asus eeePC (likely with Ubuntu installed.) Since Internet costs about $15/day in most of the Strip hotels, and tethering my Rogers-homed BlackBerry would be cost-prohibitive, I doubt I’ll be using the machine that often. Still, I’d be interested in opinions on how to make the “away from home” experience less like cheating. I’m already pretty capable of using SSH, but something like X window forwarding is something I don’t have any background with.

Another important consideration is the main desktop environment. I’ve had experience with recent versions of GNOME, but none of the newer KDE or XFCE packages – so it will likely be one of these. XFCE has the distinct advantage of being lightweight and looking nice, but KDE seems to be more widely supported. More than likely I’ll end up compiling and installing both environments for the experience, and so I can switch back and forth as desired.

Categories: Gentoo, Jake B, KDE, XFCE Tags: