![]() |
Re: Anyway to remove the text "Swipe to unlock" from the lock screen?
1 Attachment(s)
To get started you need some perl libraries.
HTML-TokeParser-Simple HTML-TokeParser HTML-Tagset URI LWP-Simple You can download all of them to a location on your N900 by using the following commands (this assumes you have wget. If you dont enable extras and get it) wget http://search.cpan.org/CPAN/authors/...et-3.20.tar.gz wget http://search.cpan.org/CPAN/authors/...er-3.68.tar.gz wget http://search.cpan.org/CPAN/authors/...le-3.15.tar.gz wget http://search.cpan.org/CPAN/authors/...RI-1.58.tar.gz wget http://search.cpan.org/CPAN/authors/...l-5.837.tar.gz Once you have all these down you need to extract them. You will need a little room in whatever location you are extracting them to. tar xvf HTML-Tagset-3.20.tar.gz tar xvzf HTML-Parser-3.68.tar.gz tar xvzf HTML-TokeParser-Simple-3.15.tar.gz Once you have done that you should see a directory structure as below HTML-Parser-3.68 URI-1.58 HTML-Parser-3.68.tar.gz URI-1.58.tar.gz HTML-Tagset-3.20 libwww-perl-5.837 HTML-Tagset-3.20.tar.gz libwww-perl-5.837.tar.gz HTML-TokeParser-Simple-3.15 libwww-perl-5.837.tar.gz.1 HTML-TokeParser-Simple-3.15.tar.gz Now its a matter of copying the libs into place. For each extracted directory EXCEPT URI do the following. cd <dir name>/lib cp -R * /usr/lib/perl/5.8/ For URI do the following cd URI-1.58 cp URI.pm /usr/lib/perl/5.8/ cp -R URI /usr/lib/perl/5.8/ Now that you have your perl libs you need imagemagick. An optified version can be found at http://talk.maemo.org/showpost.php?p=918582&postcount=2 Ok now we need to setup the perl script - I am attaching it to this posting. You will need to rename it from .txt to .pl Firstly some caveats. This script was cranked out in like 1 hour. Its uglier than sin and can probably be done a lot better. Have at it if you can improve it and please post your updates here. Ok. You will need to edit the script to point to your weather by changing the variable WEATHER_URL at the top of the script. The current one points to New York. Next change the BACKGROUND_IMAGE variable to point to the image you want as a background for your slider. Change the TMP_DIR value to a location on your N900 you want to do the processing in. Depending on the size of your background image you will need about 5 MB. I have it set to my sdcard and created a tmp location there. If you choose to leave it as is - then don't forget to create that directory. Lastly set the THEME variable to point to your current theme. In my case I use the plastic-pleego-blue theme but you would substitute your theme directory. Ok save all your changes and set the script to be executable. chmod +x weather.pl Run it. If you don't get any errors then the next time you view the slider screen you should see current weather on the bottom left and tomorrows on the bottom right. I setup alarmd to run the script hourly - you do as you see fit. I am making some assumptions here that if you are hacking this kind of stuff you understand how to edit files and put them in a location where you can execute them. |
Re: Anyway to remove the text "Swipe to unlock" from the lock screen?
Quote:
Perhaps camping on an omweather trigger (whatever that means) is something you have done before - I haven't and I lack the time/desire to work out how. If its so easy then please feel free to show me/us how I am always glad to learn and will happily replace my system with yours. |
Re: Anyway to remove the text "Swipe to unlock" from the lock screen?
Quote:
Should hopefully be able to crank something out quickly. EDIT: Got this working. Will post procedure later today. |
Re: Anyway to remove the text "Swipe to unlock" from the lock screen?
I don't know if it's the right thread but since it's lockscreen related I will just ask.
I'm still having a semi-transparent overlay (image?) over the date and time info and I'm just having no idea how to remove this... I've renamed everything lockscreen related or replaced it with transparent images. What I am missing? Edit: nervermind, found it. I had to remove some code (draw 'rectangle') from the lockSlider.pl script. Greetz, ..::J4ZZ::.. |
Re: Anyway to remove the text "Swipe to unlock" from the lock screen?
insn't possible to modify the osso-system-lock.mo using linux?
|
Re: Anyway to remove the text "Swipe to unlock" from the lock screen?
Quote:
msgunfmt osso-system-lock.mo.orig -o osso-system-lock.po nano osso-system-lock.po #edit the swipe string msgfmt osso-system-lock.po -o osso-system-lock.mo scp osso-system-lock.mo root@192.168.0.5:/usr/share/locale/it_IT/LC_MESSAGES/ --- EDIT: works perfectly, thanks! |
Re: Anyway to remove the text "Swipe to unlock" from the lock screen?
Quote:
never mind, found it, sorry |
Re: Anyway to remove the text "Swipe to unlock" from the lock screen?
as i read the posts in this thread , that there are different files for different regions .
like US has different and Uk's different . i am from Asia , Pakistan . which one should i choose ? i chose US one and forgot to give space in between " " and now it's giving error . msgid "secu_in_device_wipe_two_tries" msgstr "" " Incorrect code. All data will be removed from device after two more " "incorrect entries." what should i do now ? deleted the zip file and downloaded again , replaced the original file again and tried again but it is still the same . |
Re: Anyway to remove the text "Swipe to unlock" from the lock screen?
Quote:
as far as files is concern it depads on what lenguague are you using doe not matter what country in u r. soon i would make a video tutorial for this in my own thread http://talk.maemo.org/showthread.php?t=69461 |
Re: Anyway to remove the text "Swipe to unlock" from the lock screen?
Quote:
as far as files is concern it depends on what language are you using doe not matter what country in u r. soon i would make a video tutorial for this in my own thread http://talk.maemo.org/showthread.php?t=69461 |
All times are GMT. The time now is 00:41. |
vBulletin® Version 3.8.8