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 root@192.168.103.88:/$j/* Bkup_$i/ ;done
for i in usr*; do j=${i//\./\/};scp -r $i/* root@192.168.103.88:/$j/ย  ;echo "Done with $i"; done
Enhanced by Zemanta

Deleting all mails in the N900 (Maemo 5) permanently

Well couple of days back, I checked the folder details of one of my accounts configured on the N900 (Maemo 5) and it was showing some 1000 or more emails, whereas I had only 4-5 emails in the Inbox so where are the other emails and how to I get rid of them. This was causing the mail application to become a little slower than usual so do I live with it, I decided not to do so and thus found out how to delete all the mails.

For a handheld, I use the mail only to get the mails and reply them immediately. I do not keep the mails for future ๐Ÿ™‚ . If you are one of my kind then you can follow on but if you want to keep any of the mails then DO NOT FOLLOW.

Open a terminal, and then do the following:

1
2
3
4
5
6
7
8
9
cd ~/.modest/cache/mail/pop/

cd <pop account directory>

rm -f summary.mmap

cd cache

rm -fr *

Once again, note that this will delete ALL the emails and not just selective ones, so be careful.

Remeber not to delete the other files…

And if you are lazy just like me then you can copy paste the below script and run it from terminal whenever you want ๐Ÿ™‚

1
2
3
4
5
6
7
8
9
cd /home/user/.modest/cache/mail/pop/
for i in *
do
cd $i
pwd
rm -rf cache/*
rm -fr summary.mmap
cd -
done

๐Ÿ™‚

Enhanced by Zemanta