Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Thank You for your continued support and contributions!

+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  Possible to change default settings when building?
« previous next »
  • Print
Pages: [1] 2

Author Topic: Possible to change default settings when building?  (Read 5825 times)

Offline madsic

  • Member
  • *
  • Posts: 110
    • Vi har pander!
Possible to change default settings when building?
« on: March 04, 2007, 02:26:18 PM »
I'm recently having to clear settings a lot, so I was wondering if there was a(n easy) way to change the default settings when compiling, say by adding switches to the make command?
Logged

Offline bluebrother

  • Developer
  • Member
  • *
  • Posts: 3421
  • creature
Re: Possible to change default settings when building?
« Reply #1 on: March 04, 2007, 03:03:03 PM »
No, you would need to adjust the sources.

But why don't you create a configuration file with your settings from time to time? Changing the defaults doesn't make too much sense here as Rockbox will store (and load) your current settings -- why bother with the defaults?
Logged
Rockbox Utility development binaries (updated infrequently) · How to ask questions the smart way · We do not estimate timeframes.

Offline madsic

  • Member
  • *
  • Posts: 110
    • Vi har pander!
Re: Possible to change default settings when building?
« Reply #2 on: March 04, 2007, 05:22:55 PM »
Quote from: bluebrother on March 04, 2007, 03:03:03 PM
No, you would need to adjust the sources.

But why don't you create a configuration file with your settings from time to time? Changing the defaults doesn't make too much sense here as Rockbox will store (and load) your current settings -- why bother with the defaults?

Uhm I figured I had to go to the defaults because that's what I get whenever it resets (e.g. by booting with the 'hold' lock in place; it's an ipod) I'm not sure I understand your point. Would Rockbox use this configuration file instead if there was such a file, e.g. in the .rockbox directory? And how would I go about making one?
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: Possible to change default settings when building?
« Reply #3 on: March 04, 2007, 05:28:31 PM »
Let's start with the first thing:

Why exactly are you booting with the hold switch on to clear your settings, if you don't want them cleared?
Logged

Offline Rincewind

  • Member
  • *
  • Posts: 266
Re: Possible to change default settings when building?
« Reply #4 on: March 04, 2007, 06:56:07 PM »
you can create a fixed.cfg config file in .rockbox with the settings you want to have everytime. This will then get loaded and replace the defaults. But I don't know exactly how it works. You might find something about in the wiki or the manual.

btw, I don't think that reseting settings at boot is still needed with the new settings system.

I renamed a few settings and added and removed some from the code when I was programming a patch recently and never had to reset between loading the builds on my player.
Logged
Iriver H120, Sansa e280

Offline madsic

  • Member
  • *
  • Posts: 110
    • Vi har pander!
Re: Possible to change default settings when building?
« Reply #5 on: March 04, 2007, 07:37:49 PM »
Quote from: Llorean on March 04, 2007, 05:28:31 PM
Let's start with the first thing:

Why exactly are you booting with the hold switch on to clear your settings, if you don't want them cleared?

Since upgrading to a build from the 22nd connecting my ipod to my pc often leaves it hanging at the 'loading...' screen. The only way to get out of it is to restart while resetting and the reconnecting. I'm just now doing a new build that hopefully does not contain this error but I still thought it would be nice to end having to go through this rather tedious routine ever again (well, at least for a couple of weeks until the settings structure changes).

It just finished and I transferred it. Seems the problem persists. My build is simply source plus album_art patch. I'll try switching to daily builds and see what happens.

Quote from: Rincewind
you can create a fixed.cfg config file in .rockbox with the settings you want to have everytime. This will then get loaded and replace the defaults. But I don't know exactly how it works. You might find something about in the wiki or the manual.

Thanks, I found it in the manual. Not exactly what I would like but it's better than redoing all the settings manually.
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: Possible to change default settings when building?
« Reply #6 on: March 04, 2007, 07:41:51 PM »
If your player is freezing at boot, there's something you need to fix in your build. You should concentrate your energies on fixing the actual problem, instead of trying to come up with ways to pretend like it's not there.
Logged

Offline madsic

  • Member
  • *
  • Posts: 110
    • Vi har pander!
Re: Possible to change default settings when building?
« Reply #7 on: March 04, 2007, 08:15:01 PM »
Quote from: Llorean on March 04, 2007, 07:41:51 PM
You should concentrate your energies on fixing the actual problem, instead of trying to come up with ways to pretend like it's not there.

I didn't know I was  ???
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: Possible to change default settings when building?
« Reply #8 on: March 04, 2007, 08:16:53 PM »
Well, the problem is "it freezes when I don't reset my settings" and your solution was "make the reset reset to settings I like" rather than "figure out what causes the freeze"
Logged

Offline madsic

  • Member
  • *
  • Posts: 110
    • Vi har pander!
