![]() |
Anyway to remove the text "Swipe to unlock" from the lock screen?
Is there anyway to remove the text "Swipe to unlock" form the lock screen?
|
Re: Anyway to remove the text "Swipe to unlock" from the lock screen?
Quote:
|
Re: Anyway to remove the text "Swipe to unlock" from the lock screen?
According to http://talk.maemo.org/showthread.php?t=63649 the unlock screen is implemented in a closed-source component, unfortunately.
|
Re: Anyway to remove the text "Swipe to unlock" from the lock screen?
YES. By incorporating a white bit of background behind it,
Kind Regards, D4rK |
Re: Anyway to remove the text "Swipe to unlock" from the lock screen?
Lateral thinking there D, like it mate.
|
Re: Anyway to remove the text "Swipe to unlock" from the lock screen?
Quote:
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 |
Re: Anyway to remove the text "Swipe to unlock" from the lock screen?
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... |
Re: Anyway to remove the text "Swipe to unlock" from the lock screen?
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 |
Re: Anyway to remove the text "Swipe to unlock" from the lock screen?
Quote:
|
Re: Anyway to remove the text "Swipe to unlock" from the lock screen?
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. |
All times are GMT. The time now is 12:00. |
vBulletin® Version 3.8.8