Choosing a Desktop Environment on Linux Mint

Linux Mint has four desktop environments that you can choose from. There is KDE, Xfce, Cinnamon and Mate. The two most common choices by users are Cinnamon and Mate. Technically, you can download any of the desktop environments and change them later. If you decide to go with Mate and later on want to install Cinnamon, the change is going to be easy.

You just need 400MB of extra disk space, which is practically nothing judging on the size of hard drives nowadays. The only other decision to make is to whether include multimedia effects or leave them out. My preference is to include them.

Let’s say you’ve decided to go with Mate and want to install Cinnamon later on. Changing from Mate to Cinnamon is quite easy. All you have to do is install Cinnamon via the Terminal which is my preference. You can easily do the same using a GUI package manager.

From Mate to Cinnamon

$ sudo apt-get install mint-meta-cinnamon

From Cinnamon to Mate

$ sudo apt-get install mint-meta-mate

Once you’ve made the change. You need to log out of the current desktop environment and log in again and making sure you select the environment you would like to use. You can switch back and forth desktop environments to your hearts delight. As you can see, changing desktop environments in Linux Mint is quite easy.

Setting Up An Internet Radio

Setting up an internet radio is quite easy nowadays. From the Linux perspective, there are two obvious choices. Either go with Icecast or Shoutcast. I went with Icecast because it was the easy option. Shoutcast is probably more popular since it has a better directory listing if you want your internet radio advertised to potential listeners. But I’m not really interesting in listing my internet radio. I just want a proof of concept that it works.

Installing Icecast on the Ubuntu server is quite easy as running “sudo apt-get install icecast2” from the Terminal. You’ll be asked three different times to supply passwords for admin, relay and source accounts. Once you have Icecast server installed on the Ubuntu. It’s time to open up the port number from the firewall. The default port is 8000. You can change the port number later by editing the Icecast config file. It should be the /etc/icecast2/icecast.xml file.

As far as the broadcast software, I’m using a simple software called Butt, which means “broadcast using this tool.” It’s a funny name if you ask me, but it’s very simple and it works flawlessly. It’s also free. There are other options, but I just want something simple, and Butt serves that purpose. Now, Butt is capable of capturing the sound input of your computer’s microphone and sending it to Icecast. As long as you can play it on your computer, you should be able to broadcast it on your internet radio.

I’m sending out the output of my desktop speaker to an audio mixer, and then sending out the output of the mixer back to to the computer’s microphone line in. This gives me the ability to play anything on the computer and broadcast it. In addition, I can add a microphone to the audio mixer and have the ability to speak to an audience using any dynamic or condenser microphone that you may already have.

That is pretty much the setup in a nutshell without going into the nitty gritty details.

Turning Off Google Two Step Verification

Google created a two step verification process to increase security. The process requires entering some code, typically a six digit number, in addition to the regular user password. The code is normally sent by Google via SMS text message to the user’s phone.

The downside is if you have any applications that use Gmail’s SMTP to send out email messages, it will be rendered useless due to the extra authentication.

I ended up using another SMTP server. Thanks to AT&T. I’m glad I found another option for sending out email messages within applications. Google does give you the option to turn off the two step verification process, which I ended up doing anyways.

I think the two step process is more of annoyance than anything. Clearing your browser’s cache requires you to re-enter a new code. Each time you’ll receive a new code via SMS text from Google. After doing it for about 10 times all within a week, I grew tired of it.

Now, the two step verification is turned off for good. Thank goodness.

How to Start, Stop and Restart MySQL

What do you do if your database server is down? Well, you can certainly reboot the server. That might solve the problem, but I rather restart the database first before doing something as drastic as rebooting a server. There are instances were rebooting doesn’t always solve the problem if there’s an issue with the database. Now, most open-source blogs and web applications today use MySQL as their database of choice. So, here are instructions on how to start, stop and restart MySQL on Ubuntu and Debian-based systems.

Stop MySQL database

$ sudo /etc/init.d/mysql stop

Start MySQL database

$ sudo /etc/init.d/mysql start

Restart MySQL database

$ sudo /etc/init.d/mysql restart

Ubuntu Releases

Canonical, the company behind Ubuntu is once again contemplating whether to go with interim releases or go with rolling releases. The company has entertained this idea at least once before ultimately settling with the old release schedule. Now, there are talks again of doing away the old schedule or going with a rolling release.

Why can’t Ubuntu do both releases. Canonical should do LTS (Long Term Support) for companies and individuals who clearly have a need for long term support, while most individuals like myself would rather have a rolling release to keep with latest developments, as well as avoid big haul upgrades every six months. That would be the ideal situation.