Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 12 additions & 9 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,17 +1,20 @@
BSD 2-Clause License
BSD 3-Clause License

Copyright (c) 2018, GhostBSD
All rights reserved.
Copyright (c) 2025, GhostBSD Project

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

* Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.

* Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.

3. Neither the name of the copyright holder nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
Expand All @@ -22,4 +25,4 @@ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
74 changes: 72 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,72 @@
# gbsetup
GhostBSD setup at the first boot.
# Setup Station

Setup Station does the initial setup of GhostBSD. The goal is to evolve Setup Station to slowly replace MATE Configuration Tool and Station Tweak, providing a unified configuration experience.

## Overview

Setup Station is a GTK3-based Python application that runs automatically after GhostBSD installation to guide users through essential system configuration:

- System language and locale
- Keyboard layout and variant
- Timezone
- Network settings (WiFi/Ethernet)
- Admin user account creation

After completing the setup, the system automatically starts the LightDM login screen.

## Installation

```bash
python setup.py install
```

## Running Setup Station

```bash
sudo setup-station-init
```

## Managing Translations

Setup Station uses GNU gettext for internationalization.

### Creating a new translation

```bash
./setup.py create_translation --locale=<language_code>
```

Example for French (France):
```bash
./setup.py create_translation --locale=fr_FR
```

### Updating existing translations

After modifying source code with new or changed translatable strings:

```bash
./setup.py update_translations
```

### Building translations

```bash
./setup.py build_i18n
```

## Contributing

Interested in contributing to Setup Station or other GhostBSD tools?

- Join our Telegram channel: https://t.me/ghostbsd_dev
- Discuss on GitHub: https://github.com/orgs/ghostbsd/discussions/categories/tools-and-softwares

## License

BSD 3-Clause License

## Links

- GitHub: https://github.com/GhostBSD/setup-station/
- GhostBSD: https://www.ghostbsd.org/
60 changes: 38 additions & 22 deletions po/ar_SA.po
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-11-27 13:23-0400\n"
"POT-Creation-Date: 2025-12-13 15:41-0400\n"
"PO-Revision-Date: 2025-11-25 08:34-0400\n"
"Last-Translator: Eric Turgeon <EMAIL@ADDRESS>\n"
"Language-Team: Arabic <(nothing)>\n"
Expand All @@ -20,11 +20,11 @@ msgstr ""
msgid "The initial root password will be set to the admin user password."
msgstr ""

#: setup_station/add_admin.py:214 setup_station/common.py:99
#: setup_station/add_admin.py:214 setup_station/common.py:119
msgid "Password not allowed"
msgstr ""

#: setup_station/add_admin.py:214 setup_station/common.py:101
#: setup_station/add_admin.py:214 setup_station/common.py:121
msgid "Space not allowed"
msgstr ""

Expand Down Expand Up @@ -64,30 +64,30 @@ msgstr ""
msgid "Hostname"
msgstr ""

#: setup_station/common.py:118
#: setup_station/common.py:138
msgid "Very Weak"
msgstr ""

#: setup_station/common.py:119 setup_station/common.py:122
#: setup_station/common.py:139 setup_station/common.py:142
msgid "Fairly Weak"
msgstr ""

#: setup_station/common.py:120 setup_station/common.py:123
#: setup_station/common.py:126
#: setup_station/common.py:140 setup_station/common.py:143
#: setup_station/common.py:146
msgid "Weak"
msgstr ""

#: setup_station/common.py:121 setup_station/common.py:124
#: setup_station/common.py:127 setup_station/common.py:130
#: setup_station/common.py:141 setup_station/common.py:144
#: setup_station/common.py:147 setup_station/common.py:150
msgid "Strong"
msgstr ""

#: setup_station/common.py:125 setup_station/common.py:128
#: setup_station/common.py:131
#: setup_station/common.py:145 setup_station/common.py:148
#: setup_station/common.py:151
msgid "Fairly Strong"
msgstr ""

#: setup_station/common.py:129 setup_station/common.py:132
#: setup_station/common.py:149 setup_station/common.py:152
msgid "Very Strong"
msgstr ""

Expand Down Expand Up @@ -210,36 +210,52 @@ msgstr ""
msgid "Show password"
msgstr ""

#: setup_station/setup_system.py:39
#: setup_station/setup_system.py:47
msgid "Setting system language"
msgstr ""

#: setup_station/setup_system.py:43
#: setup_station/setup_system.py:52
msgid "Setting keyboard layout"
msgstr ""

#: setup_station/setup_system.py:47
#: setup_station/setup_system.py:57
msgid "Setting timezone"
msgstr ""

#: setup_station/setup_system.py:51
#: setup_station/setup_system.py:62
msgid "Creating admin user"
msgstr ""

#: setup_station/setup_system.py:55
#: setup_station/setup_system.py:67
msgid "Enabling display manager"
msgstr ""