Re: Possible to change default settings when building?
« Reply #9 on: March 04, 2007, 08:31:37 PM »
Quote from: Llorean on March 04, 2007, 08:16:53 PM
Well, the problem is "it freezes when I don't reset my settings" and your solution was "make the reset reset to settings I like" rather than "figure out what causes the freeze"

Dude, I asked a legitimate question. I was interested in knowing if this could be achieved. I would be even if there was not this particular issue. Since you asked, I told you what had prompted the question even though this was not the only reason. I like Rockbox becuase it can be customised to your tastes. I figured this seemed like a reasonable thing to expect.

I really don't see the point of this tirade and I resent being insulted by you. You may be the administrator but that doesn't give you the right to be rude.
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: Possible to change default settings when building?
« Reply #10 on: March 04, 2007, 08:34:48 PM »
I don't see how what I've said could be considered a tirade, and strongly suspect you're interpreting a tone that isn't there.

Custom defaults are of course programmable by altering the source, and you've been offered the fixed.cfg solution, which does mostly what you want. As well you can load a .cfg file by clicking on it, so you can save one with the settings you like, and load it after clearing.

I was just stating my own point of view, which you seem to have taken as a 'tirade' despite the fact that there was nothing violent about it.
« Last Edit: March 04, 2007, 08:36:48 PM by Llorean »
Logged

Offline madsic

  • Member
  • *
  • Posts: 110
    • Vi har pander!
Re: Possible to change default settings when building?
« Reply #11 on: March 04, 2007, 08:39:28 PM »
Quote from: Llorean on March 04, 2007, 07:41:51 PM
You should concentrate your energies on fixing the actual problem, instead of trying to come up with ways to pretend like it's not there.

I consider both you telling me "where to firect my energies" (I think I have the right to ask the question I like?) and the implication that I'm somehow "pretending it's not there" patronizing. Patronizing is insulting.
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: Possible to change default settings when building?
« Reply #12 on: March 04, 2007, 08:42:02 PM »
I never said you were pretending it wasn't there. I said you were trying to come up with ways to allow you to. There is a very literal difference in meaning in those two statements.

Here's what frustrates me, though, and why I said you should be doing something else:

People can either fix bugs, or avoid them. If they avoid them, more bugs will crop up, and not be fixed. You came here, and asked for a way to avoid a bug, without even bringing up the bug. Have you told the author of album art it causes freezes on boot? Have you done ANY effort to improve the patch, or are you just trying to avoid the freeze and get on with your life?

And yes, THAT is a tirade. I'm frustrated now, because you've misinterpreted what I said.

I do think you're a bad user, and I'm a human being, and have a right to express myself. I may be an administrator, but that doesn't mean I'm NOT allowed to have, and voice, a human opinion from time to time. But I don't consider what I said earlier to be rude. I can easily see how this statement can be interpreted as such, but guess what, rude does in fact happen.

I feel that you should actually try to contribute instead of consciously trying to find a way to work around the problem without acknowledging it.
« Last Edit: March 04, 2007, 08:43:50 PM by Llorean »
Logged

Offline madsic

  • Member
  • *
  • Posts: 110
    • Vi har pander!
Re: Possible to change default settings when building?
« Reply #13 on: March 04, 2007, 08:51:44 PM »
Quote from: Llorean on March 04, 2007, 08:42:02 PM
I never said you were pretending it wasn't there. I said you were trying to come up with ways to allow you to. There is a very literal difference in meaning in those two statements.

Here's what frustrates me, though, and why I said you should be doing something else:

People can either fix bugs, or avoid them. If they avoid them, more bugs will crop up, and not be fixed. You came here, and asked for a way to avoid a bug, without even bringing up the bug. Have you told the author of album art it causes freezes on boot? Have you done ANY effort to improve the patch, or are you just trying to avoid the freeze and get on with your life?

I see your point and I can understand why you would want to get to what you consider the root of the problem. However, I had given some thought to it. I have on several occasions reset my player by accident (not removing the hold switch) without having given it much thought. Now that it was happening with greater frequency, it came to the forefront so to speak. I had already a proposed solution to the root problem, i.e. try using daily builds as I believe is actually house rules (don't ask questions about custom builds). Yes, it's true, I hadn't got to the stage where I could state with some certainty that it was indeed the patch that was proving problematic. I don't want to start crying wolf untill I'm pretty sure there is one.

And I apologise for the 'tirade' which is probably unfounded after one post... :)
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: Possible to change default settings when building?
« Reply #14 on: March 04, 2007, 08:57:32 PM »
As a suggestion, use "Manage Settings" to save a .cfg file (or make a copy of your config.cfg named something else.)

Then you can click on the .cfg file, just like playing a song, and it'll load the settings in it.

While it's not the same as customizing the default settings, you can do that after accidentally clearing your settings to quickly and easily recover settings you like.
Logged

  • Print
Pages: [1] 2
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  Possible to change default settings when building?
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.087 seconds with 15 queries.