Wednesday, March 31, 2010

Songbird add-on to use Ubuntu notifications

In a previous post, we saw 3 add-ons for Firefox and Thunderbird that allowed them to use Ubuntu or KDE notification system, so they would integrate much better with the OS. There is a similar add-on available for the geat media player Songbird too!
It can display title/artist/album name/genre/rating (any metadata actually and in any order you like) and the album cover!
You can find ubuntu-notifyOSD here.




Rant: Why Songbird is still not in the Ubuntu/Debian repositories (PPA is not a good solution, it should be in the real repositories) is beyond my comprehension and probably beyond any (un)reasonable explanation. It can't be that hard for the Ubuntu, Debian & Songbird developers to package it, can it???

Rant update!!!!!
As if absence form repositories was not enough, Songbird team announced that they are droping official support for Linux!!!!! Community builds will keep coming for anyone who still cares to use it. Maybe Songbird on Linux was doomed from the beginning with most KDE distros shipping with Amarok and Ubuntu and many others with Rythmbox. But this is a really lame excuse, as many other programs thrive, despite not being the default ones. The biggest reason for its failure was not ever really trying to provide packages for the most popular distributions and using the system theme to integrate better with the OS.


So, as my favorite Southpark character Cartman would say:

Where "home" would be the preinstalled Rythmbox.

Monday, March 29, 2010

AntiX 8.5 Persistent Flash Drive.

This how to is just going to be a generic how to for making a persistent live usb of AntiX. You can do this on any computer. You can do this with a Live CD or Live USB or Live SD. For my purposes. I am doing this using a live USB. But a Live cd will work just as good for this also. Your downloaded iso I will show you later will work running in live cd mode also. So it does not matter if you are using a Live CD or Live USB or SD card. My persistent live drive I am going to install to is going to be a Kingston 4gig SD Flash card.

You should know. That any changes you make to a persistent install usb. Like if you install xfce Desktop of KDE Desktop or Gnome Desktop to your live persistent USB Drive. If you run the installer on that USB Persistent Drive. It will install ALL Changes like your XFCE,GNOME,or KDE Desktop also.

The Meta installer which is on the menu is a great tool for installing different Desktops and other stuff.

I am going to show how doing this with the AntiX 8.5 base ISO. For first time users I would suggest you download the AntiX 8.5 Full Iso.

I will mention this though. If you are a EEEPC user reading this. If you do the base Install and Ceni when you open it runs the cpu at 100% when loading Ceni. Just wait till Ceni finishes loading and CPU will drop back down to 15%. I experienced this on my EEEPC 900 (celeron processor). I also used a land line for all my downloads and after booting up base Persist SD Card. I used a land line also running base to install packages using

apt-get update


In terminal as root user and then

apt-get install wicd


So as to bypass using ceni to connect wireless. Do what you wish though. I am just mentioning this from personal experience.

Just think of AntiX base as a Debian Net minimal install that you can build off of.
AntiX Full Iso has more tools though Like AntiX control center and Synaptic package manager. The base just comes with apt-get. Full Iso comes with ceni, wicd, rutilt to connect to the net. Base come with just ceni.

Antix has a New Wiki thanks to all the hard work by the Antix group. Check it out also.

Antix Wiki How To articles


You will need to make a Live Media of AntiX 8.5 first (cd or usb or SD card). Whichever way you prefer. My way is just one of the many ways it can be done.

Refer to my old post on AntiX 8.2 and Unetbootin if you wish to make a live USB my way.
Link

Inset your media that you wish to boot live session from. Insert at least a 1 gig Flash drive (what I would call a minimum size USB for a persistent USB of AntiX. 2 gig or higher would be better.)

Ok. Now use whatever key you need to use to change boot order in bios. And change boot first to USB or cdrom. Depends on what your bios is capable of and what media drive you are going to use.


You should be greeted with with a grub splash screen. Pick the top Option. You will not need to login. You should be greeted with a Icewm Desktop. Make sure you are connected to the net. We will need to download a ISO and Md5sum text from the net. Open your Browser and go to AntiX main web page. I used This Mirror since I live in the US. Choose any mirror you wish from the list though. Remember You can use any of the isos on that list. 8.2 Full, 8.2 base, 8.5 Full, Etc.... Any AntiX iso will work with the antix2usb persistent installer.

{I wonder if any other Linux Distro like Full Mepis 8.5 will work with the persistent installer. Time and testers will Tell)



You can download isos to your live USB session. Just remember that if you reboot or shutdown. You will lose any isos downloaded after reboot. Download will take a few minutes. You have time to do other things while this is going on.



You should now have 2 files in your Download folder in AntiX. Now I am going to do a md5sum check of my Iso to make sure the file is OK. You should always do a md5sum check of large files (IMO) to save your self time and grief later if something does not go right.

Go to where you downloaded AntiX ISO and Md5sum. On mine I have it in /home/demo/downloads.
Right click on empty space in file manager. You should see a menu. Pick open in terminal. I am using pcmanfm file manager to show this. It is the default file manager in AntiX live though rox is available also. For simplicities sake. I will show this using the default file manager.



Next you will get a pop up. Terminal program not set. No worries. Just hit the oK button.



Next the preferences window will pop up and you can select which terminal you wish to run in file manager. For my purposes. I will pick rox-terminal. Just use the drop down arrow on the blank box in preferences to do this.



