Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
Sorry for the repost, but this is probably a more appropriate thread for it anyway:

"So I installed LockInfo with the Gruppled theme...

Its great, except I tried getting back the stock "Slide to Unlock".

I deleted the "com.apple.telephonyUI" folder in the theme, and that seems to have worked, but the words "Slide to Unlock" are missing. Is there any way to get that back?

(Also "Slide to Answer", "Slide to Cancel", etc.)"

What you are missing is the modifications made in the theme to the Springboard.springs file. That is going to be located under Bundles/com.apple.springboard directory, IIRC under en.lproj (or whichever corresponds to your language settings). Remove that from the theme, and "Slide to unlock" should return.

All this talk about configure.js.... could somebody please give the full location to this file on our phones?

I can only get the Weather, Twitter, Name Days, and Clock to work. The only time when it displays new SMS is when i get one while the phone is locked, then it disappears again. No Mail, Calendar, etc...

This thing is WEIRD.

You need to be using the proper theme (I believe in this specific instance it is the Gruppled Lock Info theme) for LockUI. In the directory of the theme, you want to look under Bundles/com.ashman.LockInfo. In there is a file called Config.js, which has the config settings for all the different widgets for LockInfo.

I have everything working just fine but I can't seem to find Lockscreen Clock Hide? Is this in Cydia?

I would love to remove the default clock on the lock screen. I need more room.

In Cydia, add the following source: http://david.ashman.com/apt
Inside that source is "Lockscreen Clock Hide". You install it, and then there is an option within the iphone settings window for Clock Hide, where you can hide the big clock on the lock screen and the small one on the lock screen top bar.
 
Here is an example of config.js settings...

Alright guys. Here is an example of what I did to my config.js file to make it look like the examples that you see above.

The path for the file is as follows:
/Library/Themes/Grupple LockInfo.theme/Bundles/com.ashman.LockInfo/config.js

You must do the following to edit this file.
1. SSH the above file from your iphone to your desktop. (I use Cyberduck with Mac).
2. Then you will open the config.js file and edit it with a text editor.
3. Once done editing, upload it to the same location and have it replace the old config.js file.
4. Done.
5. Also, to make the stock lockscreen clock disapear so the one with this theme shows, download "Lockscreen Clock Hide" from the david.ashman.com source.

Bellow is a copy of the config.js file with the changes I made and comments in red.

GENERAL SETTINGS

// Your country code
// If it's not in the strings/ folder, please translate strings/en.js and send to gruppler@gmail.com var language = "en"; // NOTE: to change time formats, look in strings/en.js (or whatever language file you're using)

// Arrange and/or disable (by commenting-out) sections:
// To enable a section, remove the "//" at the beginning of the line var sections = [
// (remove the "//" if you want it to show up) "Clock",
"Weather",
"Mail",
"Calendar",
"Calls",
"Voicemail",
"SMS",
];

// If "Clock" is enabled in the "sections" list above, this shows the bigger custom clock var useBigClock = true;

// Display arrows in headers?
var displayArrows = true;

// Draw a monthly calendar as a collapsable subsection of the custom clock var showMonth = true;

// The day the week will start on; 0(Sun) to 6(Sat) var startDay = 0;

/
*
––––––––––––––––––––––––
*/
// EXPAND/COLLAPSE SETTINGS

// Collapse or expand main sections by default; comment-out or set to false to expand...
// To collapse a section by default, remove the "//" at the beginning of the line var defaultCollapsed = {
"Clock":true,
"Mail":true,
// "Calendar":true,
"Calls":true,
"Voicemail":true,
"SMS":true,
// "Weather":true,
};

// Enable global collapse/expand by swiping right (or left, if globalHide is false)?
var globalCollapse = true;

// Enable global hide toggling by swiping left (or right, if globalCollapse is false)?
var globalHide = true;

// If globalHide is true and custom clock is enabled, hide the clock too?
var hideClock = false;

// Set to false for instant section collapse/expand, or true for webkit CSS animations var enableAnimations = false;
var animationDuration = 450; // Milliseconds

// Animate the global collapse/expand? (Requires enableAnimations to be true) var animateGlobalCollapse = false;

// Collapse subsections in sections that are to be collapsed by default (listed above)?
var collapseChildren = true;

// Always expand the first subsection? Note: this overrides collapseChildren; // subsequent sections will be collapsed regardless of main section's default var expandFirst = true;

