View Single Post
Posts: 133 | Thanked: 138 times | Joined on Nov 2007
#33
Originally Posted by Weedalot View Post
looks epic, can you share how you do that? and you still need to slide to unlock right?
Yes, you still need to swipe to unlock. However, I always use the HW lock slider key for locking/unlocking purposes.

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:
Code:
sudo gainroot
apt-get install wget
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
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
3. Remove the 'swipe to unlock' text as described in this thread. I followed these exact instructions.
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:

Code:
sudo gainroot
cd /usr/share/themes/plastic-dark-black/images
mv LockSliderThumb.png LockSliderThumb.png.orig
mv LockSliderThumbPortrait.png LockSliderThumbPortrait.png.orig
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:
# 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 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.
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:
Code:
sh /home/user/CustomStuff/lockscreen.sh
Your lock screen should now have been updated.

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 15 Users Say Thank You to generationally For This Useful Post: