Monday, November 23, 2009

GStreamer Codecs on Moblin v2.1

Works perfect! The only thing I did different is I used whatever was the newest version of the package I was downloading (i.e. gst-plugins-good-0.10.17 vs 16). Otherwise works very well. The only thing that doesn't seem to work is the preview images when browsing through files with the File Browser app.



English translation:

1) Install dependencies:
sudo yum install bison flex gcc make diffutils glib2-devel pango-devel cairo-devel liboil-devel alsa-lib-devel libtheora-devel libvorbis-devel libogg-devel

2) Download gstreamer sources:
Go to http://gstreamer.freedesktop.org/src and download the following packages:

· Gstreamer-0.10.25.tar.gz
· Gst-plugins-base-0.10.25.tar.gz
· Gst-plugins-good-0.10.16.tar.gz
· Gst-plugins-bad-0.10.16.tar.gz
· Gst-plugins-ugly-0.10.16.tar.gz
· Gst-ffmpeg-0.10.9.tar.gz

***In order to streamline this process I ran the following command:
wget http://gstreamer.freedesktop.org/src/gstreamer/gstreamer-0.10.25.tar.gz http://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-base-0.10.25.tar.gz http://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-good-0.10.17.tar.gz http://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-0.10.17.tar.gz http://gstreamer.freedesktop.org/src/gst-plugins-ugly/gst-plugins-ugly-0.10.13.tar.gz http://gstreamer.freedesktop.org/src/gst-ffmpeg/gst-ffmpeg-0.10.9.tar.gz

Once downloaded, extract all files. We will be 6 folders, each with the source code of each package.

3) Enter the folder first package (gstreamer) and execute:
. / configure - prefix = / usr
** here I also ran make clean first
make
sudo make install

4) Repeat these three steps in the base folder, good, bad, ugly and ffmpeg.

5) That's it. For some reason it did not work until I rebooted, but now plays videos and mp3 perfectly.

Getting Creative with Application Icons on Moblin

After installing Skype and discovering the world of .desktop files located in /usr/share/applications/ I decided that I wanted a cooler icon for Google Chrome (chromium) than the standard "Web Browser" icon that Moblin assigned Chrome after it installed through the "Moblin Application Installer." BTW - if you know how I can contribute to the addition of Skype to the Moblin Application Installer please let me know, I would love to help.

Basically all I did was grab a .png of the Google Chromium logo and make four files out of it - the same file but in four different sizes: 16x16, 32x32, 64x64 and 48x48. The first three I placed in their respective folders inside the /usr/share/icons/hicolor/ folder. Then I placed the 48x48 in the /usr/share/icons/ folder.

Once those are in place edit the chromium-browser.desktop file just as you did the skype.desktop file in my prior post. For example mine looks like this:

[Desktop Entry]
Version=1.0
Name=Google Chrome
Comment=Browse the World Wide Web
GenericName=Web Browser
Exec=chromium-browser --enable-plugins --enable-extensions --enable-user-scripts --enable-printing
Terminal=false
X-MultipleArgs=false
Type=Application
Icon=chrome
Categories=Network;
MimeType=text/html;
StartupWMClass=Chromium
StartupNotify=true

X-Desktop-File-Install-Version=0.15

That main thing you're look for is that it says Icon=chrome. This is because all of the files that I placed in the hicolor and icons folders are named "chrome.png" so the desktop file will look for them in those folders (automatically) and will find them named "chrome" and use them. According to the Moblin dev site you do not need to include the ".png" -- so I did not.

Finally - reboot. Now, doesn't that look sweet?

How-To Install Skype on Moblin v2.1

Here are the instructions on how to install skype on Moblin. These are actually for Fedora 10 but they work perfectly for Moblin.


step 1: create a file in /etc/yum.repos.d/ by the name skype.repo with the following contents

[skype]
name=Skype Repository
baseurl=http://download.skype.com/linux/repos/fedora/updates/i586/
gpgkey=http://www.skype.com/products/skype/linux/rpm-public-key.asc
enabled=1
gpgcheck=0

step 2: open a terminal and issue the following command as root user

$ yum install skype

After you do that you probably want Skype to show up in under your Applications. In order to do that navigate to /usr/share/applications/ and edit the skype.desktop file.
cd /usr/share/applications/
sudo vi skype.desktop

Then make the document look just like this:

[Desktop Entry]
Version=1.0
Name=Skype
Comment=Internet Chat
GenericName=Skype
Exec=skype
Terminal=false
X-MultipleArgs=false
Type=Application
Icon=skype.png
Categories=Network

Then hit "alt + :" to get out of the editing mode. Finally hit ":wq!" to save and quit vi. You may have to reboot at this point, but when you do Skype should show under applications in the internet section.

Friday, November 20, 2009

Snow Leopard on Hp Mini 110-1020nr

I was able to successfully install SL on my Hp Mini tonight. It runs great. Trackpad works well. Only one huemungonormous problem - no WiFi OR Ethernet...

Great little netbook, amazing OS and no connection to the internet. I googled it for well over an hour and it seems everyone's solution has been to just swap the wireless chipset in the 110 models for that of the 1000 models - but hey I just spent money on this netbook, not to mention the extended life battery - I don't want to replace the wireless chipset just yet. Does anyone know of a work-around? Maybe ndiswrapper for Mac or something?? ((Really drawing at strings here))

Moblin 2.1 WiFi Hp Mini 110-1020nr

Well I just bought my first netbook last night and I am proud to say the OS that shipped with it never had a chance to boot on it. I initially tried to load the Hp MIE Linux but to no avail. I'm not sure what the problem is -- it would hang somewhere around 25% through the boot sequence.

Anyways, I moved on pretty quickly to Moblin (v2.1). Everything works perfectly with the exception of the WiFi. Fortunately for me, there is another fellow who developed a work-around for his Dell Mini 9 that uses the same chipset as my new netbook.

His method can be seen here:

http://slaine.org/_slaine/Dell_Mini_9.html

Thanks Glen!

UPDATED 23 NOV 09:

In case slaine decides to take down his post for whatever reason here is a copy of the instructions of his site -- again this is all his work, I'm just re-posting for ease-of-access:

  1. 1)Activate the moblin toolbar and select the applications icon

  2. 2)Choose the Accessories section and select Terminal

  3. 3)Install the various tools you’ll need

sudo yum install rpmdevtools

  1. 4)Install the compilers and other tools,

sudo yum groupinstall “Development Tools”

  1. 5)Install the kernel-netbook-devel package.

sudo yum install kernel-netbook-devel

  1. 6)Now we’re ready to build and install the new broadcom drivers

wget http://slaine.org/files/moblinv2/wl-kmod-5.10.91.9.3-1.moblin.src.rpm

(This build will download the broadcom driver archive directly from their site)

rpmbuild --rebuild --target=i586 wl-kmod-5.10.91.9.3-1.moblin.src.rpm

  1. 7)Install the resulting rpm,

sudo rpm -ivh ~/rpmbuild/RPMS/i586/wl-kmod-5.10.91.9.3-1.moblin.i586.rpm