Tagged "linux"

Linux, Freesat and Saorview

I recently replaced a rusty satellite dish and faulty LNB (it has been in use in the house I moved in to for 10+ years I’d guess) and decided to try install one myself. Here in Ireland, the two main broadcast methods of receiving TV are satellite (Freesat / Sky) and terrestrial aerial (Saorview).

An issue I have one larger sitting room TV and one small living room TV. I couldn’t get both to be Samsung (out of stock on smallest sizes - which seem to be going out of fashion). So both TVs had very different methods of switching between satellite and aerial connections. I’m not sure if it is a hardware limitation (they make switching tuners slow to hide this), a licensing issue (broadcasters pay to be on the Freesat EPG for example) or a software issue (seems least likely). The fact multiple TV brands (in my case Phillips/Samsung) make it this clunky - makes me think it’s a licensing issue. I wanted to solve this by using an external box and having one mental model for navigating broadcast TV.

Why GNU Grep is fast

Worth a read for those wishing to optimise programs that process a lot of data. It proves that less really is more…

Money quote:

The key to making programs fast is to make them do practically nothing.

Fish Shell for Ubuntu and OS X

A great guide to get up to speed with Fish shell. What is Fish? It’s a shell written from the ground up to be more easily understandable the the traditional shells (bash, tcsh). I don’t know yet if I’ll switch (anything you can do in Fish can be made to work in Bash). It’s an interesting concept and I’ll try it for a while…

SSH Config Aliases

If your like me and you deal with a lot of servers for development or test and do it from a Unix machine, I’ve got a really handy tip: SSH hostname pattern matching.

Say I’ve got a SSH config file like this (at ~/.ssh/config ):

host s*
    HostName atrcu%h.example.com
    User example1
    Port 22
host b*
    HostName atrcx%h.example.com
    User example2
    Port 22
host ??*
    HostName atvts%h.example.com
    User example5
    Port 2205

The ssh man page explains this really well:

Custom Colourful Bash Prompt

Bash, a command line shell is one of the most used pieces of software in my daily work. I like scripting repetitive actions to save a lot time (it brings me great joy!). One of the simplest and easiest customisations is to add a bit of colour to your otherwise boring bash prompt (otherwise known as $PS1):

[ngrogan@localhost:~]$

can be turned in to this:

My Custom Colour Bash Prompt

The thing about Bash is the colour codes to achieve this can look archaic:

The Linux Desktop has a place

I’ve seen an article by Miguel de Icaza, a great developer oft criticised for his love of Microsoft technologies on Linux. His latest piece is about his love for Mac OS X as a desktop and how he used to feel guilty about it (given his very impressive open source credentials).

I used to feel the same also. Android even as a platform more closely follows my ideals, yet I am exclusively an avid iOS user at this point. But as I’ve learned more, the importance of pragmatism is clear. I use my personal iOS devices for countless hours a day and I really just want them to work. I want them to work in the way they were designed to do: quickly check email, browse the web, make calls, check messages and so forth.

Record your terminal session

As I’ve mentioned before1, I regularly watch technology podcasts and I’ve had a subscription to sites like Lynda.com. Between those and Youtube, I’ve watched an awful lot of technology how-to videos and 90% of them are quite poor in terms of editing, sound and being coherent/properly scripted. Sometimes though it’s a joy to genuinely learn something new in a short, concise and to the point video.

This haktip is right up there with being among the best: short, concise, to the point and about a utility that will be super-useful to me. In work I’m in an agile software development team and I spend a lot of time on the command line. I like the command line, but many don’t (personal preference I guess). As part of being agile, we produce a lot of video demos to stakeholders. Increasingly though the demos we produce are just as useful for the team - you can’t be every team member at once and this provides huge visibility to the team of progress. Our software is a Unix product, but we develop on Windows - so Camtasia is usually used - which is fine for GUI demos. This handy utility will be great to demo CLI stuff we do.

Faster with Arch