// Revert to default collapse/expand settings when a section is empty?
var revertCollapsedOnEmpty = true;

// Hide empty sections?
var hideEmptySections = false;

/
*
––––––––––––––––––––––––
*/
// SECTION DISPLAY SETTINGS

// Display the "Load More" bar at the bottom of each section if the item limit was reached?
var displayLoadMore = true;

// If displayLoadMore is enabled, how many more should load each time the bar is pressed?
var loadIncrement = 5;

// Display each calendar as a separate section?
// Note: If true, there will be an extra subheader, even if there's only one calendar.
var separateCalendars = false;

// Display each day as a separate section?
// Note: If true, there will be an extra subheader, even if there's only one day with events.
var separateCalendarDays = true;

// Display events' times/dates in a separate column?
var separateCalendarTimes = true;

// Sort this calendar first if separateCalendars is true var mainCalendar = "Calendar";

// Show count for only today' events?
var calendarCountToday = false;

// Limit the number of events to show
var calendarLimit = 10;

// Display each email account as a separate subsection?
// Note: If true, there will be an extra subheader, even if there's only one email account.
var separateMailAccounts = false;

// Limit the number of emails to show
var mailLimit = 5;

// Limit the number of missed calls to show var callLimit = 5;

// Limit the number of voicemails to show var voicemailLimit = 5;

// Limit the number of SMS messages to show var smsLimit = 5;

/
*
––––––––––––––––––––––––
*/
// RELATIVE TIME SETTINGS

// Show relative times or absolute times?
var displayRelativeTimes = true;

// Show short periods or long periods?
// Ex.
// false -> "3 hours, 2 minutes"
// true -> "3h 2m"
var displayShortPeriods = true;

// How many periods to display if not rounded? (Excludes seconds unless time < 1 minute) // Ex.
// relativeTimeLength = 1 -> "3h"
// relativeTimeLength = 2 -> "3h 2m"
var relativeTimeLength = 2;

// Limit the frequency of updates for relative time, and round seconds:
var relativeUpdateLimit = 15; //Seconds

// Specify how time should be rounded.
// 1: Round up (ceiling)
// 0: Normal round
// -1: Round down (floor)
var roundPeriods = [
1, // seconds
1, // minutes
0, // hours
-1, // days
0, // weeks
0, // months
0, // years
0 // decades
];

/
*
––––––––––––––––––––––––
*/
// WEATHER SETTINGS

// Produced by Adam Watkins (http://www.stupidpupil.co.uk) // Modified by Craig Laparo (gruppler@gmail.com)

// Locations, following the same format as "locale" above. Add as many as you want, separated by commas.
// The first one in the list will be displayed on the weather header.
// Ex. "OCN|AU|VIC|MELBOURNE", "ASI|PH|MAKATI" e.g. 'Defiance, Ohio'|'Moscow, Russia'|'London, UK'
// Visit http://accuweather.com to find something that works var locales = [
"Lake Worth, FL",
"Boca Raton, FL" (These are my locations I wanted)

];

// Show the first city's current weather in the main header?
// Set this to false if you have multiple cities and don't want a rundundant header...
var mainHeaderWeather = true;

// Show the first city's name in the main header, or hide it?
var displayMainCityName = false;

// Show the other cities' names in their subheaders, or hide them?
var displayCityNames = true;

// Limit the number of days to display (also limited by the weather source; 7 seems to be the max) var weatherDayLimit = 7;

// Set to 'false' if you'd prefer Farenheit var isCelsius = false (I use Farenheit);

// Use 'Real Feel' temperatures where possible, taking into account Wind Chill, Humidity etc.
var useRealFeel = false;

// What should separate hi temperatures from low temperatures?
// use "<br>" to put them on separate lines, or something else like "|", for example.
var weatherTempSeparator = "<br>";

// Images must follow the same naming schema as the 'klear' set (borrowed from KWeather) var iconSet = "tick"; //'klear'|'tick'
var iconExt = ".png"; //'.png'|'.gif'|etc.

// Display the refresh icon in the header? If not, you can still tap the update time to refresh.
var displayWeatherRefreshButton = true;

// To disable automatic refresh/retry, set to 0 var weatherUpdateInterval = 30(I did not want to check temp more than every 30 minutes); //Minutes var weatherRetryInterval = 0.5; //Minutes

