⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ch68.htm

📁 linux-unix130.linux.and.unix.ebooks130 linux and unix ebookslinuxLearning Linux - Collection of 12 E
💻 HTM
📖 第 1 页 / 共 2 页
字号:


<META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">
<SCRIPT>
<!--
function displayWindow(url, width, height) {
        var Win = window.open(url,"displayWindow",'width=' + width +
',height=' + height + ',resizable=1,scrollbars=yes');
}
//-->
</SCRIPT>
</HEAD>

 -->












<font face="Arial,Helvetica" size="-1" color="#006666">

<b>Linux</b></font><p>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">











 

















<H1></H1>







<UL>



	<LI><A HREF="#Heading1">- 68 -</A>



	<UL>



		<LI><A HREF="#Heading2">Useful Personal Tools in Linux</A>



		<UL>



			<LI><A HREF="#Heading3">The Time Tracker</A>



			<UL>



				<LI><A HREF="#Heading4">FIGURE 68.1.</A>



				<LI><A HREF="#Heading5">FIGURE 68.2.</A>



				<LI><A HREF="#Heading6">FIGURE 68.3.</A>



			</UL>



			<LI><A HREF="#Heading7">Yellow Sticky Notes</A>



			<UL>



				<LI><A HREF="#Heading8">FIGURE 68.4.</A>



				<LI><A HREF="#Heading9">FIGURE 68.5.</A>



				<LI><A HREF="#Heading10">FIGURE 68.6.</A>



				<LI><A HREF="#Heading11">FIGURE 68.7.</A>



			</UL>



			<LI><A HREF="#Heading12">CBB</A>



			<UL>



				<LI><A HREF="#Heading13">FIGURE 68.8.</A>



				<LI><A HREF="#Heading14">FIGURE 68.9.</A>



				<LI><A HREF="#Heading15">FIGURE 68.10.</A>



				<LI><A HREF="#Heading16">FIGURE 68.11.</A>



				<LI><A HREF="#Heading17">FIGURE 68.12.</A>



				<LI><A HREF="#Heading18">FIGURE 68.13.</A>



			</UL>



			<LI><A HREF="#Heading19">Xinvest for an Investments List Manager</A>



			<UL>



				<LI><A HREF="#Heading20">FIGURE 68.14.</A>



			</UL>



			<LI><A HREF="#Heading21">TIP</A>



			<LI><A HREF="#Heading22">Listing 68.1. The sample data file stock.dat in Xinvest.</A>



			<UL>



				<LI><A HREF="#Heading23">FIGURE 68.15.</A>



				<LI><A HREF="#Heading24">FIGURE 68.16.</A>



				<LI><A HREF="#Heading25">FIGURE 68.17.</A>



			</UL>



			<LI><A HREF="#Heading26">Additional Tools</A>



			<UL>



				<LI><A HREF="#Heading27">Xvdtbl</A>



				<LI><A HREF="#Heading28">XDiary</A>



				<LI><A HREF="#Heading29">Yrolo</A>



			</UL>



			<LI><A HREF="#Heading30">Summary</A>



		</UL>



	</UL>



</UL>







<P>



<HR SIZE="4">







<H2 ALIGN="CENTER"><A NAME="Heading1<FONT COLOR="#000077">- 68 -</FONT></H2>



<H2 ALIGN="CENTER"><A NAME="Heading2<FONT COLOR="#000077">Useful Personal Tools



in Linux</FONT></H2>



<P><I>by Kamran Husain</I></P>



<P>IN THIS CHAPTER</P>







<UL>



	<LI>The Time Tracker



	<P>



	<LI>Yellow Sticky Notes



	<P>



	<LI>CBB



	<P>



	<LI>Xinvest for an Investments List Manager



	<P>



	<LI>Additional Tools



</UL>







<P><BR>



This chapter will introduce you to the most useful tools under Linux and X Windows.



These tools will help you to manage your time and money effectively while using Linux.



The programs discussed in this chapter are freely available on the Internet, just



as Linux is. Of course, when it comes to managing money, it's important to remember



that none of these programs gives you any warranty of any sort. You must assume all



risk when you use the software.</P>



<P>Linux provides great tools for doing UNIX clone programming. I have been very



impressed by Linux, and I use it a lot. When Linux first came out, however, it lacked



a lot of the personal software I relied on heavily to carry out my daily tasks. For



example, it had no checkbook management software and nothing to track my time with.



Now all that has changed. I don't boot into DOS to track the daily events and hours



spent on projects when I need to; I use titrax instead. The CBB program is not yet



mature enough to beat Quicken (from Intuit), but it's powerful enough to read Quicken



files if I need to look up something without booting into DOS.</P>



<P>This chapter will introduce you to the available programs. These are the programs



presented in this chapter:







<UL>



	<LI>The Time Tracker, for tracking your time while you are working on the computer



	<P>



	<LI>XPostit, for putting up yellow sticky notes



	<P>



	<LI>CBB, for balancing your checkbook



	<P>



	<LI>Xinvest, for tracking your investments



</UL>







<P>Let's get started.



<H3 ALIGN="CENTER"><A NAME="Heading3<FONT COLOR="#000077">The Time Tracker</FONT></H3>



<P>The Time Tracker is a great utility for tracking your time, especially if you



are working on more than one project at a time. The program is available from the



FTP site at <TT>ftp.x.org</TT> in the <TT>/contrib/office</TT> subdirectory. The



program comes with all the source code and can be installed and built quite painlessly



on Linux. The latest version of the file was named <TT>titrax-1.98.tar.gz</TT> at



the time of writing.</P>



<P>Unzip and untar the file in a readable directory with this command:</P>



<PRE><FONT COLOR="#0066FF">$ gzip -dc titrax-1.98.tar.gz | tar -xvf -



</FONT></PRE>



<P>Then edit the Imakefile to set it for use with Linux. Take these steps:







<DL>



	<DD><B>1. </B>Change the value of the <TT>NONXBINDIR</TT> variable to the location



	where Perl is stored on your machine. This variable's value should be set to <TT>/usr/bin</TT>



	or <TT>/usr/local/bin</TT>, depending on where Perl is executed.<BR>



	<B><BR>



	2.</B> Uncomment the line with the following preprocessor directive:



</DL>







<PRE><FONT COLOR="#0066FF">-DDO_NOT_TELL_ABOUT_ME



</FONT></PRE>







<DL>



	<DD>If you do not uncomment this line, the titrax executable attempts to ping the



	author's machine. This tells him you are using the software! It's up to you to comment



	or uncomment this line. With my connection to the Internet, I chose to uncomment



	this line and not add to the already-burdened traffic on our local network.



</DL>







<P>After the program is up and running, you can run <TT>make</TT> <TT>install</TT>



to install it permanently on your machine. If you like, you can run it in the directory



you just made, to get a feel for the program. The initial window that is displayed



when the program is started can be resized. A resized version is shown in Figure



68.1. Three projects are listed here that I happen to be working on: Sockets, ActiveX,



and Linux 3. When I start working on a particular project, I simply click on the



line and select the name of the project. The timer then updates the value of time



for that project.<BR>



<BR>



<A NAME="Heading4<A HREF="../art/68/68lnx01.jpg"><FONT COLOR="#000077">FIGURE



68.1.</FONT></A><FONT COLOR="#000077"> </FONT><I>Using the titrax program. </I><BR>



<BR>



Adding a project is easy. Click the Add button to bring up a new dialog box, as shown



in Figure 68.2. Try clicking the Edit button to edit the time and headings for a



project, as shown in Figure 68.3.<BR>



<BR>



<A NAME="Heading5<A HREF="../art/68/68lnx02.jpg"><FONT COLOR="#000077">FIGURE



68.2.</FONT></A><FONT COLOR="#000077"> </FONT><I>Adding a project.</I><BR>



<BR>



<A NAME="Heading6<A HREF="../art/68/68lnx03.jpg"><FONT COLOR="#000077">FIGURE



68.3.</FONT></A><FONT COLOR="#000077"> </FONT><I>Editing a project. </I><BR>



<BR>



The titrax program is a simple but very handy tool for managing your time. It works



only in interactive mode and does not generate reports. So even though it does not



have the fancy features of a full-blown time manager, it can still serve adequately



for personal use.



<H3 ALIGN="CENTER"><A NAME="Heading7<FONT COLOR="#000077">Yellow Sticky Notes</FONT></H3>



<P>The term &quot;Post-it&quot; is a trademark of 3M Corporation, and the authors



of the XPostit program and 3M Corporation do not necessarily have any relationship



with each other. The XPostit program allows you to clutter your desktop with facsimiles



of those lovable yellow sticky notes as reminders. The <TT>xpostit+</TT> binary program



is the executable application for this package. The package was written by David



Curry.</P>



<P>You can get the source for xpostit+, <TT>XPostitPlug-2.3.tar.gz</TT>, from <TT>ftp.x.org</TT>



in the <TT>contrib/office</TT> subdirectory. After you unzip and untar the distribution



file, you will have a new directory called <TT>XPostitPlus-2.3</TT>. Go to this directory



and run the following commands:</P>



<PRE><FONT COLOR="#0066FF">$ xmkmf



$ make



</FONT></PRE>



<P>After the make file completes, you will have a binary file called <TT>xpostit+</TT>



in your directory. Run this file in the background as</P>



<PRE><FONT COLOR="#0066FF">$ xpostit+ &amp;



</FONT></PRE>



<P>You then see a screen like the one shown in Figure 68.4. Press the right button



on the plaid background, and you are presented with a list of options. Select to



create the 1.5x2 note. You are presented with a window with a yellow background.



Type in the yellow area, and you have a yellow sticky note on your window manager,



as shown in Figure 68.5.



<H6></H6>



<P><A NAME="Heading8<A HREF="../art/68/68lnx04.jpg"><FONT COLOR="#000077">FIGURE



⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -