Email and Linux

So continuing on with my series of the question if Linux can replace it all, we are going to talk about email. For me I use e-mail at home and at work. For home I use Gmail and at work I use Exchange. So with Gmail I have nothing to worry about but with Exchange well there might be an issue. I have tried using Evolution and it is very close but it just fails when it comes to Exchange. Now maybe it has changed since I last used it but man, when I tried to bring down my exchange account it just froze up. This was running Ubuntu 10.10. Now to be honest it was running in Parallels on my Mac which might be the cause. Though I am not sure it is. I have talked about it with a few others and they have stated the same issues. So am I missing something? Is there another app that can save the day? If so please comment and or send me a tweet.

Replace Linux Everywhere

So a colleague and I have a long commute and we are always talking about Linux and technology. We listen to podcasts after podcasts and in my mind I have been thinking about something. Could I replace everything with Linux? I am talking about computers, tablets, and or cell phones. I guess first let me show you a small list of what I currently do with my computers.

  • Email
  • Browsing
  • Web/Java/Selenium Development
  • Graphic design (Small amount)
  • Media
  • Work
  • etc…

    I could go on with some more but this is a good list for now. I would find it very difficult to switch from my Mac to Linux. Now I know I am pretty much using Linux but it is fine tuned and very hard to call Linux/Unix anymore. Please I am not trying to write more blogs about Mac vs Linux. I want to use these next few blog posts to possibly learn about Linux apps that might make it easier to replace other computers with Linux. So what are the people’s opinion on this? Do you think you could replace your computers, tables, and or cell phones with a Linux device? Please stay tuned to my blog as I will make posts for each bullet points I specified above.

RabbitVCS SVN Client Linux

If you have used SVN in the past in the Windows world, you are probably pretty use too TortoiseSVN. It is a nice tool that integrates itself into the Windows shell. In the Linux world you probably were using the command line to do these things. Hey I understand I was doing that on my work computer when it was running Linux. I have something in Linux that will get rid of this. RabbitVCS is a client that integrates itself into Nautilus. It is pretty close to being a clone to Tortoise and I really like it.


Moving Your SVN Repo

One of the things that I sometimes have to do is move an SVN repo to another server or you just want to back it up. This tutorial will show you how to do this.

svnadmin dump /pathToYourRepo > reponame_dump
Example: svnadmin dump /var/svn/mywebsite > mywebsite_dump

So now you want to go move this file to your new server and create your subversion repo. Make sure you use the same name as the old one. Go to folder where you uploaded your dump file to and do the following:

svnadmin load /pathToYourRepo < reponame_dump
Example: svnadmin dump /var/svn/mywebsite < mywebsite_dump

So there you go. In this tutorial I did not include setting up the subversion server cause I made the assumption you know how to do this since you already have an SVN repo setup.

Bluefish IDE Editor

Well as a PHP, HTML, CSS, and jQuery designer one of the things I have been looking for is a good lightweight text editor. I have used many different types of editors and not found the right one. When I programmed in Windows I loved Notepad++, but there is no Mac/Linux equivalent. The editors that I have used in the past are as follows:

  • NVU
  • Dreamweaver
  • VIM
  • Eclipse
  • Bluefish

    The last editor I was and still will use is VIM. There is times I just want to click somewhere to move my cursor, I.E. Being lazy. I really like bluefish cause it is very lightweight and fast. Eclipse and Dreamweaver just are too slow for me. Bluefish will work in Mac, Linux, and Windows. The best thing I like about it, is it is free. So take a look at them, post some comments about what you think is the best. Maybe you have one that I just have not seen.

Mplayer Playlist

Ok I know this type of post is not like me but I thought I would post it since I needed to research on how to do this. Well a lot of my developement is done in the Linux environment. All my music comes from CD’s or purchases from iTunes. In the Linux realm I have found that purchased music is not liked. So when I program in the Gentoo I mount my iTunes music folder. Since I am in command line most of the time I use Mplayer to listen to my music. So I needed to figure out how to tell Mplayer to play everything in my Music folder. I got tired or having to pick a new song all the time. So let me show you how I did this. Ok the first thing you want to do is run the following command from my home directory to create the playlist:

$ find /media/prl/iTunes Music/ > myMusic

Now the two things you would need to change is where the main folder of your music is and the other thing is what you want to name your playlist. Instead of myMusic you could say JohnsPlaylist. Now that you got the playlist to run it you would run this command

$ mplayer -playlist ~/myMusic

If you want to shuffle the playlist you would do

$ mplayer -playlist ~/myMusic -shuffle

Well I hope this might have help some other people who maybe had the same struggles I did.

Hosts File

As a web developer one of the tools that I love to use is built right into the operating system. I have come across some jobs where the coder has coded everything in absolute paths. Well if you are like me and like to test stuff on a local server first, then you will run into some issues. If your page calls an file it will call it from the remote server and not the local one. There are other examples but I will spare you of them. Lets get to this hosts file. The hosts file exists in modern day operating systems. You can find it in Linux, Mac, Unix, and or Windows. Let me show you where these files exist.

On Mac or Linux


On Windows


So now let me show you some magic. So now on your testing box I would add a new entry. It can be added anywhere you want. So add this line

Of course you could substitute with any domain. So now when you test your files/scripts and the point to the absolute path you will pointing to your local box. Of course when you are done I like to comment that out. Just in case I forget that I have that and I want to look at the remote site. Now if you want to see the test environment on another computer the line you add to the host file will be different. First get your IP of the test box. Mine is

So you can start to see the things you can do with the hosts file that can help you. Instead of recoding all those absolute paths to relative you can edit the hosts file and test it that way.

Here is a video that explains some of this