// If stop trying after this many consecutive failed attempts (set to 0 for infinite retries):
var weatherRetriesMax = 3;

// The (currently broken) 'Yahoo' which for the 'locale' requires a US zip or location code // (e.g. UKXX0085 or CHXX0008) from http://weather.yahoo.com var weatherSource = "Apple"; // "Yahoo" is broken for now, so use "Apple"

/
*
––––––––––––––––––––––––
*/
// SWIPE SETTINGS

// The MAXIMUM distance your finger can move to trigger a 'tap'
var tap_maxDistance = 3;

// The MINIMUM distance your finger must move to trigger a 'swipe'
var swipe_minDistance = 60;

// The MAXIMUM vertical distance your finger can move to trigger a 'swipe'
var swipe_maxY = 20;

/
*
––––––––––––––––––––––––
*/
// Do not change this...

if(language != "en"){
var headID = document.getElementsByTagName("head")[0];
var scriptNode = document.createElement('script');
scriptNode.type = 'text/javascript';
scriptNode.src = 'strings/'+language+'.js';
headID.appendChild(scriptNode); }


I hope this helps out guys.:)
 
For all of you grumbling about config.js, I already posted a copy of my file in this thread. It is set up just as my screenshot shows and very closely to the example in the post above this post.

The link is in this post of this thread.... config.js post

My advice to some of you is "If you are looking for help, be sure and read the whole thread". After all, it's only 3 1/2 pages long. Everything from Cydia repos, file locations, examples, folder locations and how to configure the js are all in these few posts.

Good luck.
 
What you are missing is the modifications made in the theme to the Springboard.springs file. That is going to be located under Bundles/com.apple.springboard directory, IIRC under en.lproj (or whichever corresponds to your language settings). Remove that from the theme, and "Slide to unlock" should return.

Thank you very much for replying. I managed to find this earlier today and I changed the strings back to what they were 'supposed' to be, but I didn't realize you could simply delete that folder. That makes it a lot easier!
 
I hope this helps out guys.:)[/QUOTE]

Dang, stole half my idea! ;)

I need to redo my iphone tonight (going to try purplera1n as with redsn0w my battery percentage meter is REALLY wonky, and cydia is a tad crashy), so I was going to write up a tutorial with images of how to go from a just jailbroken iphone to getting LockInfo working properly, since a lot of people seem to be having issue (not just here) and the threads out there on MacThemes with the info are just too frigging huge to work with.

Also, just to note to people here, in this section here:
// (remove the "//" if you want it to show up) "Clock",
"Weather",
"Mail",
"Calendar",
"Calls",
"Voicemail",
"SMS",
];

The order in which the items appear in that list are the order they will appear on the lock screen. I changed mine around a bit (still a work in progress):
IMG_0012.png


Also, if you want to dig more into the look and feel of the display, in the Theme under the com.ashman.lockinfo/css directory are cascading style sheets you can edit, if you want to do things like change up colors, fonts, text locations, etc.

My next plan is to rework the fonts (maybe a bit smaller), tweak the rest of the icons, and tweak the way info is presented (like removing the second line in the calendar entry containing the end time and begins in info)...
 
Wanted to install this today, but the repo seems to be down.

Anyone else encountering this?
 
You need to be using the proper theme (I believe in this specific instance it is the Gruppled Lock Info theme) for LockUI. In the directory of the theme, you want to look under Bundles/com.ashman.LockInfo. In there is a file called Config.js, which has the config settings for all the different widgets for LockInfo.

Ahh yes this all make sense why i can't seem to find a config.js anywhere!

For those who are interested, here is the Gruppled Lock Info Theme: http://macthemes2.net/forum/viewtopic.php?id=16794932
 
In Cydia, add the following source: http://david.ashman.com/apt
Inside that source is "Lockscreen Clock Hide". You install it, and then there is an option within the iphone settings window for Clock Hide, where you can hide the big clock on the lock screen and the small one on the lock screen top bar.

Adding that Source worked. Thanks a bunch. For some reason i had a different source installed also. Two total Anyway it works now.

Wanted to install this today, but the repo seems to be down.

Anyone else encountering this?

I was having the same problem and just waited a little while and tried it again. It worked finally.

Now onto the next task. I need to find that nice tight slider being used.
I need the graphics, I already know how to install it. Where may i find the graphics for that?
The one hard-case posted above a few posts.