I have recently switched my main desktop over to Arch Linux. If you have never heard about Arch Linux, it is a “roll your own” Linux distribution. This basically means from start to finish, the whole process is custom. Whether your system has a Graphical User Interface (GUI) or sound is totally up to you.

I switched from Ubuntu Linux, which is very much built for new people to Linux. I have been using Ubuntu since it’s release in 2004 (as old as this blog incidentally). I have found it slowly moving away from my power user needs from the release of the KDE 4.0 desktop up to the recently introduced Unity desktop for Ubuntu. Don’t get me wrong I love the whizz-bang effects of the snazzier distributions (like Ubuntu) and have used it to show people the power of Linux (and how really groundbreaking Compiz effects were at the time, ~2005). It’s sad Compiz hasn’t got the kudos but since both Windows and OS X have copied from Compiz, some more usability has been gained.

Best KDE/Linux?

image via tuxradar.com For me it’s definitely Kubuntu, but I can see why they choose OpenSuSe. May I just mention the virtual machine builder system is awesome, pay attention Mr.Shuttleworth! Although PPA builds come a close second for useful online tools…

Linux Desktop Environments?

What are Desktop Environments? Wikipedia defines it as:

In graphical computing, a desktop environment (DE) commonly refers to a style of graphical user interface …… A desktop environment typically consists of icons, windows, toolbars, folders, wallpapers, and desktop widgets. (See WIMP.)

I would add a file manager and browser to this list also! Let’s look at the two most popular consumer Operating Systems (in three variants) and their Desktop Environments:


OS Name Widgets Window Manager File Manager Browser Windows XP Luna Stack Window Manager Windows File Explorer Internet Explorer 6 Windows Vista Aero Desktop Window Manager Windows File Explorer Internet Explorer 7 Mac OS X Cocoa Quartz Compositor Finder Safari 2.X Now take Linux; really a Kernel, but packaged means an Operating System. Which way you package it makes all the difference! You still use the same drivers, the boot process is still the same, but when your machine finishes its boot and launches all that graphics stuff anything can appear: anything. It’s abstraction to have no real graphics in a kernel other than that which are drivers to control hardware. This is very strange to people who think in the Windows way (nb. I used to be one of these). At the end of Windows XP booting I have never seen anything but Luna; and most people don’t know its called that. So it is very strange for people my age and slightly older who grew up over DOS and Windows 3.1/95 line to have this fundamental shift in logic.

Ubuntu in four years

Last year was me celebrating four years of using the best operating system out there: Linux and the best distro Ubuntu. Ubuntu was my first foray in to Linux; and I haven’t left it since; although I have tried all the other major distros. I started with the first version of Ubuntu; Warthy Warthog:

Warthy Warthog

Warthy had a text only installer and it took me quite a while to not only get used to the idea of this strange operating system; but the fear of leaving Windows-land where all that power usage knowledge would mean nothing. It meant nothing in terms of the registry and other superficial stuff; but the more I used Ubuntu and Linux the more I liked it. In fact in 2005 I ditched my XP installation altogether. I noticed there wasn’t an Irish Ubuntu users group; so I mailed one of the few people (around 5 I guess) that were around Mark Shuttleworth to set it up and get a website going. It was an ill-advised effort since I was too busy with examinations really to take it on; so I gave it up soon after. But it is still going today, people are still involved.

KDE 4.2 Beta 2

Recently I downloaded the Kubuntu packages of the new KDE 4.2 beta 2. For those of you who don’t know; KDE is the K Desktop Environment; which includes a window manager (KWin), common desktop applications, its own menu (Kickoff), browser (Konqueror), file manager (dolphin) etc. Basically it is the most popular desktop environment on Linux next to Gnome.

image *KDE 4.2 Beta 2 with Kickoff Menu visible

  • **What is so special about KDE? **
    The philosophy of KDE is the advanced configuration it allows through its Graphical User Interface (GUI), this is versus Gnome which chooses sane defaults and leaves configuration in hard to reach places and out-of-sight. This isn’t to say KDE doesn’t choose sane defaults; it does and is very user-friendly. KDE has always been the more Windows-like of the major desktop environments and this hasn’t really changed in KDE 4.X series. KDE is available in popular distributions of Linux such as Kubuntu, Mandriva, OpenSuse. The special part about 4.X series is that for the first time for any Linux desktop environment; it is fully cross-platform, easily installs and works on Microsoft Windows and Apple Mac OS X.

image KDE 4.2 Panel; with KOrganizer calendar open

Linux and Patents: Just Patently Wrong

So I read the news Novell and Red Hat are being sued for patent infringement. This is all about multiple workspaces that can hold various graphical user elements, a Xerox Parc patent which dates to the early 1990’s. Xerox Palo Alto Research center invented the graphical user interface in the 1980’s, only to been, licensed and used by Steve Jobs in Mac OS Classic. Now IP Innovation, a submarine patent troll, who make no products and bought the patent want their payday. The logical step is to go after the biggest infringer to set a precedent for your patent, and then make your way to all the smaller companies who infringe. Well logically of course that would be Apple or Microsoft. Apple has already paid them a reported 20 million dollars, and well no-one knows what Microsoft has done, but this fish is smelly. From the Register Article:

Gutsy coming along, Update to Dell Windows Refund..

image
I just tried Herd 5 of Gutsy Gibbon, a beta release which will be Ubuntu 07.10 released in October. Obviously it is still early stages and a lot of things aren’t working quite as they should, but it looks very promising. Here’s some new stuff which should hit the final release:

  • Compiz Fusion - Pretty Graphics that leave you in awe…
  • Bullet Proof X - Making sure you’ll never see a terminal prompt not of your own choosing, basically the graphics server should be ‘bulletproof’
  • Appearance Manager - Making it easier to change yourbuntu’s look and feel
  • Better Driver Support - More of those restricted drivers to make sure you can see your screen and use your wifi card
  • Simplified Codecs install - It will now be painless, install ubuntu-restrictedcodecs (or kubuntu-restricted codecs) and you can see Youtube in all its glory, play a dvd, watch that porno WMV file (just kidding but I think thats all WMV is used for) and other such niceties of the propreitry world we have to put up with
  • Firefox Codecs Plugin - Firefox will be hooked up to the package manager and prompt to install Flash/Java if you haven’t got it already, much the same way it prompts to get a codec when you throw a file at it that it cannot play in the movie player. The free software Gnash replacement for Flash will come as standard and can play Youtube Vids.
  • Dual Screen Glory - If your like me you have a nice and small portable laptop, but that screen just won’t do all of the time, thats why I personally have a 19" to plug my 13" MacBook into. With Gutsy I should be able to plug and play over DVI.

These are just some of the features that are being worked on for the final release. Probably not all of them on the list will get into Gutsy final, but lets hope they do! Gutsy+1 (slated for release April 2008) has been announced as “Hardy Hereon” and should be a long term release (5 years server and 3 years desktop updates and patches).image

Dell refunds me for Windows!

As many of you know I am a Linux and Mac aficionado. For my Linux machines, all of them are Dell. I have been always pleased with Dells prices, how their machines work with Linux, their customer service and the fact they are made in Limerick, Ireland (I am from Ireland). I politely emailed Dell (well got up on my high horse), heres my first mail:

I would like a refund of Windows XP since I am installing Ubuntu Linux on the computer when I get it. When I turn on the computer I am going to decline the EULA, and I am within my rights to request this refund (as part of Irish consumer laws). This also applies in Britian, see here: ( http://news.bbc.co.uk/1/hi/technology/6144782.stm )

HP to Follow Dell into Open Source? and Ubuntu Home Server

HP it seems is responding to Dell’s initiative to sell Ubuntu on their computers. With the Ubuntu Dells reportedly selling very well and Dell rolling out the program worldwide, this hasn’t escaped the notice of the world’s number one computer manufacturer - HP. This is speculation from blogs that has been going on for months since Dell started to offer Ubuntu. The Direct to Dell Blog states:

This recent post from Tom Dryer caught my eye a couple of days ago, and thought I’d comment on it here. If the rumors about HP offering Ubuntu are true, we’re glad to see other vendors join us in support of Ubuntu and open source. We welcome HP and other system vendors that want to join in this initiative.

Windows Vista Security - Better than Linux?

After reading a nice article written by Jeff Jones, a security researcher for Microsoft. He says he isn’t biased, saying he worked over 75% of his career outside Microsoft, using Slackware Linux, Unix, HP Unix etc. He claims Windows Vista has less security holes than popular versions of Linux, such as Ubuntu (he also compares Red Hat, Novell, Mac OS X). First let me say why his facts are distorted, and why he knows his facts are distorted. His facts do raise an issue of slow patching of vulnerabilities across the software Industry, but Linux performs the best consistently because anyone can audit the code. Here’s why his comparisons are uneven:

Dell Sells Ubuntu 7.04

Dell Computers has started selling Ubuntu Linux 7.04 on consumer machines in the United States. This can only be good news, as a supporter of Linux since late 2004/early 2005 I am fully behind this initiative to put Linux as a choice in front of people who buy computers. They are testing the market at the moment which explains why they are shipping stock drivers with the hardware, and no multimedia codecs (which is unfortunate, but understandable that this deal was done in 60 days). I think this is quite an achievement for Canonical and Mark Shuttleworth (Ubuntu Founder), as they get to do the traditional Linux business model: you pay for support, and if you don’t need it, you don’t buy it. This could confuse some people in the shorter term, but long term its a winner: Dell does what it does best (Hardware) and Software is left to Ubuntu’s parent company Canonical. This is opposed to Microsoft getting Dell to provide support for both hardware and software, sometimes a messy business in which the consumer does not know which to turn to and can often be left out in the cold. I hope Dell extends this to Europe and 6the rest of the world soon, and makes a decent stab at promoting a free software desktop. Dell list advantages in one of their videos:

Ultimate Games Disc

I got inspiration over this past Easter holidays, being bored, I gave Linux Gaming a shot. I am not much of a gamer myself and most websites aren’t very helpful or have too small a focus (only shoot-em-ups, or only certain Linux distros etc.). Inspired by the fine folks at OpenSourceMac.org and OpenSourceWindows.org, I announce my own project: Ultimate Games Disc. UGD is a project I think I can make very successful. My aims are as follows:

Vista is released; Ubuntu gets .exe!

Well as I write this it is a few days after Vista’s launch, and it has yet to set the software market alight. But this is nothing new, it happend with XP. How do you convince people the latest and greatest is worth the money? Microsoft is in a tough position due to stiff competition - old, working, fully-compatible windows machines don’t disappear into thin air. There has been a lot more FUD (Fear Uncertainty and Doubt)abput Vista already from the Free and Open Source camp. Some of the harsh critiscims will be justified, others probably not. Regardless this will not hurt Microsofts marketing whatsoever, the average user doesn’t share concerns over digital restriction/rights management - yet. Microsoft say it will be on 100m PC’s by years end. I don’t think it will be as fast as Microsoft would like, due to: 1) People wait for service packs. 2) People don’t upgrade PC’s as fast now. Most things people identify their computer with is increasingly online, a worrying trend if I were Microsoft, this creates platform independence for the average user, granted not the gamers, or other highly specialised software vendors.

BBC to host Multi-OS Debate and My First Web Auction

Tux, the Linux
PenguinBBC are putting together a Mac, Windows and Linux user, to debate the pros and cons of being a users for each operating system. While this in itself is good news (more airtime for alternatives), most of the comments are highly in favour of Linux, then Mac and lastly Windows. This is part of the BBC’s coverage of Windows Vista. My hope for the future is that Mac and Linux gain at least 10% each (20% total) over the next 5 years of the home desktop market, as this will push innovation forward, like AMD and Intel competition.

New Widget for our RSS feed!

Duey Finsters RSS
Widget

Thanks to Dashcode, the tool for making dashboard widgets, there is now an RSS one for this site! Currently it only works on Mac OS X, but KDE 4 should support dashboard widgets (they are really just bits of javascript, css and html).

Video iPod and Freespire

IPod Video (Image Hosted by
ImageShack.us)

Well I guess you can call me a hardcore Apple Computer fan, I have a Macbook, an iPod Nano (1st Gen 4GB) and now a 80GB iPod Video! I bought i for a couple of reasons, namely price and storage. I had been put off before since I thought they were too bulky ( I know a couple of people who have older generation iPod Videos) after being with the Nano for over a year (its still chugging along gleefully). What can I say? I am impressed! Battery life is huge to me and well to be frank, its amazing. My first MP3 player was a Creative Nomad Jukebox II (circa 2002), which I still have. I know only one person who owned an MP3 player before me, and its nice to be there from the start, you appreciate the little details most people don´t, as they are new to mp3 players, so they expect it as standard. I now get all the latest tech podcasts, so I am very happy with that!

Why I am getting an Apple MacBook

I feel I need to confess why I am buying a MacBook, have I turned soft to my Open Source/Free Software ways? No, definately 100% NOT. I’ll explain why: I think Apple Computer has an incredible product in Mac OSx. For anyone who has not used it before, pop into a 3G store and ask to have a go. When someone releases a good a product as that, they deserve money, in my opinion. Under “the” free software license (GNU General Public License) it is permissable for anyone to charge for software licensed under it, as long as an offer of source code is given (for 3 years afterwards). Deep down I love Ubuntu, and I will install it as soon as possible when they release a version for the Intel powered Apple computers. In fact I will use my Laptop to showcase Ubuntu you had of told me November last year I’d spend well over €1,000 on an Apple Computer, I would have told you that I hated Apple, and would never consider it! What has changed my mind? I got a iPod Nano for Christmas ‘05 and thought it was great, but the Nano on its own still wouldn’t convince me to get a Mac.

Just Klik it!

One of the biggest complaints of Linux is that software doesn’t install to well, or is very difficult to install. “Dependency Hell” (When software relies on other bits of software to work), used to be quite commonplace. Ubuntu has cleaned a lot of dependency hell up, and a new program for installing software from the internet, is included in the new version, due to be released 1st June 2006.

That’s when I discovered a little gem called Klik for many Linux distributions. Simply lookup the piece of software you need, click on it and you have it! No need to install! It places the whole program on the desktop, so it is easily deletable and easily transferable. For example, if you have an office application, and your friend doesn’t, simply copy that file on desktop to your usb key or a cd, and copy to friends pc, done and dusted - Your friend has the whole application! This is an obvious feature bonus over current Windows version, XP.

Virtual Ubuntu

So you have heard of Ubuntu, maybe they have even shipped you a free disc or you have downloaded one? Like most users, even advanced PC users, they get nervous about installing Linux and afraid of what they might have to learn. Touted as the brighest star, Ubuntu really does outshine other Linuxes, with usability, features and great range of software. Now you can try Ubuntu on Windows.

Ubuntu Logo

Linux VS. Windows

I use Linux, I also use Windows. I see the merits of the two, as they are different. Most people don’t see this distinction, that although the two OSes do many of the same functions, they remain lightyears apart. I have to admit I preach Linux to the hilt, I shouldn’t, but I do. I get skeptical Windows users who ask me what Linux does better, and I am stuck for an answer, as it does a lot of tasks better.

In Sickness and in Health!

I have a throat infection, so I get a week off!! I went to the doctor and I am on vibramycin antibiotics. I was coughing blood (not nearly as nasty as it sounds). Now I can get some relaxation in before Christmas!! I hope to do a guide to restricted formats on Ubuntu soon, especially W32 Codecs and how to get all the good formats it offers (Divx, MPEG1-4, Windows Media, Quicktime Media and RealMedia)