#: setup_station/setup_system.py:72
msgid "Removing system setup autologin"
msgstr ""

#: setup_station/setup_system.py:77
msgid "Setup complete!"
msgstr ""

#: setup_station/setup_system.py:64
#: setup_station/setup_system.py:83
msgid "Configuration complete."
msgstr ""

#: setup_station/setup_system.py:85
msgid "Starting the login screen..."
msgstr ""

#: setup_station/setup_system.py:104
msgid "Getting everything ready"
msgstr ""

#: setup_station/setup_system.py:76
msgid "This should not take too long."
#: setup_station/setup_system.py:116
msgid "Setting up your system."
msgstr ""

#: setup_station/setup_system.py:78
msgid "Don't turn your system off."
#: setup_station/setup_system.py:118
msgid "Please do not turn off your computer."
msgstr ""

#: setup_station/timezone.py:57
Expand Down
60 changes: 38 additions & 22 deletions po/bg_BG.po
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-11-27 13:23-0400\n"
"POT-Creation-Date: 2025-12-13 15:41-0400\n"
"PO-Revision-Date: 2025-11-25 08:34-0400\n"
"Last-Translator: Eric Turgeon <EMAIL@ADDRESS>\n"
"Language-Team: Bulgarian <dict@ludost.net>\n"
Expand All @@ -21,11 +21,11 @@ msgstr ""
msgid "The initial root password will be set to the admin user password."
msgstr ""

#: setup_station/add_admin.py:214 setup_station/common.py:99
#: setup_station/add_admin.py:214 setup_station/common.py:119
msgid "Password not allowed"
msgstr ""

#: setup_station/add_admin.py:214 setup_station/common.py:101
#: setup_station/add_admin.py:214 setup_station/common.py:121
msgid "Space not allowed"
msgstr ""

Expand Down Expand Up @@ -65,30 +65,30 @@ msgstr ""
msgid "Hostname"
msgstr ""

#: setup_station/common.py:118
#: setup_station/common.py:138
msgid "Very Weak"
msgstr ""

#: setup_station/common.py:119 setup_station/common.py:122
#: setup_station/common.py:139 setup_station/common.py:142
msgid "Fairly Weak"
msgstr ""

#: setup_station/common.py:120 setup_station/common.py:123
#: setup_station/common.py:126
#: setup_station/common.py:140 setup_station/common.py:143
#: setup_station/common.py:146
msgid "Weak"
msgstr ""

#: setup_station/common.py:121 setup_station/common.py:124
#: setup_station/common.py:127 setup_station/common.py:130
#: setup_station/common.py:141 setup_station/common.py:144
#: setup_station/common.py:147 setup_station/common.py:150
msgid "Strong"
msgstr ""

#: setup_station/common.py:125 setup_station/common.py:128
#: setup_station/common.py:131
#: setup_station/common.py:145 setup_station/common.py:148
#: setup_station/common.py:151
msgid "Fairly Strong"
msgstr ""

#: setup_station/common.py:129 setup_station/common.py:132
#: setup_station/common.py:149 setup_station/common.py:152
msgid "Very Strong"
msgstr ""

Expand Down Expand Up @@ -211,36 +211,52 @@ msgstr ""
msgid "Show password"
msgstr ""

#: setup_station/setup_system.py:39
#: setup_station/setup_system.py:47
msgid "Setting system language"
msgstr ""

#: setup_station/setup_system.py:43
#: setup_station/setup_system.py:52
msgid "Setting keyboard layout"
msgstr ""

#: setup_station/setup_system.py:47
#: setup_station/setup_system.py:57
msgid "Setting timezone"
msgstr ""

#: setup_station/setup_system.py:51
#: setup_station/setup_system.py:62
msgid "Creating admin user"
msgstr ""

#: setup_station/setup_system.py:55
#: setup_station/setup_system.py:67
msgid "Enabling display manager"
msgstr ""

#: setup_station/setup_system.py:72
msgid "Removing system setup autologin"
msgstr ""

#: setup_station/setup_system.py:77
msgid "Setup complete!"
msgstr ""

#: setup_station/setup_system.py:64
#: setup_station/setup_system.py:83
msgid "Configuration complete."
msgstr ""

#: setup_station/setup_system.py:85
msgid "Starting the login screen..."
msgstr ""

#: setup_station/setup_system.py:104
msgid "Getting everything ready"
msgstr ""

#: setup_station/setup_system.py:76
msgid "This should not take too long."
#: setup_station/setup_system.py:116
msgid "Setting up your system."
msgstr ""

#: setup_station/setup_system.py:78
msgid "Don't turn your system off."
#: setup_station/setup_system.py:118
msgid "Please do not turn off your computer."
msgstr ""

#: setup_station/timezone.py:57
Expand Down
Loading