Prerequisites
- Requirements: Python + GTK3 / GTK4 + PyGObject.
- Preconfigured to be run by PolicyKit.
- Uses Gettext for internationalization.
- Download GSettings source archives and packages.
Try without installing
Download and extract the source archive, then from the project’s root folder:
- run the Python script from source directory (GUI won’t be translated):
python3 gsettings-accounts.py- displays the user edition window- or
./gsettings-datetime.py
- root permissions are required to configure the system:
sudo ./gsettings-accounts.py- displays the user and groups management window- or
sudo ./gsettings-datetime.py
Install
Download and extract the source archive, then from the project’s root folder:
- run:
sudo make install - or something like:
make install [PREFIX=/usr] [DESTDIR=$(pwd)/pack] - to disable PolicyKit, use:
[sudo] make install ... POLKIT=0 - to enable GTK4 (defaults to GTK3):
[sudo] make install ... GTKVER=4 - other parameters:
DOCDIR=/usr/doc(defaults to$PREFIX/usr/share/doc),BINDIR=/usr/sbin(defaults to$PREFIX/bin)
To uninstall, run: sudo make uninstall [PREFIX=/usr].
Translate
To translate this software into your language, from the project’s po directory:
- Setup env:
LNG=$(echo $LANG | cut -f1 -d_), orLNG=es,LNG=it, …PRJ=$(pwd | rev | cut -f2 -d/ | cut -f2- -d- | rev), orPRJ=gsettings-datetime,PRJ=gsettings-accounts
- Run:
msginit -l $LANG. - Edit the
$LNG.pofile. - Test the translation:
msgfmt -o /usr[/local]/share/locale/$LNG/LC_MESSAGES/$PRJ.mo $LNG.po. - Send me your translation.