Close preferences window after selecting your preferred terminal. Right click on empty space where you have your isos and your terminal should now open. I used rox-terminal as a example so I could show you how to copy and paste md5sum readout into your downloaded md5sum text file to compare the two.



Double left click on your md5sum text file next to your iso file and paste terminal readout under your entry in text file.



As you can see. My md5sum check OK. So I can close pcmanfm because I am done and start on the SD card Install process. A USB drive will work just as well.

Go to the crossed wrenches on the bottom task bar and open up AntiX control Center and left click on the disks tab. You will see antix2usb button on the bottom right of window.



Left click on the antix2usb button and the next window that pops up will show the installer. On the top Select Iso file find your downloaded Iso and put it in that window.

On device find your drive you are going to do the persist install to and put it in that window.

Make sure the drive you are installing persistence to is unmounted. You can unmount it by either opening pcmanfm as root.

gksu pcmanfm


or follow steps using steps from the wiki

You can use the livecd/liveusb/fromiso live (as well as installed antiX) to install an antiX.iso file to usb stick via the antix2usb application.

1. Boot from live media

2. Open antiXcc -> Disks -> antix2usb, provide root password

3. Select Iso file - Navigate to the antiX.iso file

4. Choose a system partition size of circa 10 MB bigger than the selected Iso file

5. Set options for antix2usb ie persistent.

6. Make sure hal is disabled before hitting Apply (/etc/init.d/hal stop)

7. Once finished, you should have a bootable live usb stick with persistence enabled

8. If you have an older computer, you might need to add this to the /boot/grub/menu.lst to stop being dropped to a limited shell, when booting from the usb stick.

rootdelay=10


It was just easier for me to unmount SD drive using pcmanfm as root user. There are many ways to unmount a drive in AntiX. My way is just one way to do it.

Mine looks like this screenshot when done.



I am using ext2 file system. I am also using the default 320mb since I am using Base Iso for this tutorial. If using Full Iso the value will be a little larger. Closer to 600 mb or so. The default sets the demo (live Partition) 10% higher than it needs to be. So default is fine in most cases. If your drive is huge like 8gig or so. You can type in that box a larger value if you so wish. Just remember you are going to be taking away space from the persistent partition when you do this. If you hit the drop down arrow. Other file systems are available like ext3 and ext4. Use what you wish. Notice that I have the persistence box checked also. Everything from here on will be done Auto Magically. Hit the Apply Button.



Be patient. Give it some time. If you get a pop up window saying the install drive is mounted. Then you haven't unmounted the drive yet. Just unmount that drive and hit the apply button again after closing error window.

Window below should show up if you did every thing right.




Just Shut down and pull your Live CD, Or USB. Keep the persistent live in your computer. Use bios to boot from that drive. Enjoy your new Persistent Live media on your computer. My persistent flash drive using fluxbox (default window manager for base) with rox desktop icons (with a couple of new apps installed)



Thanks again to the gang at AntiX. Just to mention a few. (Not in order of importance. Just great guys involved in this). Special thanks to lagopus for this useful tool.

lagopus
miks
m_pav
anticapitalista
BitJam
secipolla
ICE-M
eriefisher
SilverBear
OldHogsHead
And a ton of others.It is a community of Linux brothers.

Sorry if I missed anybody. You should really check out the Antix2usb installer. It is one neat tool to have. I am going to leave this last link just because I like it. It mentions the 2 operating systems I chose to run on some of my gear.

Best NewLinux Operating Systems you may not know about for 2010


Since doing this install. I have installed XFCE Desktop and wicd network manager. I use this drive on My Acer Aspire One ZG5 with Atheros Wireless Chipset with the Ath5K Linux driver that comes stock in AntiXs kernel. wlan1 is the wicd network manager interface to get connected in wicd properties. I use dhclient also instead of Automatic in wicd preferences also.

Friday, March 12, 2010

Install inxi in MacPup

I haven't posted in a while. I had some Surgeries to deal with. Any Hows. I run Macpup Foxy 3 on one of my Laptops. A IBM T23. I dual boot it with AntiX. Antix has a nice command in terminal called inxi besides a few others. Today I am going to show you how to install inxi in MacPup. This should work for other distros also. But I haven't tried it yet. So do at your own risk/experiment.



If you are interested in MacPup. I recommend the below video to get a idea on what it uses and is.

You Tube Video


First I went to This Site

I Opened my Terminal. In Puppy you are always root user in terminal. So no need for su or sudo. For you sudo users. Use sudo or su before the below command.

cd /usr/local/bin && wget -Nc smxi.org/inxi && chmod +x inxi



I have already installed inxi so I won't run the command again. Just hit enter and you will have wget download and install inxi into your Operating System. Like I said. I used MacPup Foxy 3 for this install.

After it is done downloading and is installed. I closed Terminal to be on the safe side and reopened it before running inxi Command. This might not be necessary.






This post was done on a IBM T23 Laptop that boots AntiX 8.5rc3, AntiX 8.2, Macpup Foxy 3, and Puppy 4.31. Happy Trails, Rok

Edit: since I have posted this. I have installed this on Puppy linux 4.31, Puppy Dingo 4, NOP Puppy Linux, Bruno Puppy Linux, Lighthouse Puppy linux. This script works on all those variations of Puppy Linux I have tested this on.