Fight for the Internet 1!

Showing posts with label software. Show all posts
Showing posts with label software. Show all posts

Sunday, April 5, 2009

Quest for a Music Player

Abstract
My experiences personally and impressions while looking for a music player in Linux today.

Introduction
So I have used the music player program Audacious for years. I did this because before it, I used BMP, which is the successor to XMMS, which is a WinAmp Clone and I have used WinAmp ever since I started listening to music on my PC.

Why the search for something new? I have been stuck in Ubuntu Hardy for various reasons, and their version of Audacious has some bugs, because it seems to fail to load a bunch of files that are perfectly valid. Also, because of Hardy's libraries I cannot compile and use their latest version myself.

Another bigger reason is that, I have started to really listen to my entire music collection of a few thousand songs, and Audacious is not really a music manager, just a really good player. So my needs have grown beyond Audacious, though I still think it is a stellar program and the best WinAmp clone ever.

Today I looked around to find a music player that suited my needs. Namely, it needed to the following:
  • Support MP3, OGG, WAV, MPC (very very important), FLAC and WMA (yeah, I have a few, though the format is terrible).
  • Make use of the keyboard for control, preferably something like Audacious/WinAmp
  • Have a mini-mode. (A mode where the GUI is small and unobstrusive). This could be anything from a System Tray icon, to the mini-mode that Audacious/WinAmp do.
  • Support thousands of songs in a massive single playlist.
  • Additionally, it should be easy to use. (Believe me when I tell you this is not the case for most music players out there).
  • Normalization of audio.
JuK
Got me off to a pretty fast start. They were able to import my music quickly and start playing. However, when I reconfigured their shortcut keys, the program stopped working properly. Most of what I assigned did not seem to function properly and soon after the program crashed.

The program also lacked various extra features usually provided by plugins.

In the end, the playlist system seemed quite clunky and did not work very well for me. Doubtless there is a proper way to do it, but it was not apparent to me. The display is not very informative at points, so sometimes I did not know exactly what songs I had queued up. Perhaps it is my style of use, but again I found the keyboard interfering with controlling the system instead of helping it.

Amarok
Amarok and I have a history. Each time I have tried it, I did not like it, but I don't clearly remember why. This time around, after trying to use the program three times, I figured out the trick to the Playlists. Not exactly intuitive but still useable.

Their interface is pretty nice actually. Nice shortcuts. Good random playback system. Nice SystemTray icon.
  • File Information: Initially had some trouble using the interface to examine the filetype and bitrate information for my audio files. But figured it out at last.
  • Volumes Synchronization Problems: I cannot figure out how to make Amarok use KDE's volume. I end up having to control two volume systems and this is kind of annoying. I suspect there is a way to do this, because it would seem like a very important feature.
Amarok hung for a bit when I tried to seek forward/back while certain visualizations were enabled.

Aqualung
Simply failed to load. I'm pretty surprised actually. Normally these things don't happen.

Listen Music Player
Simply not enough control as well as customization for me. It looks like a nice little player but not enough for me.

Exaile
Tried it. I could not customize the keys, and I did not really like their default keys. The big deal was that I simply could not get it to play my music. I was unable to load anything into the play lists. I tried on three separate occasions over a few days. It cannot be done without knowing the black magics I guess. Too bad. Not a usable program.

Conclusion
I went with Amarok and I'm generally quite pleased. The program has a lot of things I wanted in Audacious and I'm organizing my music far more easily than before. There are two things I really want though:
  • Good normalization system: I downloaded and enabled ReplyGain (which was annoyingly not available through Get More Scripts option system within Amarok itself). ReplayGain works alright. There is no AAC/Musepack options in my Linux distro so that is a pity. I believe the plugin is going through and putting Replay Gain values onto my music files, which is cool, but if it is not, then I'm in trouble because a lot of my files don't have a gain value stored in them, certainly not some of my WMAs. (Again, yeah I know they suck).
  • Slim Player Window Like Audacious/XMMS: I really want a slightly slimmer player window for Amarok. Something like Audacious. Even after tweaking the window with KDE's configuration options, it is still rather large.
Update: There is a bug with Amarok 1.4.9. It will not skip forward or back nicely on certain file types, like FLAC or Musepack. This annoying and I hope this behavior has been fixed in Amarok 2.

Wednesday, April 1, 2009

Daemon Tools utility for Linux


Update: Alternatively I have found Furius ISO Mount, to also be a good program for mounting ISO and other CD image formats. Perhaps even better than Gmount. You can find it under the package name 'furiusisomount'.

Just a quick post here: For those of you that use the program Daemon Tools in Windows, you may have lamented the lack of such a program in Linux. (Even though the ability to mount something in Linux with the mount command has been around for longer than Windows itself).

Lament no longer! The program Gmount-ISO comes to the rescue! The package name in Ubuntu/Debian is simply gmountiso. Like Daemon Tools in Windows, Gmount-ISO provides a graphical user interface for mounting ISO files.


See this wiki page for more details.
http://swik.net/gmountiso

One important piece of information for non-Gnome users! You must have the program 'gksu' installed. This is a password authentication program for Gnome, similar to kdesu (used by KDE). You need this or Gmount-ISO won't work.

Though I have never tried it, another program worth looking into would be CDEmu, specifically the linux port of it, GCDEmu. It has more features that Gmount-ISO, but it is not in the repositories of Ubuntu/Debian.

Monday, March 30, 2009

Use Tor in Ubuntu Linux

This post deals with setting up Tor (with Privoxy) and the Tor related GUI TorK on your Linux system.

Frequently Asked Question: What is Tor?
Simply put, it is a program that helps to keep your activities over the Internet more anonymous. It's free to use and damn useful. For a more detailed definition, see here: https://www.torproject.org/faq#WhatIsTor.

Why Use Tor?
There are a lot of reasons. You can be more anonymous when doing things online. For example, when doing something that is.... tenuously legal... this is just another layer of protection. You can also claim your IP is in another country.

The Number #1 thing I use Tor for is whenever I have to do something with proxies. Using Proxies can be a colossal pain because you have to find a good free one, sometimes in a different country, and lets hope that proxy does not have bandwidth limits.

Tor just makes it so damn easy for me. I seriously never have to deal with finding useful Proxy IPs and then swap them in-and-out of my browser. I just let Tor handle all that for me and it is a like a dream.

There is a downside to using Tor: Since your connection's download/upload speeds depend on the Tor-Node you randomly connect to, it can be slow sometimes. (I say slow like only getting 45kbps down for example). But for the sake of anonymity, it is usually worth it and patience is a virtue they say.

Getting the Latest Version of Tor
You should try to have the latest version of Tor is possible.

For details on how to get the latest tor packages for Linux distribution (Debian or Ubuntu), go here:
http://wiki.noreply.org/noreply/TheOnionRouter/TorOnDebian

Install Tor and Privoxy
In a Debian/Ubuntu system, installing Tor is as easy as running the following from command line:

sudo apt-get install tor privoxy

Note, you will need to have the "Universe" apt-repositories enabled if you are running Ubuntu (I believe this is default now). If you get a message about packages not found for Tor, you probably need to enable it and run:

sudo apt-get update

Configuration Setup Tor and Privoxy after Installation
The default Tor configurations work generally well but you MUST enable the listening port for controller programs.

1. Edit the file /etc/tor/torrc with root permissions (using sudo or kdesu or gksu or as the root user). Find the lines for ControlPort. It will look something like this:

## The port on which Tor will listen for local connections from Tor
## controller applications, as documented in control-spec.txt.
#ControlPort 9051

You need to remove the '#' from the beginning of the ControlPort line. NOTE (important): This should not be confused with SocketPort line!

2. Edit the file /etc/privoxy/config with root permissions (using sudo or kdesu or gksu or as the root user). Add this line anywhere in the file:

forward-socks4a / localhost:9050 .


NOTE 1: The trailing space and period after the number must be included.
NOTE 2: These two port numbers must NOT be the same for both Privoxy and Tor

3. Restart the prixovy and tor services. You can do this on the command line with:

sudo invoke-rc.d tor restart
sudo invoke-rc.d privoxy restart

4. Setup TorK. See the section below.

Installing TorK

Tork is a GUI for using Tor+Privoxy. It is very useful. In a Debian/Ubuntu system, installing Tor kis as easy as running the following from command line:

sudo apt-get install tork

Run the program 'tork' from either command, or your applications menus. It should lead you through the rest of the setup. The interface is fairly straightforward and quite useful for running your applications anonymously.

Additional Information
See the Tor homepage: https://www.torproject.org/
The Onion Router: http://wiki.noreply.org/noreply/TheOnionRouter