RubyGems' page: gtk2diet
Install (might need root privilege, sudo) and run...
Label Calories Fat Protein Vit. A Vit. C Calcium Iron
PBJ 490 170 16 0 0 4 20
If you only care about calories, just set calories and ignore the rest.
When you add an item, a row with that item gets inserted below with a button labeled with the time the item was added. If you make a mistake, the row can be deleted my pressing this button and confirming that you want the row deleted.
On the TOTALS row, the nutritional values of each item added is tallied up. This helps you manage your calorie intake as your day progresses and will help you spot deficiency in some nutrient.
At the end of the day, or ready to enter a new days entries, select clear from the application main menu, and the entry rows will clear. The application menu on desktop mode appears on right mouse click most anywhere on the application window.
When you start the application for the very first time, you should set values that makes the most sense for your case. Enter your weight via the SpinButtons, and click the Append Daily Weight button.
Select Weights from the main application menu to view and edit your weight log.
Set your target (or maintenance) weight on the Entry box labeled Target Weight:. The very first target calories shown is based on the last weight entered (should be today's weight). The next six values shown assume six equally sized meals and sets target sums through the day. These stages use the MMA to estimate the days target calories. MMA is a more precise measure (by law of averages), but lags behind if you're loosing (or gaining) weight.
Click the Calculate Target Calories button to view an estimate of your target calories for the day.
Crash: calories is the minimum number calories you demand (1500 is about as low as most adult males should go). The number next to that is the amount above the target weight when we should enter into crash amount.
Base: calories is an estimate of your calorie needs at your target weight. This depends also on your activity level.
Bump: calories is the amount of calories you want to bump up to if your weight falls some amount (the next number shown) below your target weight.
You don't have to get these values exactly right, and the default should work... your target weight just won't be the actual equilibrium point.
There's a configuration file for the application. See:
~/.gtk2diet-0/appconfig-?.rbYou might want to set STAGES to something other than 5.