Linux For Cynics One user's experiences with Linux

11Aug/151

Mpv is the Best Media Player for Linux

mpv-logo
The mpv-player is just the best thing we have got these last years.
Even if you use madvr, mpc-hc or mpdn, mpv is a good thing for you.
Because mpv is open source, that's fucking awesome.
All these proprietary projects have copied amazing code from mpv.
So just say thanks. ;)

8Aug/130

Ubuntu Phone Edge Fundraiser

Tagged as: , No Comments
14Jun/130

Kerbal Space Program (Steam) is 33% off this weekend

kerbal_head
Kerbal Space Progam is on sale on Steam this weekend!

Normal price: $22.99, this weekend: $15.40

http://store.steampowered.com/app/220200/

Still in development, but if you like space games and/or causing massive explosions, what's there already is challenging, a lot of fun, and often gorgeous. Bonus: 64-bit version available for Linux.

10Jun/130

Debian 7 “Wheezy” Released from Testing to Stable

Debian Wheezy is now the stable version. Notable is the inclusion of a version using GNU HURD as the kernel.

Go download it and tell me how it is!

6May/130

Simple Command Line Calendar

The cal program displays a simple calendar on the command line. Here are some examples of its use:

Invoking it with no arguments displays the current month.

$ cal

Output:

      May 2013        
Su Mo Tu We Th Fr Sa  
          1  2  3  4  
 5  6  7  8  9 10 11  
12 13 14 15 16 17 18  
19 20 21 22 23 24 25  
26 27 28 29 30 31

To see a particular month, run it with like cal month year:

$ cal 12 2013

Output:

   December 2013      
Su Mo Tu We Th Fr Sa  
 1  2  3  4  5  6  7  
 8  9 10 11 12 13 14  
15 16 17 18 19 20 21  
22 23 24 25 26 27 28  
29 30 31  

To see a whole year, run it with like cal year:

$ cal 2013

Or to display a 3 month period instead of just the current month, use the -3 flag:

$ cal -3

Output:

     March 2013            April 2013             May 2013        
Su Mo Tu We Th Fr Sa  Su Mo Tu We Th Fr Sa  Su Mo Tu We Th Fr Sa  
                1  2      1  2  3  4  5  6            1  2  3  4  
 3  4  5  6  7  8  9   7  8  9 10 11 12 13   5  6  7  8  9 10 11  
10 11 12 13 14 15 16  14 15 16 17 18 19 20  12 13 14 15 16 17 18  
17 18 19 20 21 22 23  21 22 23 24 25 26 27  19 20 21 22 23 24 25  
24 25 26 27 28 29 30  28 29 30              26 27 28 29 30 31     
31         

This flags can be combined.

Finally, use the ncal command instead of cal to display the calendar in a more space-efficient way:

$ ncal 12 2013

Output:

    December 2013     
Su  1  8 15 22 29   
Mo  2  9 16 23 30   
Tu  3 10 17 24 31   
We  4 11 18 25      
Th  5 12 19 26      
Fr  6 13 20 27      
Sa  7 14 21 28 
Tagged as: No Comments
1May/130

Virtual Richard Stallman

vrms is a package that will analyze the set of currently-installed packages on a Debian-based system, and report all of the packages from the non-free and contrib trees which are currently installed.

Just run this command and you can find out what software you have on your system that doesn't respect your freedom!

$ vrms

Here's the output on my Debian laptop:

                Non-free packages installed on x200

firmware-iwlwifi                    Binary firmware for Intel PRO/Wireless 3945 and 802.11
skype                               Wherever you are, wherever they are

                Contrib packages installed on x200

flashplugin-nonfree                 Adobe Flash Player - browser plugin

  2 non-free packages, 0.2% of 1164 installed packages.
  1 contrib packages, 0.1% of 1164 installed packages.

It's like having a little rms right on your command line!

To find out more about Richard Stallman and his political views, go to his personal page: stallman.org.

26Apr/130

Ubuntu 13.04 Raring Ringtail Released

ubunturaring

Ubuntu 13.04, codenamed Raring Ringtail, has come out of beta! This might be the last regular release on the 6-month cycle, if rumors of a rolling released schedule for Ubuntu are true.

Personally, I am still using Ubuntu 12.04 LTS, but I am considering upgrading just for the new Unity and Gnome Shell versions.

12Apr/131

Using rxvt-unicode-256color with ssh and screen

urxvt is one of the best terminal emulators available, however it comes with problems. For example, if you use ssh to connect to a remote host and then try to use screen, you might get an error like this:

Cannot find terminfo entry for 'rxvt-unicode-256color'.

The work around for that is to add this line to your ~/.Xdefaults or ~/.Xresources file (I used .Xresources):

URxvt*termName: rxvt

This will make urxvt identify as rxvt, which should work with screen.

8Apr/131

Install Screenfetch and Archey in Ubuntu or Debian

Archey and Screenfetch are programs that display system information along side an ASCII art rendition of your distro's logo. You will often see their output on screenshots showing off a user's customized desktop. They are also sometimes used to display info on user login. However, neither of them are in Ubuntu's or Debian's official repositories. Here's how to install them.

Archey

$ sudo apt-get install lsb-release scrot  
$ wget http://github.com/downloads/djmelik/archey/archey-0.2.8.deb  
$ sudo dpkg -i archey-0.2.8.deb 

And just run

archey

and you'll get a result like this:
archey

Screenfetch

$ wget http://served.kittykatt.us/projects/screenfetch/screenfetch-2.5.0.deb  
$ sudo dpkg -i screenfetch-2.5.0.deb 

Run

screenfetch

to generate something like this:
screenfetch

5Apr/139

Install Spotify on Debian Testing (Wheezy)

If you follow the instructions on the Spotify Linux Preview website to install Spotify on Debian Wheezy, you will get the following error from apt:

The following packages have unmet dependencies:
spotify-client : Depends: libssl0.9.8 but it is not installable

The problem is that Spotify is hardlinked with libssl0.9.8, and the Wheezy repos only have libssl1.0. This is a very easy problem to rectify. Just go to the libssl0.9.8 package page for Squeeze and download the appropriate package for your architecture.
download_libssl
Then install the package, like so:

sudo dpkg -i /path/to/package.deb

(of course replace "/path/to/package.deb" with the actual location of the libssl0.9.8 package you just downloaded)

Now you should be able to install spotify-client by following spotify's instructions:

# 1. Add this line to your list of repositories by
#    editing your /etc/apt/sources.list
deb http://repository.spotify.com stable non-free

# 2. If you want to verify the downloaded packages,
#    you will need to add our public key
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 94558F59

# 3. Run apt-get update
sudo apt-get update

# 4. Install spotify!
sudo apt-get install spotify-client