Tag Archives: Ubuntu

Adelaide’s Ubuntu 10.04 (Lucid Lynx) Release Party

Adelaide’s Ubuntu 10.04 (Lucid Lynx) Release Party
Location: Hacker Space/Format – 15 Peel St, Adelaide
Time: Thursday 29th April, 5:30pm – 9:30pm
Come along and help us celebrate another Ubuntu Release with Bill the Penguin.

BYO Everything. (Drinks, Nibbles etc available from Convenience Stores, located conveniently in all directions.)

This is also an opportunity to meet people involved in the Hackerspace, and if you are a Hackerspace regular, feel free to bring along your projects and treat this like a regular Hackerspace meeting.

Internode Usage meter for Conky

This is a rework of the script from Internet Usage Monitoring – conky style! But the only problem I found is that it not wanted to work with my NodeMobile account. So here is my rewrite of parts of the script to use the other Internode Usage API url.

One thing you need to find out for this script to work is the service number for the account you want to get the usage for. That can be easily obtained by pointing your web browser to https://customer-webtools-api.internode.on.net/api/v1.5/ and logging in.

Continue reading

LINK: “INX Is Not X”, Version 1.0.

INX is a “Live CD” distribution of GNU/Linux, derived from Ubuntu 8.04.1 LTS, but using “ubuntu-minimal” and “ubuntu-standard” as a base. It is console only, without any graphical “X” programs.

INX is intended as a “tutorial” and introduction to the Bash command line, but is a fully capable, portable GNU/Linux system in its own right. It has a collection of easy-to-use menus, colour themes, easy configuration tools, music (and video on the frame buffer), some games, and several surprises for those who are not aware of what can be done in a console/tty.

INX is fun, and not intimidating for console beginners.

INX 1.0 also includes new features; you can now set up wireless with the “Ceni” tool from the INX “Net & Web” menu. You can use your mouse with programs like xlinks2, elinks, mc, and the jed text editor. In addition to the powerful GNU Screen program, INX now sports the “Dvtm” Dynamic Virtual Terminal Manager, a “tiled terminal manager”.

To get further info and download the ISO visit here

TeamSpeak and Urban Terror under Linux

For the people that want to run TeamSpeak and Urban Terror together on the one machine here is quick howto to stop TeamSpeak hogging the audio.

1) You need to install alsa-oss

sudo apt-get install alsa-oss

2) goto Applications => Internet, right click on TeamSpeak and add launcher to Panel or Pesktop
3) Right click on the TeamSpeak launcher on Panel or Desktop and goto Properties => Launcher
4) In the command section add ‘aoss‘ in front of ‘teamspeak‘, eg – ‘aoss teamspeak
5) close the Properties window and launch TeamSpeak from your modified launcher

enjoy :-)

Notes:
Thanks to MatthewV with his help with testing :-)

This HowTo should work with other games but I have only tested it with Urban Terror

Reference:
Ubuntu alsa-oss

Making Me TV for Ubuntu based system

Compiling
Firstly, there’s a bunch of development libraries and tools that need to be installed,

sudo apt-get install build-essential autotools-dev automake libxml-parser-perl pkg-config libgnome2-dev libgnomeui-dev libxtst-dev libxine-dev libxml2-dev libglade2-dev cdbs libglibmm-2.4-dev libgtkhtml3.8-dev debhelper fakeroot intltool libtool

Next, you’ll want to get the latest version of the source from the Launchpad download page. Extract the source,

tar zxvf me-tv*.tar.gz

Now, compile Me TV,

cd me-tv-*
./autogen.sh
make

The binary should be created at src/me-tv. This binary alone isn’t much use without an existing installation of Me TV because it requires some files to be installed on the system.

Building a deb package
If compiling works then you should be able to build the deb package,

dpkg-buildpackage -rfakeroot

This will have created the deb package for under the me-tv-* directory

Installing the deb package
To install the deb package you created

sudo dpkg -i me-tv_*.deb

References
Official Me TV Home Page
Me TV 0.4.0 and Ubuntu 7.10

Me TV 0.4.0 and Ubuntu 7.10

Introduction
Me TV is a digital television (DVB) viewer for GNOME.

Me TV was developed for the modern digital lounge room with a PC for a media centre that is capable of normal PC tasks (web surfing, word processing and watching TV). It is not designed to be a full-blown media centre, such as MythTV, but will integrate well with the existing GNOME desktop.

Features currently include:

* Completely mouse driven
* Current and future program information
* Instant Record
* Double-click fullscreen
* DVB-T and DVB-C support
* Very simple installation and set up

Setup
First off you need to download and install Me TV 0.4.0 for Ubuntu 7.10:

wget https://launchpad.net/me-tv/stable/0.4/+download/me-tv_0.4.0_i386.deb

then cd to the directory were you saved the deb and type:

sudo dpkg -i me-tv_0.4.0_i386.deb

Now create ~/.me-tv/ if it does not already exist:

mkdir ~/.me-tv/

Now to install dvd-utils to get the TV channels:

sudo apt-get install dvb-utils

Once dvb utils is installed we need to scan for TV channels and this is how we do that:

scan /usr/share/doc/dvb-utils/examples/scan/dvb-t/au-Adelaide > ~/.me-tv/channels.conf

Note: You will have to ls the /usr/share/doc/dvb-utils/examples/scan/dvb-t/ directory for your location an substitute au-Adelaide for your location.

Final step now is to launch Me TV:

Applications –> Sound and Video –> Me TV

Screenshots of version 0.4.0

Me TV 0.4.0 Me TV 0.4.0 File Menu Me TV 0.4.0 View Menu Me TV 0.4.0 Help Menu Me TV 0.4.0 EPG

References
Official Me TV Home Page
Me TV Project Website
Linux TV Wiki
UHF Log-Periodic Array

Nvidia Linux Drivers and Ubuntu

If you are like me and install the Nvidia Linux driver yourself, well this is the problem I have encountered a few days ago with Ubuntu 7.10 Beta / Release Candidate. It took me a little bit of hunting to work out what was going on as the logs were not saying what was going, but what I ended doing was starting X the old fashioned way from terminal with startx. Starting X this way was more revealing, that there was a conflict in the driver versions cause of the Ubuntu linux-restricted-modules and the Nvidia drivers I installed.

This is what I did to fix the conflict in drivers.

Switch to a usable terminal and login:

Ctrl + Alt + F2

Backup the linux-restricted-modules-common file

sudo cp /etc/default/linux-restricted-modules-common /etc/default/linux-restricted-modules-common.backup

Edit linux-restricted-modules-common file:

sudo nano /etc/default/linux-restricted-modules-common

Add nv to the DISABLED_MODULES line

Here is an example of what my linux-restricted-modules-common file looks like:

# This file is sourced from the linux-restricted-modules-common init
# script and is used to disable the link-on-boot feature, one module
# at a time.  This can be useful if you want to use hand-compiled
# versions of one or more modules, but keep linux-restricted-modules
# installed on your system, or just to disable modules you don't use
# and speed up your boot process by a second or two.
#
# Use a space-separated list of modules you wish to not have linked
# on boot.  The following example shows a (condensed) list of all
# modules shipped in the linux-restricted-modules packages:
#
# DISABLED_MODULES="ath_hal fc fglrx ltm nv"
#
# Note that disabling "fc" disables all fcdsl drivers, "ltm" disables
# ltmodem and ltserial, and "nv" disables the three nvidia drivers.
# You can also name each module individually, if you prefer a subset.

DISABLED_MODULES="ath_hal fc fglrx ltm nv"

Now reboot:

sudo shutdown -r now

After the reboot you should be back to a working system.

F-Spot fails to load

With a fresh install of Ubuntu 7.04, F-Spot was failing to load from the menu and sat there using CPU cycles heavily and having to issue the following command in terminal

$ killall f-spot

After that i thought I would try run F-Spot from terminal to see what errors there was

$ f-spot

and this was the reoccurring error

Starting new FSpot server
Cant’ get a connection to the dbus. Trying again…

Well I found it was very simple to fix the problem and all that has to be done is this

$ rm -rf ~/.gnome2/f-spot

After that F-Spot started up correctly.

Installing your selection of packages on Debian based systems

Consider: You have a host you like or at least its close too. You have another you would like to replicate the installed package set on.

APT – Is a front end to dselect and dpkg

Do this to functionally replicate it…
On you favorite host

$ dpkg –get-selections > myfavs.selections

file name is totally arbitrary

Check out the text file, it’s just a simple list with install / deinstall

Here is a snippet:

apt						install
apt-utils					install
aptitude					install
aspell						install
aspell-en					install
at						install

There is no header info or anything clever just a list.

Maybe you will need to copy your sources (and othe apt conf stuff) as well.? At least line up the repositories and levels.

Now transfer that file(s) to your (same distro) target unit. Save it somewhere you can read it. then: (with admin permissions)

# dpkg –set-selections < myfavs.selections

You can repeat the first get-selections if you want to check (diff -u) but next you do this:

# apt-get dselect-upgrade

Done.

It’s possible to convert a Debian box to an Ubuntu box this way and visa versa though its gunna break something…