|
2011-02-09
, 15:52
|
|
Posts: 109 |
Thanked: 20 times |
Joined on May 2010
|
#2292
|
Here are instructions on how to do get the exact same lock screen as I have:
1. Make sure that you have wget installed. If not, install from terminal:
2. Install ImageMagick (command-line tools for image manipulation) if you don't already have it. I downloaded the optified version from here. Download the file and install it:Code:sudo gainroot apt-get install wget
3. Remove the 'swipe to unlock' text as described in this thread. I followed these exact instructions.Code:sudo gainroot wget http://www.debernardis.it/downloads/imagemagick_6.3.7.9.dfsg2-1~lenny3maemo1_optified_armel.deb dpkg -i imagemagick_6.3.7.9.dfsg2-1~lenny3maemo1_optified_armel.deb
4. Remove the slider image from your theme folder or replace it with a transparent empty slider image. I have used the first option and I use plastic-dark-black theme:
5. Create a directory somewhere on your phone where you want to have the few files needed for this. I created /home/user/CustomStuff/ directory. In this directory create a text file called e.g. lockscreen.sh and put the following commands in the file:Code:sudo gainroot cd /usr/share/themes/plastic-dark-black/images mv LockSliderThumb.png LockSliderThumb.png.orig mv LockSliderThumbPortrait.png LockSliderThumbPortrait.png.orig
The wget command downloads an image (go to http://lastfm.dontdrinkandroot.net/ to personalize your image). The downloaded image is then renamed in order not to confuse wget the next time the script is run.Code:# simple shell script file (lockscreen.sh) cd /home/user/CustomStuff/ wget http://lastfm.dontdrinkandroot.net/tools/user/artistcloud/generationally/6month/normal_thumb.png mv normal_thumb.png thumb.png convert -negate -rotate 90 -resize 95% thumb.png lastfm.png composite -gravity south lastfm.png Fresh_series_3_bar.png lockslider.png cp lockslider.png /usr/share/themes/plastic-dark-black/backgrounds/.
The convert command changes the color in the image from black to white (-negate) and rotates it 90 degrees. In addition, the image is resized to 95%.
The composite command overlays the downloaded image onto the 800x480 lock screen image that you want to use. I have here used this image (put it in the same folder as this script). The '-gravity south' option just puts the downloaded image in the bottom of the lock screen image.
Finally the final lock screen image is copied to the theme folder.
You can now try if it works by executing the following in a terminal window:
Your lock screen should now have been updated.Code:sh /home/user/CustomStuff/lockscreen.sh
6. Use Alarmed app to automatically execute the script whenever you want. I have configured Alarmed to do it daily.
That's it If you are not interested in last fm statistics on your lock screen, you can put anything there using this method. The ImageMagick tools are pretty powerful and also allows your to embed text onto images. So the possibilities of adding info to the lock screen are endless
The Following User Says Thank You to Weedalot For This Useful Post: | ||
|
2011-02-09
, 17:00
|
|
Posts: 159 |
Thanked: 241 times |
Joined on Aug 2010
@ Norway
|
#2293
|
|
2011-02-09
, 17:23
|
|
Posts: 675 |
Thanked: 923 times |
Joined on Apr 2010
@ London
|
#2294
|
|
2011-02-09
, 19:55
|
|
Posts: 468 |
Thanked: 775 times |
Joined on May 2010
@ Hereford, England
|
#2295
|
got 2 more questions : first is: the filebox icon style doesnt recognize my an-droid icon pack anything i can do about it?
another thing is: i placed new avatars inside the an-droid icon pack replacing the originals which works fine but in sms conversations the avatar (only the default one, replacing the blue person image) is not properly sized, it shows only the top left of the avatar and not the whole thing. how do i fix that?
The Following User Says Thank You to bigears5000 For This Useful Post: | ||
|
2011-02-09
, 20:08
|
|
Posts: 675 |
Thanked: 923 times |
Joined on Apr 2010
@ London
|
#2296
|
The Following User Says Thank You to D4rKlar For This Useful Post: | ||
|
2011-02-09
, 20:18
|
|
Posts: 468 |
Thanked: 775 times |
Joined on May 2010
@ Hereford, England
|
#2297
|
|
2011-02-09
, 21:24
|
|
Posts: 109 |
Thanked: 20 times |
Joined on May 2010
|
#2298
|
|
2011-02-10
, 21:47
|
Posts: 1,067 |
Thanked: 313 times |
Joined on Sep 2009
@ USA
|
#2299
|
Well it's rather simple (but requires some graphics work on your part).
The unlock screen is part of the theme and contains the background for the sliding part (the "ball" that slides is not part of the image). Since I'm using the default theme, the image is located in /usr/share/themes/alpha/backgrounds/lockslider.png
(I've attached it as well)
I just used it as a template to GIMP a slider background on it on the correct spot and then overwrote the default theme image with mine:
(do this as root)
And that's about it.Code:cp /home/user/MyDocs/lockslider.png /usr/share/themes/alpha/backgrounds/
(here's my panoramic desktop and the lockslider image for reference: abandoned.tar.gz)
|
2011-02-11
, 01:02
|
Posts: 1,067 |
Thanked: 313 times |
Joined on Sep 2009
@ USA
|
#2300
|
Tags |
maemo mods, mods thread |
Thread Tools | |
|
another thing is: i placed new avatars inside the an-droid icon pack replacing the originals which works fine but in sms conversations the avatar (only the default one, replacing the blue person image) is not properly sized, it shows only the top left of the avatar and not the whole thing. how do i fix that?