Archive for the 'Ubuntu Experience' Category

Lets Let APT-URL Install Repositories

APT-URL is one of my favorite programs. The great thing about it is I can keep a list of programs I like on a website and easily install all the program I like on a new box, or point someone new to Ubuntu to the website with all my favorite programs. The problem is that with the personal package archives, letting users run there own repositories on launchpad, and many great programs using there own repository’s you need to add them to your source.list file before you can use any of those great programs.

My solution, let APT-URL add a repository after giving a warning of course. Is this dangerous, sure it is but we can take a similar approach to this that Firefox does, only let trusted websites add to the source.list file. So on a trusted website like launchpad you would get a message like “launchpad.net is trying to add the following repository” compared to a random website that might say “wiki.earobinson.org is trying to add a repository if this is a trusted website please click yes otherwise click no”. This would add some risk but the benefit to the user is huge. Please support this idea by voting for it at the Ubuntu brainstorm.



Cheating At Nethack

I’m not really a gamer, I think this has to do with a lack of skill, its no fun playing Americas Army if you die in 30 seconds, and yes they have a Linux installer. One game that I do come back to every now and then is nethack, however just like Americas Army I still die every 30 seconds. My solution … cheat. I use two simple shell scripts (backup.sh and restore.sh) to cheat.

How to cheat

  1. Save backup.sh and restore.sh in /var/games
  2. Play nethack I use nethack-gnome
  3. When you get to a spot you want to save, save and exit <ctrl + s>
  4. Using a terminal navigate to /var/games and run sudo sh backup.sh
  5. Reload nethack and continue to play
  6. If you die or need to reload your save point exit nethack navigate to /var/games and run sudo sh restore.sh then run nethack again

backup.sh
[sourcecode language="jscript"]
rm -rf nethack.bak
cp -ra nethack nethack.bak
[/sourcecode]

restore.sh
[sourcecode language="jscript"]
rm -rf nethack
cp -ra nethack.bak nethack
[/sourcecode]

It would be really great if someone created a version of nethack-gnome with cheating built right in.

AptUrl - Why don’t we use it for the Ubuntu wiki?

I often recommend Ubuntu to people and recommend that they install programs like miro, and geany. Geany comes stock in the Ubuntu repositories and miro has great step-by-step install instruction for beginners, however as I make this post they currently have no official Gutsy support. When I recommend a program to a user I usually send them the command line install command sudo aptitude install geany as well as sending them instructions

Go to System, then Administration, then click Synaptic. From there you can search for geany and you should be able to double click the name then click install and Ubuntu will install geany for you.

In my mind both solutions extremely simple, but then I have been using Linux for a while now and am a computer geek. I was trying to set up ssh the other day for a friend and they where complaining to me about how on Windows they can just click the program the select run, I claimed that you could do the same thing in Ubuntu (with a deb file) but the claim was that the website (repository browser) was ugly, and well I cant really argue with that. Now that Geany is out I can go back to my friend with another solution and if they want to install Inkscape I can just say “here you go“.

The only downside is that currently adding a new repository is disabled, my two cents is that we should give the user a nice large warning then go ahead and add the new repository. Another anoying and easily fixed thing is that I was looking at the Ubuntu wiki for games yesterday and I thought “ohh I’ll add in some apt:// URLs so that users can just click to install games”, but currently the Ubuntu wiki doesn’t support apt:// URLs so I got them working on my own wiki, just to make sure that it was easy and started a list of my favorite applications.

I guess I really have 2 requests:

  1. Enable AptUrl to add third party repositories, I’m going to download the code eventually and take a look at this and post a deb file if I make one. But It would be great if someone beet me to it.
  2. Add support for apt:// URLs on the Ubuntu wiki.

Oh and thanks for such a great feature.

New Hackergotchi

In light of the fact that I am now bald, today I uploaded a new hackergotchi to the planet ubuntu bzr tree. Uploading the picture was easy, making the picture was a bit harder. This is my first time using GIMP 2.4.0-rc3 and it seems that the selection tools don’t work the same way that they used to. In the old gimp I was able to make a selection the drag that selection around in order to remove it. It would seem that in the new gimp the only way to remove a selection (That I my girlfriend, could figure out) is to cut (<ctrl>+x) that selection. On the other hand the fuzzy select still works great.

TIP: when using fuzzy select you can use the ctrl key to un-select things that you have selected.

All in all I would say the update was a success. I just wish I had had a larger source image, (The large scale version of my new hackergotchi is a bit jagged around the edges, stupid digital camera being broken).

Large Version

From Me

Small Version

From Me

On a side note it would be fun to make a web page linking all the planet ubuntu faces to there websites / launchpad IDs, any thoughts on this? (Update: it could be just like the gnome one unless we all ready have one?)

Also I have three midterms this week, wish me luck.

SUMming Up The Stats

I’m quite a fan of stats, checking my most viewed posts is a bit of an obsession of mine. On of my posts that continues to baffle me in how much activity it gets is my post about ubuntu root access. This post resulted in a friendly argument between me and a friend during class. At the time it was a quick and dirty post to try and prove to him that linux was far superior to windows (lol, j/k, only a friendly debate).

In response to that post so long ago I now want to post about SUM (Screenshots). SUM lets you control your boot settings, including your boot password, from a GUI. For anyone interested you can get SUM here, or if you use propensity you can import this .pa file.

Next Page »