About Me

My photo
Glossop, United Kingdom
You can email me andybleaden@gmail.com ,ICQ 277487048 or contact via twitter @andybleaden and yes I am still here-always will be!

Not f'd

Not f'd — you won't find me on Facebook

Friday, September 10, 2010

This would have been a good advert for Moblin

Saw this and thought they should have run this wider and loaded onto the usb image




Moblin Advert 2




What do you think?

They even have adverts for MIDS ( I know I never knew what they were either!)

moblin for mids! 


Look


Well now i obviously need a MID!
Where is mine?!

OK so when it goes wrong. How to make Ubuntu look like Moblin a little more!



One of the most annoying things about messing with the operating system is that when you reinstall you lose all of your settings and themes that you like. This for me is even more annoying as one of the reasons I stick with Moblin is the looks and themes that come with it. 

When I end up breaking it (see previous and numerous examples) I make it easier by making the Ubuntu Netbook Remix (10.04 ) more like Moblin in its appearance. This can be quite easy and many alternatives exist that look moblin esque as a quick search on OMG Ubuntu will show.

However if like me you are not that interested in complete themes but just go for the it's good enough look but don't like what is on Ubuntu at the moment then here is an easy guide which will give you not one but two desktop backgrounds ( which you can download from here) as well as Moblin icons and fonts which you can get from the current repositories that you currently have in Ubuntu Netbook remix. The results of which give you netbook a fresher look and a more Moblin feel.

Step one : Fonts – Install Moblin Droid Sans Fonts

The default font in Moblin is Droid Sans (which is already in Ubuntu Universe repositories) and is described as a hand held device font.
To download for Ubuntu open a terminal and enter the following code
sudo apt-get install ttf-droid which will install all of these

These will automatically be installed as system fonts
To set them up go to open System>Preference>Appearance>Fonts and select Droid Sans to replace all the fonts there remembering to put in the Droid Sans Bold and Droid Sans Mono where applicable.

This is all you need to do. I do sometimes find that the Netbook fonts on my netbook are a little too small so instead of size 10 I use size 11.

Step 2
Background /Wallpaper
Maybe it is because I have use Moblin that much that I have just got used to the wallpapers that come with it.
These default ones are the Blue Energy Theme and the Cat which you can download to your Picture folder from here:

Cat


Blue



Again to set these up go to System>Preference>Appearance>Background and click Add and browse through to your folder where you have saved the pictures above (Tip) If you put them in Pictures and not Downloads you are less likely to tidy them up and delete them ( as I did . Twice!)
Click on the image you prefer ( I change them every now and again) and it will be your Desktop Background.

Step Three – Icons

This again is available still through the repos and installable by opening a terminal and entering the following code. These are leftovers from the old Ubuntu Moblin remix experiment which was shelved unfortunetly.

sudo apt-get install moblin-icon-theme

This will download and install quickly all the icons needed

To get these working again go to System>Preference>Appearance>Theme and select Customize and Click the Icons Tab to scroll down and select Moblin.
After a reboot or log in and log out you will find more and more Moblin type icons appearing.

If you really want you can also install the Moblin Style Cursor via the same method ie
sudo apt-get install moblin-cursor-theme

Then System>Preference>Appearance>Theme and select Customize and Click the Pointer Tab and select Moblin

Further work or alternatives
You could always try some other Moblin based themes such as mobslim theme package from http://gnome-look.org/ and search for Moblin
These you download as tar.gz files and install via System>Preference>Appearance>Theme and select Install and click on the tar.gz folder but I found a few errors and it needed a Mist theme ( again search Mist on the same site and a moblin-netbook-engine file which is available from here

There are a few other alternatives which you can also explore but never interested me
that much here

http://aymaraceci.deviantart.com/art/Simple-Moblin-Icon-Theme-135750701






Thursday, September 09, 2010

Back with Moblin...getting creases ironed out!

Back with Moblin 2.1

So I am back with Moblin 2.1

Why?
It worked and worked well except for a few issues which with all the new skills learnt above I sought to resolve

Issues

1          Skype did not work at all for some reason. I could download and install but could not get it running even  trying a sudo skype command
2          Even the occassional  time I did get it working I could get no sound from microphone
3          I struggled to get decent film graphic support
4          Twitter have stopped other programmes using the usual api access


So I did a careful install and set up the wireless drivers using Slaines guide. I then installed the updates and setup what I needed.

Getting Moblin running smoothly
  • Skype fedora rpm direct from the site
  • Dropbox rpm  direct from the site
  • Open Office from the moblin manage apps application ( I only chose Open Office Writer)
  • Rhythmbox from the Moblin Apps Installer
  • Mp3 support (using Slaines guide again)
  • Pidgin Instant Messenger from the Moblin Apps Installer

After loading some music I then set about fixing the issues above

Skype working on moblin
I noticed that when I tried to run Skype from the applications area nothing happened. So I tried running it from a terminal using the sudo skype command which did not work and came up with an error accessing the  libXss.so.1 type error. Grumpiness kicked in and so I tried to install the file that it could not find by a sudo yum install  libXss.so.1 which threw up a different file which seemed to be a screensaver programme called libXScrnSaver-1.1.3-3.12.moblin2.i586. Which I stupidly installed. Which stupidly made Skype then start with sudo skype!
Don’t ask why. I do not know.Something to do with a screen saver I guess but it fixed it and that is one crease ironed out!

Code sudo yum install  libXScrnSaver-1.1.3-3.12.moblin2.i586

Sound on skype through a microphone
I remembered that last time Skype had sound issues So I had to download the gnome-media and xfce-mixer as well as all of the items that came up with a sudo yum search sound search (jack etc etc) With all of these installed I had a new programme in the applications menu called mixer. Here I could select the mic and input sources for Moblin and noticed that it was set up on mute so no sounds. I selected Front Mic as capture input source by a mix of testing it on sound recorder to see if it recoreded. The Front Mic source input worked. I fired skype back up with sudo skype in a terminal and went into skype settings and tested a make a call feature and low and behold it worked! Solved. Quiet at first but solved and another crease ironed out


Decent media support

I followed this guide to set up Java on Moblin whjch I lifted directly from the eeePC Moblin forum here


How to get Java working on Moblin 2.1

Thanks to user ‘esanator’

Here is short guide how to get Java (JRE) working on Moblin and Moblin Web Browser:

- Download Linux RPM from Java website: http://www.java.com/en/download/linux_m … w.java.com

- Open Terminal

cd /your/download/folder

chmod a+x ./jre-6u21-linux-i586-rpm.bin

sudo ./jre-6u21-linux-i586-rpm.bin

cd /usr/lib/moblin-web-browser-3.5.5/plugins/

sudo ln -s /usr/java/jre1.6.0_21/plugin/i386/ns7/libjavaplugin_oji.so

- You may need to change jre-6u21-linux-i586-rpm.bin, /moblin-web-browser-3.5.5/ and /jre1.6.0_21/ according to your browser version and Java version

- You need to know your root password when using sudo command

- Now you should get full working Java on Moblin and Web browser with applets!


How to get Streaming Video Codecs on Moblin 2.1

This is not for the faint of heart of those short of time as it is code compilation but I managed it so I am sure you can

Again thanks to the eepc moblin forum and user jamart3d in particular
There used to be a guide which I followed as well but did not work here

http://www.elotrolado.net/hilo_how-to-i … -1_1325670


Jamert3d found if recompiled with the correct dev libs installed first
and installing totem..
they got get totem aka "Movie Player" to handle most anything passed to it..

below is a "script" to reduce the amount of interaction needed configuring/compiling/installing the totem and gstreamer/plugins
first though make sure you moblin is up to date..
in moblin, open a terminal, at the prompt, enter

Code:

sudo yum update

Code:

reboot
After the reboot, and back in moblin it's time to install the compiler and dev libs needed to install totem/gstreamer
again open a terminal, and paste the following

Code:

yum install gcc flex bison make diffutils glib2-devel pango-devel cairo-devel liboil-devel alsa-lib-devel libtheora-devel libvorbis-devel libogg-devel wget gcc-c++ fribidi* qt*devel* *SDL* *dbus*dev* *hal*dev* libXpm* libXt* moz* libXScrnSaver.i586 libXaw-devel.i586 pulseaudio-devel.i586 totem.i586 totem-gstreamer.i586 totem-pl-parser.i586
echo "## READY FOR REBOOT###"

Stick in your password and go and do something else for a while dependent on your download speed and how much you already have installed
When complete reboot via the terminal

Code:

reboot
after the reboot, and your back in moblin
You now need to time to create a script file in your home directory  to configur/compile/install totem and gstreamer/plugins and name it prep.sh

Open a terminal, at the prompt, enter

Code:

vi prep.sh
 
This is a text editor like gedit but does it in the terminal itself
You now have an open terminal with a text editor running in it.
In vi you need to press the "i" key to insert what your about to copy.
copy all the below and paste into vi

Code:

cd ~/Download
wget http://downloads.sourceforge.net/project/mad/libmad/0.15.1b/libmad-0.15.1b.tar.gz
tar xvfz libmad-0.15.1b.tar.gz
cd libmad-0.15.1b
echo "\tremoving optimize="\$optimize -fforce-mem" option"
sed -e 's/optimize="$optimize -fforce-mem"/#optimize="$optimize -fforce-mem"/g' ./configure > new
mv ./configure ./configure.org;mv new ./configure
diff ./configure.org ./configure
chmod 777 ./configure
./configure --prefix=/usr
make
make install
cd ~/Download
rm -rf libmad*
echo "installing a52dec-0.7.4"
wget http://liba52.sourceforge.net/files/a52dec-0.7.4.tar.gz
tar xvfz a52dec-0.7.4.tar.gz
cd a52dec-0.7.4
./configure --prefix=/usr
make
make install
cd ~/Download
rm -rf a52dec*
echo "installing libmpeg2-0.5.1"
wget http://libmpeg2.sourceforge.net/files/libmpeg2-0.5.1.tar.gz
tar xvfz libmpeg2-0.5.1.tar.gz
cd libmpeg2-0.5.1
./configure --prefix=/usr
make
make install
cd ~/Download
rm -rf libmpeg*
echo "installing faac-1.28"
wget http://downloads.sourceforge.net/faac/faac-1.28.tar.bz2
tar xvfj faac-1.28.tar.bz2
cd faac-1.28
./configure --prefix=/usr
make
make install
cd ~/Download
rm -rf faac*
echo "installing faad2-2.7"
wget http://downloads.sourceforge.net/faac/faad2-2.7.tar.bz2
tar xvfj faad2-2.7.tar.bz2
cd faad2-2.7
./configure --prefix=/usr
make
make install
cd ~/Download
rm -rf faad*
echo "installing gstreamer a plugins"
wget http://gstreamer.freedesktop.org/src/gstreamer/gstreamer-0.10.25.tar.bz2
tar xvfj gstreamer-0.10.25.tar.bz2
cd gstreamer-0.10.25
./configure --prefix=/usr
make
make install
cd ~/Download
rm -rf gstreamer*
wget http://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-base-0.10.25.tar.bz2
tar xvfj gst-plugins-base-0.10.25.tar.bz2
cd gst-plugins-base-0.10.25
./configure --prefix=/usr
make
make install
cd ~/Download
rm -rf gst-plugins-base*
wget http://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-good-0.10.17.tar.bz2
tar xvfj gst-plugins-good-0.10.17.tar.bz2
cd gst-plugins-good-0.10.17
./configure --prefix=/usr
make
make install
cd ~/Download
rm -rf gst-plugins-good*
wget http://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-0.10.17.tar.bz2
tar xvfj gst-plugins-bad-0.10.17.tar.bz2
cd gst-plugins-bad-0.10.17
./configure --prefix=/usr
make
make install
cd ~/Download
rm -rf gst-plugins-bad*
wget http://gstreamer.freedesktop.org/src/gst-plugins-ugly/gst-plugins-ugly-0.10.13.tar.bz2
tar xvfj gst-plugins-ugly-0.10.13.tar.bz2
cd gst-plugins-ugly-0.10.13
./configure --prefix=/usr
make
make install
cd ~/Download
rm -rf gst-plugins-ugly*
wget http://gstreamer.freedesktop.org/src/gst-ffmpeg/gst-ffmpeg-0.10.9.tar.bz2
tar xvfj gst-ffmpeg-0.10.9.tar.bz2
cd gst-ffmpeg-0.10.9
./configure --prefix=/usr
make
make install
cd ~/Download
rm -rf gst-ffmpeg*
echo "##READY TO REBOOT##"
after you've pasted that into the vi txt editor
hit the "Esc" key a couple of times..
then enter, the ":" key
then enter "wq" and then the enter key
which should bring you back to the terminal
then at the terminal, type/paste

Code:

chmod 777 prep.sh
now your ready to run the script


Here I differ with jamert3d and opened the terminal and ran sudo nautilus which opened the file browser as root. In the home directory is the file called prep.sh. When you double click on it a prompt comes up asking if you want to run the script in a terminal. Select that option and again for abou t 30 odd minutes the script will run and run and run but will finish and go back to the terminal with the sudo nautilus command in it. Now reboot 


Code:

reboot
Once back into moblin, open the web browser
go to a site you know of that you want to play something streaming and click on the link , it should ask you what to do with the link,
select open with /other..enter or select /usr/bin/totem
click ok

if it doesn't ask you what you want todo with the link
go into the prference of the browser and make sure the associated link type
is set to always ask..

after you have that associated once, next time you can the
click the option "Do this automatically.."

the only thing left is to add vlc and its mozilla plugin to enable
in browser wmv formats to play..
make sure the browser is closed
again open a terminal, at the prompt, enter

Code:

vi prep.sh
you started vi text editor again,
first delete all the contents of the file
enter ":1,$ d" , without the quotes, then hit enter,
all of the contents should be deleted..
now time to insert the following.
hit the "i" key to insert what your about to copy.
copy all the below.. and paste into vi

Code:

cd ~/Download
wget http://www.mplayerhq.hu/MPlayer/releases/codecs/essential-20071007.tar.bz2
tar xvfj essential-20071007.tar.bz2
mkdir -p  /usr/local/lib/
mv essential-20071007  /usr/local/lib/codecs/
cd /usr/local/lib/codecs/
chmod 755 *
ln -s /usr/local/lib/codecs/ /usr/lib/codecs
ln -s /usr/local/lib/codecs/ /usr/local/lib/win32
ln -s /usr/local/lib/codecs/ /usr/lib/win32
cd ~/Download
rm essential-20071007*
mkdir ffmpeg-export-snapshot
wget http://ffmpeg.org/releases/ffmpeg-export-snapshot.tar.bz2
tar xvfj ffmpeg-export-snapshot.tar.bz2 -C ./ffmpeg-export-snapshot
cd ffmpeg-export-snapshot/*
./configure --prefix=/usr --enable-gpl --enable-postproc --enable-x11grab --enable-shared --enable-ffplay --enable-libfaac --enable-libfaad --enable-nonfree
make
make install
cd ~/Download
rm -rf ffmpeg-export-snapshot*
wget http://download.videolan.org/pub/videolan/vlc/1.0.3/vlc-1.0.3.tar.bz2
tar xvfj vlc-1.0.3.tar.bz2
cd vlc-1.0.3
./configure --prefix=/usr  -enable-mozilla --disable-dvdnav --disable-libcdio --disable-libcddb --disable-cdda --disable-vcd --disable-dvb --disable-opie --disable-oss --enable-pulse
make
make install
cd ~/Download
rm -rf vlc-1.0.3*
echo "user_pref(\"plugin.disable_full_page_plugin_for_types\", \"audio/x-mpegurl,video/x-ms-asf\");" >~/.mozilla/moblin-web-browser/moblin.default/user.js
echo "INSTALLED vlc/ffmpeg/codecs"
after you've pasted that into the vi txt editor
hit the "Esc" key a couple of times..
then enter, the ":" key
then enter "wq" and then the enter key
which should bring you back to the terminal

now your ready to run the script using the sudo nautilus method above and double clicking on the prep.sh


This will take some time again but not as long as the other mammoth script. You can now delete the prep.sh

Code:

rm prep.sh*
start the browser.. go to a site with a streaming link..

with this setup, I have the moblin web broweser (firefox) able to take almost any stream and pass it to a correct media playerthe only thing left is to install add-ons to the browser such as.. adblock greasemonkey + flash block script




Next steps with Moblin

The Twitter issue is following a twitter policy to not allow automatic access for twitter applications without your online approval which as the moblin twitter is an oid build will have to get resolved in Meego if it has not been already.

But for now I have solved 3 out of the 4 problems with Moblin that I had and resolved the 4th is beyond my skills for now so I am heading back to Ubuntu Netbook Remix while I have a need to have  a more stable env

Progress? What progress!

Back with Moblin



One of the annoying deviances for the last two months has seen my netbook bounce from running the following systems



Ubuntu Netbook Remix 10.04

Worked fine and even got it with Moblin themes, fonts and backgrounds





Ubuntu Netbook Remix 10.10

Early alpha.broke pretty quickly even for me



Dell Ubuntu Moblin remix

Looked good, wiped the whole drive, no bluetooth support, hard to adapt and update but it was a developer edition for Dell so I was quite impressed



Ubuntu Moblin Remix 9.10

Worked very well and could get updated kernels until May 2010 but sluggish compared Moblin and no Bluetooth or 3g support so it had to go



Ubuntu Netbook Remix 10.04

Needed stable system.Worked fine as above but did some digging and found ....



Goblin (Open Suse)


Worked very well but no Suse experience meant I could not sort the wireless drviers for my Broadcom wifi. Shame as it was as good (really good ) as Moblin with lots of extras



Meego

Got set up again and even updated.Just not getting it sorted though. Real Pain to install other stuff



Moblin (same hour as above!)

Broke on install



Fedora Moblin Spin

Took a while to learn how to install. Installed and updated . Rebooted to get error. Shame as it looked good. Tried again and then could not get wireless sorted using Slaine dev guide.






Google Chrome OS

Tried Hexxehs excellent Flow OS ( google os and other tools) from chromeos.hexxeh.net but not able to install Tried Vanilla (Google os – no ‘stuff’)

Then tried the Google OS for Dells ( which sort wifi!) here http://linux.dell.com/files/cto/



Smeegol Open Suse Meego

Ok .This looked really really good when installed after earlier network connection manager problems but could not for the life of me work out how to sort wireless issues or any issues as I know nothing about Suse so it had to go





Ubuntu Netbook Remix 10.04

Looked really good until I broke it upgrading to 10.10 L

So I went back to Moblin and had a full week to sort old issues...once and for all!