thx

Edit* I was getting mixed up when reading all the posts. Some claim the config. needs to be edited and while that is true you can edit that i finally decided to just use the setting/Lockinfo menu to make any changes i needed. Actually Clock Hide shows up there also. I must be mis-reading all the information.
 
Simple Install

I will try to simplify the install:

Open cydia and add this source ( http://simonv.chronophoto.fr/cydia/ )
When done add http://david.ashman.com/apt (Lock Screen Hide App)

Once the repository updates install the base Lockmatte UI and any other of the plugins that you want (there are several)

Open winterboard and activate the new Lockmatte info Theme
Go to the iPhone Settings scroll down to Lockinfo and customize the way you like

You can always use SSH and copy the files off the iPhone and edit them all you want in order to change the App to your liking.

Hope that helps? I became confused after reading literally hundreds of pages from numerous threads. It's really pretty straight forward but it can become confusing if you read everything posted. Thanks again to hard-case.
 
I will try to simplify the install:

Open cydia and add this source ( http://simonv.chronophoto.fr/cydia/ )
When down add http://david.ashman.com/apt (Lock Screen Hide App)

Once the repository updates install the base Lockmatte UI and any other of the plugins that you want (there are several)

Open winterboard and activate the new Lockmatte info Theme
Go to the iPhone Settings scroll down to Lockinfo and customize the way you like

You can always use SSH and copy the files off the iPhone and edit them all you want in order to change the App to your liking.

Hope that helps? I became confused after reading literally hundreds of pages from numerous threads. It's really pretty straight forward but it can become confusing if you read everything posted. Thanks again to hard-case.


Thanks for all that. I wasnt going to go crazy, and leave Lockinfo default, but you made it so damn easy. :)
 
I hope you dont stat complaining on another thread about your battery draining. I did this and my battery dropped 5% in 10 min. Screw that. I turned it off.
 
I hope you dont stat complaining on another thread about your battery draining. I did this and my battery dropped 5% in 10 min. Screw that. I turned it off.

who are you talking at? I dnt recall complaining about my battey elsewhere....

For the record, I'm getting the same (meh) performace with lockinfo as I had been getting without it.
 
ok i only manage to get the matte ui theme working. the grupple one looks so nice however it can't receive weather info from canada?

Why is this. I look over the code briefly for grupple and matte ui seems like it use the same server "apple or Yahoo" to fetch weather. Any though on why it works with matter but not grupple?


grupple need to implement a setting config like the matte where you can change the config within the phone
 
Alright guys. Here is an example of what I did to my config.js file to make it look like the examples that you see above.

The path for the file is as follows:
/Library/Themes/Grupple LockInfo.theme/Bundles/com.ashman.LockInfo/config.js

used this and now what i had working before is all gone lol. nothing on lock screen except for the changed tiny unlock slider.

I paste it word for word in to the config cause i want to see if the weather works
 
Is there a way to give lockinfo priority over cover art? When the iPod is on and you check lockscreen, lockinfo is obscured by the album art.

Or perhaps just remove the cover art from the iphone - I dont like it that much anyway.....
 
well heres mine
quickshottrann.png


do you guys also get a second of lag when you unlocked the phone?:confused:
I have not really noticed lag except if I have just re-sprung the phone or something. This is on a iPhone 3GS however so it may be different with a 3G model.
I have noticed that it sometimes takes a bit for changes in the mail category to register. Like when I get a new mail, the number might not increase right then when it should.

Otherwise it seems to work very well.
 
Is there a way to give lockinfo priority over cover art? When the iPod is on and you check lockscreen, lockinfo is obscured by the album art.

Or perhaps just remove the cover art from the iphone - I dont like it that much anyway.....

I am almost positive there is a program on Cydia that allows you to disable cover art from showing on your lockscreen. Too lazy to look for it now though..:D
 
I have not really noticed lag except if I have just re-sprung the phone or something. This is on a iPhone 3GS however so it may be different with a 3G model.
I have noticed that it sometimes takes a bit for changes in the mail category to register. Like when I get a new mail, the number might not increase right then when it should.

Otherwise it seems to work very well.

thats weird im on a 3GS also, but for me when i slide to unlock, it takes about 1sec or so for the LockInfo to go away compared to the status bar info...i can't really explain it :eek:
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.