Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| timezone [2021/03/24 16:42] – Batocera 31 has a menu item for time zones. lbrpdx | timezone [2022/06/12 08:37] (current) – moved troubleshooting info here atari | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | =====Timezone===== | + | ====== Timezone |
| By default, Batocera is configured for Central European Time (CET) timezone. | By default, Batocera is configured for Central European Time (CET) timezone. | ||
| - | Starting with Batocera | + | In Batocera |
| - | From the same menu, you can also toggle the clock to 12-hour format if you want. | + | |
| - | + | ==== Older versions of Batocera ==== | |
| - | ====Older versions of Batocera==== | + | |
| To adapt to your local time zone, you need to edit ''/ | To adapt to your local time zone, you need to edit ''/ | ||
| system.timezone=America/ | system.timezone=America/ | ||
| - | + | To list all the group names of the available timezone, [[:access_the_batocera_via_ssh|from SSH/ | |
| - | To list all the suitable timezones and select yours, you can [[access_the_batocera_via_ssh|connect to your Batocera system]] and type: | + | |
| # ls / | # ls / | ||
| - | This command returns several directories (each one being a group of time zones). | + | This command returns several directories (each one being a group of time zones). |
| # ls / | # ls / | ||
| | | ||
| - | These instructions are still valid for Batocera | + | These instructions are still valid for Batocera |
| + | |||
| + | ===== Troubleshooting ===== | ||
| + | |||
| + | ==== Batocera keeps resetting my clock whenever I boot back into Windows! ==== | ||
| + | |||
| + | This is not actually Batocera, [[https:// | ||
| + | |||
| + | === Fix this in Windows manually === | ||
| + | |||
| + | The fix for this on Windows (summarized from the [[https:// | ||
| + | - Hit '' | ||
| + | - Make a backup by going to **File** -> **Export...** | ||
| + | - Navigate to '' | ||
| + | - Add a '' | ||
| + | For 64-bit versions of Windows 7 and older builds of Windows 10, there was a bug that made it necessary to have a '' | ||
| + | </ | ||
| + | - Yeehaw, you're done. Windows might ask to update the clock, let it do so | ||
| + | |||
| + | === Fix this in Windows automatically === | ||
| + | |||
| + | You can also just download and install/ | ||
| + | |||
| + | <file - UTCtimefix.reg> | ||
| + | Windows Registry Editor Version 5.00 | ||
| + | |||
| + | [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation] | ||
| + | " | ||
| + | |||
| + | </ | ||
| + | |||
| + | Just double-click the file, or go to Regedit' | ||
| + | |||
| + | === Changing Batocera to use Windows' | ||
| + | |||
| + | You can use a custom script in Batocera **v32** and up to tell it to use the local time just like Windows does instead. | ||
| + | |||
| + | Put the following file into ''/ | ||
| + | |||
| + | <file bash boot-custom.sh> | ||
| + | # | ||
| + | |||
| + | hwclock --systz --localtime | ||
| + | |||
| + | </ | ||
- timezone.1616604177.txt.gz
- Last modified: 5 years ago
- by lbrpdx