Kill Dash Nine Linux Geek Song (kill -9)

I was bored and started Googling to see if there were any Linux related songs on the net. I came across this one, which is quite a cool rap:

LYRICS: From http://www.monzy.com/intro/killdashnine_lyrics.html

I guess I’ll have to shut you down for good this time,
Already tried a
SIGQUIT, so now it’s KILL DASH 9.
You gotta learn when it’s time for your thread to yield;
It shoulda slept; instead you stepped and now your fate is sealed.
I’ll take your process off the run queue without even asking
‘Cause my flow is like reentrant and preemptive multitasking.
Your sad rhymes are spinnin’ like you’re in a deadlock,
You’re like a synchronous sock that don’t know when to block;
So I pull out my keyboard and I pull out my glock,
And I dismount your girl and I
mount /proc
And I’ve got your fuckin
pid and the bottom line
Is that you best not front or else it’s KILL DASH NINE.

KILL DASH NINE,
No more CPU time.
I run KILL DASH NINE,
And your process is mine.
I run KILL DASH NINE,
‘Cause it’s MY time to shine
So don’t step outta line or else it’s
KILL DASH NINE!

See it ain’t about the Benjamins or Pentiums or Athlons,
But you rappin’ 50 meters while I’m spittin’ in decathlons.
Your shit’s old and busted, mine’s the new hotness;
You’re like CLR and I’m like CLRS.
You’re running csh and my shell is bash,
You’re the tertiary storage; I’m the L1 cache.
I’m a web crawling spider; you an Internet mosquito;
You thought the 7-layer model referred to a burrito.
You’re a dialup connection; I’m a gigabit LAN.
I last a mythical man-month; you a one-minute man.
It’s like I’m running Thunderbird and you’re still stuck with Pine,
Which is why I think it’s time for me to KILL DASH NINE.

Yeah it’s KILL DASH NINE
No more CPU time.
‘Cause it’s KILL DASH NINE,
And your process is mine.
I said KILL DASH NINE
‘Cause it’s my time to shine,
So don’t step outta line or else it’s
KILL DASH NINE!

My posse throws down like leaky bucket regulators;
I was coding shit in MIPS while you were playing Space Invaders.
With my finger on the trigger I run ./configure
Yo, this package is big, but MY package is bigger.
I roll my weed with Zig Zag while I zag-zig splay,
And I do a bounds check before I write to an array.
I’m a loc’d out baller writing KLOCS a day,
‘Cause it’s publish or perish, fool, what can I say?
I’m 26 now, will I live to see 28?
Some days I wonder if I’ll survive to graduate.
But hey, that’s just fine, I won’t ever resign,
And if fools try to step then it’s KILL DASH NINE!

Yeah it’s KILL DASH NINE,
From my command line
It’s KILL DASH NINE
Sending chills down your spine,
I said KILL DASH NINE,
‘Cause it’s my time to shine,
So don’t step outta line or else it’s
KILL DASH NINE!

fs sa rlidwka
I’ll
chown your home and take your access away
Comin’ straight outta Stanford, ain’t nobody tougher,
Control-X, Control-C, I’ll discard your fuckin’ buffer.
You’re outside your scope, son, close them curly brackets,
‘Cause I drop punk-ass bitches like a modem drops packets.
Dump your motherfucking core, and trace your stack
‘Cause where your ass is going, there won’t be no callback.
See my style is divine and my code is sublime,
My career’s in a climb and yours is in a decline.
I’ll write a pound-define and assign you as mine,
So refine those sad rhymes or remove your plus signs,

Or it’s KILL DASH NINE,
No more CPU time,
‘Cause it’s KILL DASH NINE,
And your process is mine,
I said KILL DASH NINE
‘Cause it’s my time to shine,
Bitch you stepped outta line and now it’s
KILL DASH NINE!

Microsoft gets royalties for Google’s Android on HTC

Another Microsoft Vs Google patent war?

The lawyers up in Redmond seem to have been woken from their slumber with the sudden realization that — oh look! — Google’s Android OS infringes on Microsoft’s boatload of software patents. How specifically it does so is not identified, but Microsoft believes that elements from both the user interface and the underlying operating system are in violation of its rights. This is very much in keeping with the Windows maker’s crusade to assert patent claims over Linux, which in the past has garnished it with cross-licensing deals with Amazon and Xandros, as well as a settlement from TomTom. Lawsuits are not yet being discussed here, but lest you think this is a small-time disturbance, HTC has already decided to shorten its list of troubles by ponying up for a license from Microsoft for “running the Android mobile platform.” Yes, that does sound ludicrous, but it’s now an unfortunate fact that a major Android phone manufacturer is having to pay Microsoft royalties to use Google’s operating system.

Youtube on Your desktop – No browser or Flash needed

This is a wicked app from http://flavio.tordini.org/minitube

Minitube

There’s life outside the browser!

Minitube is a native YouTube client. With it you can watch YouTube videos in a new way: you type a keyword, Minitube gives you an endless video stream. Minitube does not require the Flash Player.

Minitube is not about cloning the original YouTube web interface, it aims to create a new TV-like experience.

Download

Current version is 0.9, released on January 23, 2010. Here are the main changes since version 0.8:

  • Ability to clear recent keywords (by popular demand!)
  • Enhanced fullscreen mode with toolbar and playlist (Linux only)
  • Fixed buggy toolbar search box (Thanks to Salvatore Benedetto)
  • Fixed long queries in the recent keywords list (Thanks to Vadim P.)
  • Fixed time formatting bug with videos longer than an hour (Thanks to Rene Bogusch)
  • Norwegian translation by Jan W. Skjoldal

Full version history

Choose your platform:

  • Linux – 32bit binaries. You need Qt version >= 4.5 and the Phonon libraries. Ubuntu users can get their package from GetDeb or from Christian Mangold’s PPA. Gentoo has an official ebuild ready to be emerged. Also Slackware has an official build. ArchLinux users have their package too. OpenSUSE has user contributed RPMs. The GStreamer Phonon backend is recommended. Minitube strives to integrate well with both GNOME and KDE.
  • Mac OS X – Universal binary. You need at least OS X version 10.4 (Tiger) and QuickTime version 7.0.
  • Windows – A few people tried to build Minitube on Windows but the results were not releaseable. This is mainly due to the weakness/instability of Phonon on Windows. Let’s wait for Qt 4.6.
  • Source code. You’re free to build Minitube by yourself, modify it and redistribute it according to the GNU General Public License.

Mount a remote directory with sshfs

First install the Sshfs module:

sudo apt-get install sshfs

Now use modprobe command to load fuse

sudo modprobe fuse

Need to set up some permissions in to access the utilities.

sudo adduser richs fuse

sudo chown root:fuse /dev/fuse

sudo chmod +x /usr/bin/fusermount

Note: you might get this error. “chmd: cannot access ‘/dev/fusermount’ : No such file or directory.” I fix it by doing

whereis fusermount

Which gives

/usr/bin/fusermount

sudo chmod +x /usr/bin/fusermount

Logout and Log back in again.

Create a Directory called remotedir in you Home Directory (don’t use sudo, it’s YOUR home directory).

mkdir ~/remotedir

Now use this command to mount it. it will prompt to save the server key and for your remote computer password.

sshfs richs@192.168.0.2 :/media/storage ~/remotedir

Now you have full access to the remote directory as if it was physically on your local computer

Remotely connect to another Linux desktop

Adept Linux users would already be thinking about the System > Preferences > Remote Desktop menu entry. Of course we will use that. However, it lets you configure your computer to allow/disallow remote desktop access. It doesn’t let you connect to a remote computer. Extra software is required for that, which we now look into.

Allow Remote Desktop Connections

First off, you would need to enable remote desktop on the Linux computer that you want to access via remote desktop. Doing so is easy by using the System > Preferences > Remote Desktop option. In the dialog that shows up – check “Allow other users to view your desktop”. You can also configure additional options like requiring password for remote access and notification icons. It is advisable to use a password for remote access, so that only trusted users may be able to establish a connection.

How do i connect to a remote desktop

With all that set up, its time to connect to it from another Linux machine, Here’s how.

Connecting From Another Linux Machine

Linux uses Virtual Networking Connections for remote desktop. Your best bet would be to use a VNC viewer to access the remote desktop. Use the command sudo apt-get install xvnc4viewer to install VNC viewer. Now all you have to do is to issue the vncviewer command. You will be asked for a password (if it is configured on the remote machine) and you can then view and interact with the remote desktop.

vncviewer 192.168.0.3

The Pirate Bay Proved A Point

That consumers and downloaders are show more support for pirates and torrent hosters than they do for fat-cat record company bosses and the film industry that fleeces us every day with overinflated prices to keep them rich and us paying through the nose for music and video products.

From Torrent Freak:

Exactly one year ago The Pirate Bay Four were sentenced to a year in prison, and on top of that each ordered to pay $905,000 in damages. The entertainment industries hoped that the ruling would set an example, but today The Pirate Bay is larger than ever before.

spectrialMillions of BitTorrent users all around the world followed the Pirate Bay trial with great interest last year. Many had hoped that the court would decide that operating a BitTorrent tracker was no offense and that the defendants would walk free.

The ten day trial started off with a small victory for the accused. On the second day the prosecutor announced that half of the charges against the four defendants had been dropped. The prosecutor couldn’t prove that the .torrent files that were submitted as evidence actually used The Pirate Bay’s tracker and therefore had to drop all charges of ‘assisting copyright infringement’.

What remained was the claim that the Pirate Bay folks were ‘assisting in making copyright content available’. In the days that followed the defendants’ lawyers nullified the ‘assisting’ part by arguing that there was no link between the accused and users who download copyrighted material. The prosecution, on the other hand, argued the opposite and brought in screenshots of websites and torrent files as evidence.

FULL STORY AT Torrent Freak

Howto: Crunchbang Statler Xfce on EeePc

Got the full Crunchbang set

Well today I finally finished my complete collection of Crunchbang installs on all my computers. I had a bit of trouble with the first attempt of the USB install, but it was a Debian Installer formatting problem, not Crunchbang related. It also happened on one of my laptops where after formatting the partitions, the installer threw up a message about an unclean partition with a previous install. This was on a fresh partition.

How to install Crunchbang Statler on an EeePc
First you need to download you Crunchbang Statler of choice; OpenBox or Xfce, i486, i686, amd64bit.
See this post about which one to choose:
http://crunchbanglinux.org/wiki/statler_which_version
And the full list of downloads here:
http://crunchbanglinux.org/downloads/statler/alpha-01/

I chose the i686 Xfce Edition for my Netbook as I already have the OpenBox Edition on two laptops, and as the the processor is an Intel, I chose the i686 version.

My EeePc Specs:
Asus EeepPC 900 HD
Intel Celeron 900 MHz Processor
1Gb Ram
Intel Corporation Mobile 915GM/GMS/910GML Express Graphics
Realtek Semiconductor RTL8187SE Wireless
160Gb HDD

USB Pendrive Preparation, and Transferring the Iso:
I asked for help on the Crunchbang Forums and omns gave me the link to this guide (which I followed to the letter): http://crunchbanglinux.org/wiki/statler_usb_installation

Getting the EeePc ready:
I plugeed in my Pendrive fired up my EeePc and at boot hit F2 to get into the BIOS setup. My main task was to choose the USB as the main harddrive, then go to the boot order and select it as the first boot device before the harddrive. Hit F10 to save and exit and restart.

Lovely Jubbly! Got the Crunchbang install menu and chose Text Install and went through the motions which are pretty self-explanatory.

There was a very important note on the Crunchbang wiki about Cdrom drivers:

Using the USB stick to perform a HD install
If you are using your newly created CrunchBang USB stick to perform a hard disk installation, the install will prompt you to “Load CD-ROM drivers from removable media?” To workaround this, you should:
1. Select ”” when prompted to “Load CD-ROM drivers from removable media?”
2. Select ”” when prompted to “Manually select a CD-ROM module and device?”
3. Select “none” on the next screen.
4. Enter ”/dev/sdX” when prompted for “Device file for accessing the CD-ROM:“
❗ Replace /dev/sdX with the actual hard disk device learned from the command above.

The installation should now continue as normal.

I did as it said and chose “sda” which is the EeePc main harddrive and the setup continued.

Partitioning and Installing
I just went through the motions as with any other Debian install and the only problem I came up against was that something went wrong with the formatting of my chosen partition. I got an error saying that the partition was unclean, and that there were remnants of a previous install. I remember this happening on one of my laptops before, so I just chose to delete the partition, and then tell the Debian installer to automatically partition the free space. Worked like a charm. I got an Ext3 file system, which I always use on production systems, and a 2Gb Swap partition. I normally only choose 1Gb for Swap, but not really an issue on a 160Gb drive.

The install went perfectly, I shutdown, removed the USB pendrive, reset the boot order to main Harddrive, and fired up my spanking new Crunchbang EeePc.

Everything worked out of the box, including wireless. I still need to dig deeper and investigate further, but on first experiences it’s fast, light, and very well laid out for an EeePc desktop. I had Ubuntu UNR on it before, which had a custom menu that took up the entire screen and all the windows had the top bars removed (No minimize, close buttons) which made for a very bloated hard to manage desktop. Crunchbang on my EeePc looks and feels exactly like my other desktops, but a mini version. Currently very comfoirtably performing my daily tasks.

More to come once I have given everything a full work out for a week.

Easy File Encryption Decryption with CCrypt

CCrypt is in most Linux repos. I use it on Crunchbang Statler (Debian Squeeze) to encrypt and decrypt files quickly with nothing more than two commands and a password.

Firstly install Ccrypt:
sudo apt-get install ccrypt

Now create a test file and add some basic text:(I put encrypt decrypt)
nano encrypt-test.text

Now encrypt the file (it’ll ask for a password twice):
ccrypt encrypt-test.txt

Now open it and it is unreadable:
nano encrypt-test.txt

To decrypt: use the “-d” switch
ccrypt -d encrypt-test.txt

More information:
http://ccrypt.sourceforge.net/

Crunchbang Faster Internet – No iPv6

To disable iPv6 system-wide for all connections you can edit the aliases.conf file:
sudo nano /etc/modprobe.d/aliases.conf

Then uncomment iPv6 line and turn it off :

#alias net-pf-10 ipv6

So that the network protocols looks like this:

# network protocols ##########################################################
# alias net-pf-1 unix
# alias net-pf-2 ipv4
# alias net-pf-3 ax25
# alias net-pf-4 ipx
# alias net-pf-5 appletalk
# alias net-pf-6 netrom
# 7 BRIDGE
# alias net-pf-8 atm
# alias net-pf-9 x25
alias net-pf-10 ipv6 off
# alias net-pf-11 rose
# alias net-pf-12 decnet

Now reboot and go super-speed-surfing 😉

Howto – Linux – install Google Earth

Google Earth seems to throw up error messages lately:
setup.data/setup.xml:1: parser error : Document is empty

^
setup.data/setup.xml:1: parser error : Start tag expected, '<' not found

^
Couldn't load 'setup.data/setup.xml'

So here is the cure:

1. First install “lsb-core”
sudo apt-get install lsb-core

2. Download and extract Google Earth to a temporary dIrectory:
wget http://dl.google.com/earth/client/current/GoogleEarthLinux.bin && chmod +x GoogleEarthLinux.bin && ./GoogleEarthLinux.bin --target /tmp/ge

3. Change to the temp directory and change setupgtk to setupgtk2:
cd /tmp/ge/setup.data/bin/Linux/x86/
sudo mv setup.gtk setup.gtk2
cd /tmp/ge

4. Run the installer:
./setup.sh

Now the Google Gui installer will open.

If you have an Nvidia card, Google Earth may tell you it doesn’t recognise your card, just remove it and reinstall it. This worked for me with an Nvidia Geforce fx 5200 using the official Linux driver from the Nvidia website.

Happy Globe-trotting 😉

Chrome + Html5 – Bye Bye Adobe Flash

Flash and Linux
Well, as a Linux user, I have always had problems with Flash on any browser, especially with Firefox as it has gone from a lightweight browser to a bloated behemoth.

After hearing about Html5 and it’s being a possible replacement for flash video, my heart leapt. I thought pleeease let this be true. I Googled Youtube + Html5 and came across this video and also the Youtube html5 Beta sign up page. I already have Chrome installed on my #!Crunchbang-driven laptop so no problem there.

Html5 in action

Flash still needed
Apparently, videos which contain ads will revert back to Flash, but this is most certainly a great step forward.

Adobe Vs Apple
I am aware of the Adobe Vs Apple conflict at the moment, and as a Linux user I am right behind Apple. All I know about from Adobe are Photoshop, Reader (pdf) and Flash, none of which either work or are needed on Linux. Gimp will do most of what the average user needs with images, we have Pdf readers, and hopefully Html5 will take over and push Flash out.

So, for the moment I am watching as many videos as possible on Youtube with Chrome and Html5.

WordPress Show Excerpts Instead of Full Posts

WordPress Excerpt or Full post?
If you use different themes on your WordPress blog, you will notice that on the front page you can choose how many posts to show, and whether the reader gets the full post or just an excerpt. This excerpt function is the themer’s choice and not a standard WordPress feature.

So how do you enable it on a theme?
1. You need to go to the “index.php” file of your theme and change the_content() and change it to the_excerpt():

.

.

.

.

.
WordPress will now show only the first 120 words of each post.

This little tip came from: http://lorelle.wordpress.com/

Linux Hardcore Reshuffle

It’s been a busy week. The Linux Hardcore Forum has now been updated but is still a work in progress. What’s been happening?

LxH Frontpage
http://linux-hardcore.com
Instead of having Simple Portal as a front page to the forums, we now have a WordPress front page which allows for more customization and more control over front page content. I have imported all the posts and plugins from this (my personal) blog to have all the howto’s and other specific Linux news on the main LxH front page.

This Blog
The Linux Hardcore Blog will now contain my personal Linux experiences and basic ramblings, whereas all Linux news and howto guides will now be posted on the LxH front page. This keeps things a little more organized (Formal/Informal).

LxH Forum
http://linux-hardcore.com/forum
The forum has a new theme which works well with the front page. I’ve had a few problems with css and html, but both themes only need a little tweaking now. After 4 years the forum is still going strong as an alternative hang out for a “hardcore” of friends from a mixture forums. Current statistics are 15754 Posts in 2207 Topics. We are still distro-testing, solving problems and writing howto guides for various distros, and new members arrive daily. Over the last 4 years I have constantly deleted inactive members as opposed to leaving them listed to make the forum look as if it has thousands of active members. So don’t let the 162 Members fool you, it’s quality over quantity. Whatsmore we are all active members on other forums, so you’ll see some familiar faces.

Planet LxH
http://linux-hardcore.com/planet
A few of us have blogs and I wanted a place to keep them all together, and although I have seen Planet before, I never really played with it. This week I have been pulling my hair out trying to get the them to match with the Forum and Front Page themes, but my css/html skills leave a lot to be desired. At present it is the default Planet theme, but I will be having a fresh look at it this week. Hopefully we’ll get a few more subscriptions to liven it up a bit, but it’s a great script to provide a one-stop rss feed of all current blog posts.
If you have a Linux related blog, contact me on the forum and i’ll add it to our LxH Planet.

If you aren’t an LxH member yet, and you want a second /home to hang out, REGISTER on the forum. There is a lot of Linux discussion for both experts and new users. Sometimes it’s nice to away from the hustle-bustle of distro-specific forums and chat about other distros and applications. Many of us are dual/triple-booters anyway, so there’s always plenty of variety.

Lightweight Hardware Information Gui

LSHW-GTK

Everybody knows about “lshw” and getting hardware information via the Terminal, you can even pipe it to a text document or get specific hardware info:

sudo lshw > hardware.txt
sudo lshw -html > hardware-info.html
sudo lshw -short
sudo lshw -class memory

But, today I also found lshw-gtk gui to go with it. It’s amazing what you find when you dig through the repos, or go searching for something related.
Basically I am running Crunchbang 10 “Statler” and wanted to pipe my harwdare profile to a text file, only to find that lshw isn’t installed by default.
So I did a search for “lshw” and saw “lshw-gtk”, cool methinks, i’ll have a look at that, being as I love Gtk apps if a gui is necessary.

sudo aptitude install lshw lshw-gtk

And run it from the terminal with:
gksudo lshw-gtk

This is what I got:

Nice little app 🙂

http://www.ezix.org/project/wiki/HardwareLiSter