Reset to defaults option, per settings page?
Reset to defaults option, per settings page?
I have to say I love how T3/4's reuse the same buttons on each different menu or screen or configure page (context based). I think it's great.
Given how much config time and energy we can put into our configs and the option to backup helps but it could be great to be able to have a 'reset to defaults' option on each config page in the T3/4. This would mean if something wasn't working quite right at some point we could just reset the current config page rather than restore an old config backup or a more brutal factory reset.
For example resetting your GUI settings without wiping timers or button setting (menus under setup).
Is this something that others see as useful or is it do-able from a software dev angle?
Happy to hear thoughts on it.
Given how much config time and energy we can put into our configs and the option to backup helps but it could be great to be able to have a 'reset to defaults' option on each config page in the T3/4. This would mean if something wasn't working quite right at some point we could just reset the current config page rather than restore an old config backup or a more brutal factory reset.
For example resetting your GUI settings without wiping timers or button setting (menus under setup).
Is this something that others see as useful or is it do-able from a software dev angle?
Happy to hear thoughts on it.
Re: Reset to defaults option, per settings page?
Meh, too much work for little benefit.
The config is just a plain text file. Resetting a particular option to defaults is as simple as deleting that line from the config file.
The config is just a plain text file. Resetting a particular option to defaults is as simple as deleting that line from the config file.
Re: Reset to defaults option, per settings page?
On a related note, something that would be very useful is an option to report on all custom settings i.e. every instance of where a setting has been changed from its default value. I've been putting off updating my T3 to the latest firmware because I know I have to run from defaults instead of backing up and restoring.
I'm not talking about things like timers and obvious configs like skip times and pre/post pads. It's more the other settings lurking in various menus that I've changed and forgotten about. It would be so helpful to have a list of changes to defaults that I could refer to after the update.
I'm not talking about things like timers and obvious configs like skip times and pre/post pads. It's more the other settings lurking in various menus that I've changed and forgotten about. It would be so helpful to have a list of changes to defaults that I could refer to after the update.
Re: Reset to defaults option, per settings page?
The file /etc/enigma2/settings does contain all of the settings that are set to non-default values.
However I suspect that you are after something more user-friendly.
I am not sure that such a thing is practical just due to the sheer number of settings and the diverse locations where those settings are located in the user interface.
My advice is to not stress too much over getting everything *exactly* as it was before. Often, you can find that setting things up from scratch again gives you the option to try out other options. Once you are using the unit, it is fairly easy to spot anything that is different, and it is quite straightforward to just go and change stuff as you encounter it.
Admittedly, I have done it so many times now, that the process is just automatic for me and takes less than 20 minutes, but I like to start with setting up my Favourites bouquet, then customise the look of the EPG(s), and Channel List, then I just step through all the Setup menu screens and change stuff to suit. The final step is to set up network mounts and install any plugins that I use, and configure those. Once all that is done, it is just a matter of using the Wiz normally until you notice something is not quite right.
However I suspect that you are after something more user-friendly.
I am not sure that such a thing is practical just due to the sheer number of settings and the diverse locations where those settings are located in the user interface.
My advice is to not stress too much over getting everything *exactly* as it was before. Often, you can find that setting things up from scratch again gives you the option to try out other options. Once you are using the unit, it is fairly easy to spot anything that is different, and it is quite straightforward to just go and change stuff as you encounter it.
Admittedly, I have done it so many times now, that the process is just automatic for me and takes less than 20 minutes, but I like to start with setting up my Favourites bouquet, then customise the look of the EPG(s), and Channel List, then I just step through all the Setup menu screens and change stuff to suit. The final step is to set up network mounts and install any plugins that I use, and configure those. Once all that is done, it is just a matter of using the Wiz normally until you notice something is not quite right.
Logitech Harmony Ultimate+Elite RCs
Beyonwiz T2/3/U4/V2, DP-S1 PVRs
Denon AVR-X3400h, LG OLED65C7T TV
QNAP TS-410 NAS, Centos File Server (Hosted under KVM)
Ubiquiti UniFi Managed LAN/WLAN, Draytek Vigor130/Asus RT-AC86U Internet
Pixel 4,5&6, iPad 3 Mobile Devices
Beyonwiz T2/3/U4/V2, DP-S1 PVRs
Denon AVR-X3400h, LG OLED65C7T TV
QNAP TS-410 NAS, Centos File Server (Hosted under KVM)
Ubiquiti UniFi Managed LAN/WLAN, Draytek Vigor130/Asus RT-AC86U Internet
Pixel 4,5&6, iPad 3 Mobile Devices
Re: Reset to defaults option, per settings page?
Thanks for your thoughts MrQuade. I do it far less frequently than you so it seems a more daunting task. In any case, I'm going to bite the bullet because I have a weird issue with disk space reporting that I want to see if the latest firmware has any effect on.
There have been a few times I can recall where there was a config change that I found by researching issues in these forums - I just wish I recall what those changes were. As you say, however, starting fresh has benefits too and if the issues were significant enough then I will address them again.
There have been a few times I can recall where there was a config change that I found by researching issues in these forums - I just wish I recall what those changes were. As you say, however, starting fresh has benefits too and if the issues were significant enough then I will address them again.
-
- Wizard God
- Posts: 32704
- Joined: Tue Sep 04, 2007 13:49
- Location: Canberra; Black Mountain Tower transmitters
Re: Reset to defaults option, per settings page?
The config system can readily detect whether a config setting is at its default or not (only non-default settings are written to /etc/enigma2/settings.
A lot of config setting screens are configured through /usr/share/enigma2/setup.xml. That would allow the screens, setting screen names and screen settings values to be displayed for all non-default settings made in screens described in setup.xml.
But:
A lot of config setting screens are configured through /usr/share/enigma2/setup.xml. That would allow the screens, setting screen names and screen settings values to be displayed for all non-default settings made in screens described in setup.xml.
But:
- There are a fair number of config setting screens whose configuration is directly in code, and not through setup.xml.
- There are a fair number of settings that don't use the config system at all (network name, login password, all the network sharing screens, etc).
- There's nothing in the current code that would do even the part of this that's relatively easy to do
Peter
T4 HDMI
U4, T4, T3, T2, V2 test/development machines
Sony BDV-9200W HT system
LG OLED55C9PTA 55" OLED TV
T4 HDMI
U4, T4, T3, T2, V2 test/development machines
Sony BDV-9200W HT system
LG OLED55C9PTA 55" OLED TV
-
- Wizard God
- Posts: 32704
- Joined: Tue Sep 04, 2007 13:49
- Location: Canberra; Black Mountain Tower transmitters
Re: Reset to defaults option, per settings page?
From a quick review of your post history, I can't see anything that gives any details of the issue. My guess is that the new firmware would have no effect on the problem, but its hard to be sure without more information about what the "weird issue with disk space reporting" is (in a separate topic, please!).
Peter
T4 HDMI
U4, T4, T3, T2, V2 test/development machines
Sony BDV-9200W HT system
LG OLED55C9PTA 55" OLED TV
T4 HDMI
U4, T4, T3, T2, V2 test/development machines
Sony BDV-9200W HT system
LG OLED55C9PTA 55" OLED TV
Re: Reset to defaults option, per settings page?
Thanks for that info, Peter. I will do a backup and pull the tar off the box before I update. That way I will have the files in case I want to refer to them but I think the best course is simply to run the defaults after changing the obvious stuff and trust that if I will find and change anything else in the course of normal use.
If the "weird issue" persists I will post about it.
If the "weird issue" persists I will post about it.
-
- Uber Wizard
- Posts: 6490
- Joined: Thu Mar 05, 2009 22:54
- Location: Perth
Re: Reset to defaults option, per settings page?
mrcell wrote: ↑Sat Aug 19, 2017 14:39Thanks for that info, Peter. I will do a backup and pull the tar off the box before I update. That way I will have the files in case I want to refer to them but I think the best course is simply to run the defaults after changing the obvious stuff and trust that if I will find and change anything else in the course of normal use.
I print the "settings" file and use that as a base. You don't need to get at it from a backup - see viewtopic.php?f=50&t=11393#p155720
-
- Wizard God
- Posts: 32704
- Joined: Tue Sep 04, 2007 13:49
- Location: Canberra; Black Mountain Tower transmitters
Re: Reset to defaults option, per settings page?
Grumpy_Geoff wrote: ↑Sat Aug 19, 2017 14:48... I print the "settings" file and use that as a base. ...
That's what I do, too. Some of the settings can be a bit difficult to interpret from the settings file, though.
Peter
T4 HDMI
U4, T4, T3, T2, V2 test/development machines
Sony BDV-9200W HT system
LG OLED55C9PTA 55" OLED TV
T4 HDMI
U4, T4, T3, T2, V2 test/development machines
Sony BDV-9200W HT system
LG OLED55C9PTA 55" OLED TV
-
- Uber Wizard
- Posts: 6490
- Joined: Thu Mar 05, 2009 22:54
- Location: Perth
Re: Reset to defaults option, per settings page?
prl wrote: ↑Sat Aug 19, 2017 14:52Grumpy_Geoff wrote: ↑Sat Aug 19, 2017 14:48... I print the "settings" file and use that as a base. ...
That's what I do, too. Some of the settings can be a bit difficult to interpret from the settings file, though.
Agreed. You'd likely know the names better than I too
Re: Reset to defaults option, per settings page?
Hi,
NOTE: This is not a task for novice users who don't know how to get themselves out of trouble. Mistakes can make the box fail to boot! You have been warned.
Regards,
Ian.
I just diff the old and new settings files and copy over any old settings that don't conflict with new settings. I also omit any settings that have been noted as being changed. So far so good and there have been no issues and my settings are quickly recovered.prl wrote: ↑Sat Aug 19, 2017 14:52That's what I do, too. Some of the settings can be a bit difficult to interpret from the settings file, though.Grumpy_Geoff wrote: ↑Sat Aug 19, 2017 14:48... I print the "settings" file and use that as a base. ...
NOTE: This is not a task for novice users who don't know how to get themselves out of trouble. Mistakes can make the box fail to boot! You have been warned.
Regards,
Ian.
Last edited by IanSav on Sat Aug 19, 2017 15:07, edited 1 time in total.
-
- Wizard God
- Posts: 32704
- Joined: Tue Sep 04, 2007 13:49
- Location: Canberra; Black Mountain Tower transmitters
Re: Reset to defaults option, per settings page?
Grumpy_Geoff wrote: ↑Sat Aug 19, 2017 15:02prl wrote: ↑Sat Aug 19, 2017 14:52Grumpy_Geoff wrote: ↑Sat Aug 19, 2017 14:48... I print the "settings" file and use that as a base. ...
That's what I do, too. Some of the settings can be a bit difficult to interpret from the settings file, though.
Agreed. You'd likely know the names better than I too
The settings values encodings aren't the most obvious sometimes, too (like the values for the media selection screen sort order)
Peter
T4 HDMI
U4, T4, T3, T2, V2 test/development machines
Sony BDV-9200W HT system
LG OLED55C9PTA 55" OLED TV
T4 HDMI
U4, T4, T3, T2, V2 test/development machines
Sony BDV-9200W HT system
LG OLED55C9PTA 55" OLED TV
Re: Reset to defaults option, per settings page?
All done, I had grabbed the settings file beforehand in case I needed it but I just worked through the menus manually and changed what I wanted. It wasn't anywhere near the hassle I thought it would be. While I didn't quite match MrQuade's 20 minutes it didn't take me too much longer all up. BTW - "weird issue" got sorted as an added bonus
Thanks all for your tips.
Thanks all for your tips.