Home Notes Other
Pranshuarya.com

Sponsored Links


Other
Installing and Configuring Arch Linux with XFCE desktop in VirtualBox E-mail
Thursday, 02 September 2010 07:54

Introduction

I've spent a lot of time with various Linux distributions and for now Arch Linux has become my favorite, because it is:

  • fully configurable - lets you choose which graphical environment you want to use, among other things
  • has a strong community around it
  • has the Pacman package manager, which works great
  • comes in x64 version

I've (re)setup Arch Linux so many times that I've practically got the steps memorized to getting it working as a guest in VirtualBox with the XFCE graphical desktop environment.  As great as the documentation for it is, some key pieces are missing, which I had to scour around the internet to find.  They might be obvious to others but weren't to me, being relatively new to Linux as I am.  Once you figure out the steps, though, the process of setting up is fairly simple.  My goal here is to collect and present all the required steps in one place so you can get up and running quickly with your new Arch Linux operating environment.

 

Here is what we'll be installing (in 6 parts)

  1. Arch Linux x64 as a guest in Oracle VirtualBox
  2. XFCE graphical desktop environment
  3. VirtualBox Guest Additions
  4. SRWare Iron web browser from the AUR (Arch User Repository)
  5. smbnetfs for sharing files from Windows, and
  6. Samba server for sharing files with Windows

Let's get started.

 

Install Arch Linux

I chose the net installer option because it ensures you get the latest packages, and it's a smaller initial download.  It's a textual installer that's still pretty easy to navigate, and I'll leave it to the user to make their way through the steps, that is:

  1. Select the networking option for the installer (or the CD if you downloaded the complete package)
  2. Select a mirror to download from
  3. Adjust the date and time
  4. Partition the hard drive (see note below)
  5. Select packages - I went with the default selection since it's easy to add packages later
  6. Install packages
  7. Check configuration
  8. Install bootloader
  9. Reboot

The one step you need to be careful at is the hard disk partitioning.  Make sure you adjust the size of the "/" directory so there is enough free space left over for the "/home" directory, otherwise you'll start seeing "Device is out of space" messages later on when you add users and install software and try to use it.

 

My virtual disk is 20 GB in size, and I decreased the "/" partion from 7500 to 5000 MB, and used the remaining space for the "/home" partition.

 

Arch is fairly easy and quick to install, so I'm not going into details here.  It's the additions to it that end up being tricky, so let's move on to installing XFCE.

 
Hey, Google, are you spying on me? E-mail
Thursday, 05 August 2010 12:25

I've noticed a lot of visits to my site lately from Mountain View, California.  More specifically, Woopra analytics tells me the ISP is Google and the IP address they're visiting from is 66.249.71.184.  The visits are brief (under a minute) and generally span over 1-4 pages.

 

This has been going on for at least a week.  What I find curious is that these visits don't show up on my Google Analytics accounts page for the same site, which makes me wonder:

  • Why is Google visiting random pages on my sites?
  • Why isn't their own analytics program tracking those visits?

Below is a partial screenshot of what I see in Woopra for the last two days:

woopra-google

 

In comparison, here is a list of the cities in California Google Analytics says I have received visits from in the last week:

google-google

Notice how there's no mention of Mountain View.  My common sense tells me that Google Analytics should include the visits I see above in Woopra.

 

So is Google spying on me?

 
Adding a "Feedback" button: A brief comparison E-mail
Wednesday, 04 August 2010 08:09

I've seen the "Feedback" tabs on several websites, tethered to either the left or right edge of the browser window, and I think it's a nice unobtrusive way to offer your visitors a chance to quickly interact with you and offer their input on how you can improve your website.

 

I wanted to add such a button to my websites.  The most popular of the offerings seems to be Get Satisfaction.  I searched on AlternativeTo.net (a very useful service) and found several other similar services:

It came down to choosing one, possibly two, to check out, and I decided to go with UserEcho for now (deployed on this site and at p()thesis) and later check out VoxPopuli.  My reasons why are outlined in the table below:

 

GetSatisfaction Uservoice UserEcho CrowdSound VoxPopuli
Free account Yes Yes Yes Yes Yes - self-hosted PHP/MySQL script
Unobtrusive "Feedback" button Yes Yes Yes No - the demo on the frontpage shows a widget (and not a button) that embeds on your site Not sure - but I'm thinking not because there is no mention of it anywhere
User doesn't need to leave my website to use the service Yes - everything is done in the GetSatisfaction widget No - users can view current ideas but need to visit the site page to add new ones Yes and no - can type new idea inside widget but submitting redirects to the forum on UserEcho site Yes - everything is done inside the widget Yes - from the demo it looks like everything is handled by the widget
Observations
  • The widget didn't open in Internet Explorer at Write.fm
  • They don't emphasize that they offer a free account, which makes me think it has very limited functionality.
It could be considered a bit deceptive, but since there is an input box in the widget and no notification that "Submit" will redirect them to a new page, the user is more likely to use the service than if there weren't an input field in the widget at all.
  • Project is open source
  • I haven't looked at the script yet but you can probably customize it to a great degree if you know your way around PHP.
 
Useful websites and tools - 5/12 E-mail
Wednesday, 12 May 2010 00:00

Other

  • PDF-Xchange Viewer - Need to comment and annotate a PDF document?  Adobe Reader can do it but it's a 30+ MB download, and makes you download Adobe Download Manager.  Foxit Reader's free version adds a red stamp to the top of your document.  PDF-Xchange viewer is a free download that doesn't install extra crap and doesn't mark up your document.
 
«StartPrev12345678910NextEnd»

Page 1 of 11