Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

The LPT

macrumors regular
Original poster
Mar 8, 2010
174
0
I recently tried modifying the settings.plist inside the preferences.app to see if I could get the bluetooth menu on the first page of Settings mainly for quicker access. Not needing to drill down 2 levels.

If you add the following to the settings.plist :

<dict>
<key>bundle</key>
<string>BluetoothSettings</string>
<key>isController</key>
<false/>
<key>requiredCapabilities</key>
<array>
<string>bluetooth</string>
</array>
</dict>


I normally put the code just below the AirPortSettings (Wifi). Where you place it in the file will determine how far down the list it is on the main page.

Respring/reboot the phone and you're good to go.

If you are like me who doesn't use SBSettings for anything other than those 2 toggles, this will at least reduce the number of mobile substrate addons by at least 1 :D

edit : I got a little carried away and did some more editing.
I put the battery percentage in the main screen
Put location services and notifications under the general page
put the carrier info in the network page

I cant figure out how to show the wifi without an icon though. If anyone has any thoughts let me know.
 

Attachments

  • IMG_0002.PNG
    IMG_0002.PNG
    107.4 KB · Views: 569
  • IMG_0003.PNG
    IMG_0003.PNG
    79.2 KB · Views: 153
  • IMG_0004.PNG
    IMG_0004.PNG
    146.7 KB · Views: 159
Last edited:
Here are my modded plists : :D
settings
general
Usage Statistics
network
 

Attachments

  • plists.zip
    4.9 KB · Views: 141
Any chance you could tell me the exact path in iFile to the
correct settings file?

Also could you screenshot the modified part of the file so I can see
exactly what it looks like?

Thanks this is pretty much what I have been looking for.
Any negatives so far?
 
Any chance you could tell me the exact path in iFile to the
correct settings file?

Also could you screenshot the modified part of the file so I can see
exactly what it looks like?

Thanks this is pretty much what I have been looking for.
Any negatives so far?

I haven't run into any issues so far.

The actual path to the folder is root/private/var/stash/Applications/

look in the Preferences.app folder and modify those files. Always make a back up of them first.

I've uploaded a couple screenshots to give a basic idea of where things go. The plist files I uploaded previously have all the edits shown in my first batch of screen shots.
 

Attachments

  • fmuddu.png
    fmuddu.png
    77 KB · Views: 178
  • 213gcc0.png
    213gcc0.png
    72.6 KB · Views: 136
I haven't run into any issues so far.

The actual path to the folder is root/private/var/stash/Applications/

look in the Preferences.app folder and modify those files. Always make a back up of them first.

I've uploaded a couple screenshots to give a basic idea of where things go. The plist files I uploaded previously have all the edits shown in my first batch of screen shots.

Maybe I missed it, but could you list what device and iOS you did this on?
 
I have an GSM iPhone 4, on 4.3.3 But I'm assuming the same principles for modding the plist files would work on all the versions of the phone.

I'm basically taking the code from one file and putting it into another.

eg.

Taking the code for the bluetooth menu from the General.plist and putting it into the Settings.plist.
 
I have an GSM iPhone 4, on 4.3.3 But I'm assuming the same principles for modding the plist files would work on all the versions of the phone.

I'm basically taking the code from one file and putting it into another.

eg.

Taking the code for the bluetooth menu from the General.plist and putting it into the Settings.plist.

Just took your plists and am rebooting now. I've always wanted to bring certain options forward in the menu system. This is great!
 
Hopefully you can figure this out. How can you make the Bluetooth setting a toggle right on the settings screen rather than a dive into another menu level? That would be even better!
 
That was my original plan to move the actual toggle to the main menu, but I couldn't find the code that runs that specific page.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.