File: FAQ.html

package info (click to toggle)
gtimer 2.0.0-1.2
  • links: PTS
  • area: main
  • in suites: bullseye, buster, jessie, jessie-kfreebsd, sid, stretch
  • size: 1,380 kB
  • ctags: 849
  • sloc: ansic: 8,122; sh: 821; perl: 651; makefile: 86
file content (88 lines) | stat: -rw-r--r-- 3,707 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
<HTML>
<HEAD>
<TITLE>GTimer FAQ</TITLE>
<META NAME="keywords" VALUE="GTimer, Application Timer, Linux, GTK, FAQ">
<META NAME="abstract" VALUE="FAQ for GTimer (a GTK-based UNIX/X-Windows application that keeps track of time spent on different tasks)">
<META NAME="author" VALUE="Craig Knudsen, craig@k5n.us">
</HEAD>
<BODY BGCOLOR="#FFFFFF">
<FONT FACE="Arial, Helvetica">
<H2>GTimer FAQ</H2>

<UL>
<LI><A HREF="#gtk">What versions of GTK+ will GTimer compile with?</A></LI>
<LI><A HREF="#binaries">Can I get a pre-compiled binary?</A></LI>
<LI><A HREF="#splash">Can I get rid of the splash screen?</A></LI>
<LI><A HREF="#idle">Can I adjust the idle time?</A></LI>
<LI><A HREF="#db">Can GTimer connect to a database?</A></LI>
<LI><A HREF="#i18n">How do I get GTimer to work in French/Spanish/Your-Language-Here?</A></LI>
</UL>

<HR/><H3><A NAME="gtk">What versions of GTK+ will GTimer compile with?</A></H3>
<BLOCKQUOTE>
GTimer should compile with the latest versions of GTK+ 2.X.
It may also compile with older versions, but it's always
recommended you get the latest version.
</BLOCKQUOTE>

<HR/><H3><A NAME="binaries">Can I get a pre-compiled binary?</A></H3>
<BLOCKQUOTE>
I don't provide binaries but you can check with other sites
(such as "<A HREF="ftp://ftp.freshmeat.net/pub/rpms/gtimer/">freshmeat.net</A>)
for binaries (but beware: they may be older version of GTimer).
</BLOCKQUOTE>

<HR/><H3><A NAME="splash">Can I get rid of the splash screen?</A></H3>
<BLOCKQUOTE>
Use the <TT>-nosplash</TT> option to not display the splash screen.
</BLOCKQUOTE>

<HR/><H3><A NAME="idle">Can I adjust the idle time?</A></H3>
<BLOCKQUOTE>
There is no UI for this yet, but you can <B>carefully</B> edit
the ~/.gtimer/.gtimerrc file and edit the line that follows idle.
(It's the idle threshold in seconds.)
</BLOCKQUOTE>

<HR/><H3><A NAME="db">Can GTimer connect to a database?</A></H3>
<BLOCKQUOTE>
GTimer currently has no way of directly communicating with
a database.  But, you can use the exportSQL.pl Perl script to
convert GTimer data into SQL.  Look in the contrib directory
for exportSQL.pl and other tools.
</BLOCKQUOTE>

<HR/><H3><A NAME="i18n">How do I get GTimer to work in French/Spanish/Your-Language-Here?</A></H3>
<BLOCKQUOTE>
GTimer has internationaliztion (I18N) support.  You must have the
GNU gettext distribution installed.
You will need to translate the provided messages.po to whatever
language you want.  Here's an example for French:
<OL>
<LI>Either start with messages.po (or create your own with "xgettext *.c")</LI>
<LI>Copy messages.po to the new locale (Example: "cp messages.po fr.po")</LI>
<LI>Now edit the new .po file and replace the msgstr lines with
    the proper translated text.</LI>
<LI>Now use <TT>msgfmt</TT> to build the .mo file from your .po file.
    (Example: "msgfmt fr.po -ogtimer.mo")</LI>
<LI>Make sure your LANG environment variable is set to the proper locale.</LI>
<LI>Copy the gtimer.mo file to the proper location.  I'm not if this
    is the same place all on system.  On my system, the French gtimer.po
    needs to be:<BR/>&nbsp;&nbsp;<TT>/usr/share/locale/fr/LC_MESSAGES/gtimer.mo</TT><BR/>
    If you're not sure where it's looking, on Linux try using strace to
    see where it's looking:<BR/>
    &nbsp;&nbsp;<TT>strace gtimer |& grep LC_MESSAGES</TT><BR/></LI>
<LI><B>Email me the translation file!</B>  I'll add it to the distribution
    for others to use.</LI>
</OL>
</BLOCKQUOTE>

<HR/>
<ADDRESS>
<B>Home Page:</B> <A HREF="http://www.k5n.us/gtimer.php">http://www.k5n.us/gtimer.php</A><BR/>
<B>Author:</B> <A HREF="http://www.k5n.us/">Craig Knudsen</A>,
  <A HREF="mailto:craig@k5n.us">craig@k5n.us</A><BR/>
</ADDRESS>
</FONT>
</BODY>
</HTML>