Active Topics

 


Reply
Thread Tools
xxxxts's Avatar
Posts: 491 | Thanked: 341 times | Joined on Nov 2009 @ LA
#1
Is there anyway to remove the text "Swipe to unlock" form the lock screen?
 
Posts: 279 | Thanked: 293 times | Joined on Oct 2009 @ Italy
#2
Originally Posted by xxxxts View Post
Is there anyway to remove the text "Swipe to unlock" form the lock screen?
bump < interested too
 
pelago's Avatar
Posts: 2,121 | Thanked: 1,540 times | Joined on Mar 2008 @ Oxford, UK
#3
According to http://talk.maemo.org/showthread.php?t=63649 the unlock screen is implemented in a closed-source component, unfortunately.
 
D4rKlar's Avatar
Posts: 675 | Thanked: 923 times | Joined on Apr 2010 @ London
#4
YES. By incorporating a white bit of background behind it,

Kind Regards,
D4rK
__________________
_________________________
_________________________________
_
* D4rKlar on DeviantART * Maemo5 on DeviantART *
_
* M4riNa D4rK Theme and Iconset *
_
 

The Following 4 Users Say Thank You to D4rKlar For This Useful Post:
Switch_'s Avatar
Posts: 601 | Thanked: 549 times | Joined on Mar 2010 @ Redditch, UK
#5
Lateral thinking there D, like it mate.
__________________
---<|| Alt + F4 for GOD MODE ||>---
---<|| Deviant Art Linky Linky ||>---
 

The Following 2 Users Say Thank You to Switch_ For This Useful Post:
Posts: 235 | Thanked: 339 times | Joined on Nov 2010
#6
Originally Posted by pelago View Post
According to http://talk.maemo.org/showthread.php?t=63649 the unlock screen is implemented in a closed-source component, unfortunately.
It, however, reads its strings from an external file for localisation reasons.
Check /usr/share/locale/$LANG/LC_MESSAGES for something like osso-systemui-tklock.mo. (I can't remember the file name exactly, so grep -i for whatever the string "Swipe to unlock" is in your language. Edit: Check pelago's post below)

Once found, either install "gettext" on the N900 (available in the SDK repository; be careful!) or copy the mo file to a Linux computer (or a Windows one, if you can find Windows binaries of gettext).

After that, you can invoke "msgunfmt mofile.mo -o mofile.po" and find the string in the resulting po file. Once found, replace it with a space character and, then, once saved, run "msgfmt pofile.po -o mofile.mo" and copy the final result back to the LC_MESSAGES folder

Last edited by jstokes; 2011-02-02 at 17:44. Reason: s/locales/LC_MESSAGES/
 

The Following 27 Users Say Thank You to jstokes For This Useful Post:
pelago's Avatar
Posts: 2,121 | Thanked: 1,540 times | Joined on Mar 2008 @ Oxford, UK
#7
What an excellent post. It looks like the correct file in that folder is osso-system-lock.mo, and the string ID is secu_swipe_to_unlock, by the way.

Of course, any changes to this file would get lost if a future update overwrote it. I'm not sure what would be the best way to make this change persistent...
 

The Following 10 Users Say Thank You to pelago For This Useful Post:
nicolai's Avatar
Posts: 1,637 | Thanked: 4,424 times | Joined on Apr 2009 @ Germany
#8
Good catch!
Maybe a good way to print a custom text on the lock device screen
as well.
For example replace the text for the secu_application_title
with
"please call xxxx if you found this phone".

Nicolai
 

The Following 13 Users Say Thank You to nicolai For This Useful Post:
xxxxts's Avatar
Posts: 491 | Thanked: 341 times | Joined on Nov 2009 @ LA
#9
Originally Posted by jstokes View Post
It, however, reads its strings from an external file for localisation reasons.
Check /usr/share/locale/$LANG/LC_MESSAGES for something like osso-systemui-tklock.mo. (I can't remember the file name exactly, so grep -i for whatever the string "Swipe to unlock" is in your language. Edit: Check pelago's post below)

Once found, either install "gettext" on the N900 (available in the SDK repository; be careful!) or copy the mo file to a Linux computer (or a Windows one, if you can find Windows binaries of gettext).

After that, you can invoke "msgunfmt mofile.mo -o mofile.po" and find the string in the resulting po file. Once found, replace it with a space character and, then, once saved, run "msgfmt pofile.po -o mofile.mo" and copy the final result back to the LC_MESSAGES folder
I got lost in that message, could you do that one more time just a little slower?
 

The Following User Says Thank You to xxxxts For This Useful Post:
Posts: 2,102 | Thanked: 1,937 times | Joined on Sep 2008 @ Berlin, Germany
#10
You have to change the file /usr/share/locale/us_US/LC_MESSAGES/osso-system-lock.mo, this is only possible, if you convert the file .mo to .po via the msgunfmt command.
You could edit the now. Format the file back to .mo with the msgfmt command.

Note: You need gettext installed to have the msg* commands on you N900 available.
 

The Following 3 Users Say Thank You to michaaa62 For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 04:09.