Install the fastest Mozilla browser on your N900

Firefox 7.0 is the browser that I am currently using on my N900. Its pretty fast compared to its predecessors. Its not even in BETA and all you can get is the nightly build. For me, its okay, as I like playing with my systems and mobile. If that is okay with you read on….

Head over to the firefox nightly build website Firefox Nightly Builds. Go to the links for the mobile version and then select Maemo build and download it.. Copy the tar.bz2 file to your N900 or directly download it from the handset ๐Ÿ™‚

Once done ,

1
tar zvfr <filename>

This will create the directory fennec. Note the complete path, we will need that in sometime. Its no good, if you have a browser and you cannot access it from a menu ๐Ÿ™‚

So, we will now add this to the network menu.

Open a terminal on your N900 or ssh to your mobile and follow the below steps:

1
cd /usr/share/applications/hildon

Now if you have installed Fennec already that copy fennect.desktop to fennec7.desktop:

1
 cp fennec.desktop fennec7.desktop

and open the file with your favourite editor and change the name of the Exec and the Name. If you dont have that file, copy paste the below into that file. Dont forget to change the Exe to that of the complete path of the fennec executable.

 

[Desktop Entry]
Version=0.1
Encoding=UTF-8
Name=Fire-Nightly
Comment=Firefox mobile browser
Exec=/opt/fennec/fennec
StartupWMClass=Navigator
StartupNotify=true
Terminal=false
Type=Application
Categories=Application;Network;
Icon=fennec
X-Icon-Path=/usr/share/icons
X-Window-Icon=fennec
X-Window-Icon-dimmed=fennec
X-Osso-Type=application/x-executable
X-Osso-Service=mozilla.fennec
MimeType=text/html;text/xml;application/xhtml+xml;application/xml;application/vnd.mozilla.xul+xml;application/rss+xml;application/rdf+xml;image/gif;image/jpeg;image/png;

[X-Osso-URI-Actions]
http=X-Osso-URI-Action-Open
https=X-Osso-URI-Action-Open
ftp=X-Osso-URI-Action-Open
file=X-Osso-URI-Action-Open

[X-Osso-URI-Action-Open]
Method=load_url
Name=uri_link_open_link
TranslationDomain=osso-uri

 

Before you can see another entry for Fennec in the menu, you might have to kill hildon and/or restart your mobile.

Enhanced by Zemanta

GPG error on N900 when doing update on command line

Nokia N900 communicator/internet tablet
Image via Wikipedia

If you have added some extra repositories to your Nokia N900 and are trying to do something ( like update, install or any other apt-get operation) you might see some errors or warnings related to the GPG keys. The errors would come because the Public keys for the reporisitories are not present in the gpg database ๐Ÿ™‚

Cool, now you know the reason, but what to do…ย  Add them as below:

(Before doing this note down the keys when you are getting the errors/warnings. We will need those keys to get the public keys from the public server. I am taking “010908312D230C5F” as an example here.)

1
gpg --keyserver pgpkeys.mit.edu --recv-key  010908312D230C5F gpg -a --export 010908312D230C5F | sudo apt-key add -

and if you need to see the currently active repositories then you can
open the following file and check the contents:

1
vim /etc/apt/sources.list.d/hildon-application-manager.list
Enhanced by Zemanta

Installing Bling Theme on N900

Nokia N900 communicator/internet tablet
Image via Wikipedia

There is a very nice theme for N900 and it is called Bling theme. There is a problem though with the theme, the theme still does not have a installable .deb file, and thus the files need to be directly copied to “/usr/share/icons” and you have to manually do the mkdir and all such command in the terminal in a N900, which does not seem familiar to quite a lot of people using N900. So here, is for the benefit ofย  all, I am posting a script that can do the job. The one lines can be run from any bash script (Linus/Windows with cygwin/Mac or even N900). Though the one liners should be self explanatory, if you have a doubt, feel free to ping me.

Original Maemo thread is here… you can find the screenshots of the theme in the thread.

http://talk.maemo.org/showthread.php?t=46739

1
2
3
4
5
for i in place*; do mv "$i" ${i//place these files in /}; done
for i in Place*; do mv "$i" ${i//Place these files in /}; done
for i in usr*; do j=${i//\./\/}; echo $i $j; done
for i in usr*; do j=${i//\./\/}; echo $i $j; mkdir Bkup_$i; scp -r [email protected]:/$j/* Bkup_$i/ ;done
for i in usr*; do j=${i//\./\/};scp -r $i/* [email protected]:/$j/ย  ;echo "Done with $i"; done
Enhanced by Zemanta