xprintidle-ng
is a utility that queries the X server for the user's idle time
and prints it in milliseconds (or with a custom format string).
Basically, type ./configure && make && sudo make install
to compile and
install the program. If you are compiling from the git repository, you must
run ./bootstrap
beforehand.
The following common executables must be available to build xprintidle-ng
:
cat
,sed
,tr
,grep
,mkdir
,find
git
,wget
,perl
,gzip
,sha1sum
bash
,gcc
,make
These executables are less common and are also required:
autoconf
,automake
,autopoint
,autoreconf
,autom4te
,libtoolize
pkg-config
,m4
,gettext
et al.help2man
,makeinfo
The following libraries must be available to run xprintidle-ng
:
libxss
(also known aslibXScrnSaver
or similar)libXext
libX11
Here is a short summary of packages required on various systems
System | Packages |
---|---|
Debian | libxss-dev |
Arch Linux | libxss |
Gentoo | x11-base/xorg-server |
NixOS | xlibs.libX11 , xlibs.libXScrnSaver , xlibs.libXext |
If you want to submit a translation for this project, here are the steps:
- Install all relevant dependencies
- Fork this repository on GitHub
git clone http://github.com/<USERNAME>/xprintidle-ng && cd xprintidle-ng
./bootstrap && ./configure && make
- The template file will be in
po/xprintidle-ng.pot
- Based on the template file, write your
po
file, e.g.:la.po
for Latin - Put
la.po
in thepo
folder in the repository git add po/la.po
git commit -a -m "Added Latin translation" && git push
- Open a pull request against this repository
You can also translate doc/xprintidle-ng.texi
; put these translations in an
appropriately named file, e.g.: doc/xprintidle-ng.la.texi
.
Languages translated so far:
- English