author | spiralman <spiralman> | 2002-07-28 04:34:22 (UTC) |
---|---|---|
committer | spiralman <spiralman> | 2002-07-28 04:34:22 (UTC) |
commit | 70d4145745facd09297681df171d9d7df9a78220 (patch) (unidiff) | |
tree | 87aa9a5bb1ef083ec06793ba2f995c5707ec4a66 /docs | |
parent | cd7e7185f91c1d9f54c3c4b26e60f54ad3686030 (diff) | |
download | opie-70d4145745facd09297681df171d9d7df9a78220.zip opie-70d4145745facd09297681df171d9d7df9a78220.tar.gz opie-70d4145745facd09297681df171d9d7df9a78220.tar.bz2 |
Added rest of written manual. Still lots of minor things to fix, but its all in there at least. Also, removed the document declaration to work on all systems.
-rw-r--r-- | docs/usermanual/usermanual.sgm | 217 |
1 files changed, 216 insertions, 1 deletions
diff --git a/docs/usermanual/usermanual.sgm b/docs/usermanual/usermanual.sgm index 1fe8c52..44cf7de 100644 --- a/docs/usermanual/usermanual.sgm +++ b/docs/usermanual/usermanual.sgm | |||
@@ -1,129 +1,129 @@ | |||
1 | <!DOCTYPE book SYSTEM "/usr/local/sgml/4.2sgml/docbook.dtd"> | 1 | <!DOCTYPE book PUBLIC "-OASIS//DTD DocBook V4.2//EN"> |
2 | <book><title>Opie User Manual</title> | 2 | <book><title>Opie User Manual</title> |
3 | <part><title>Getting Started</title> | 3 | <part><title>Getting Started</title> |
4 | <chapter><title>What is Opie?</title> | 4 | <chapter><title>What is Opie?</title> |
5 | <para> | 5 | <para> |
6 | Opie is a GUI (Graphical User Interface) for the Linux operating system (and | 6 | Opie is a GUI (Graphical User Interface) for the Linux operating system (and |
7 | might work on other OSes as well). It was originally designed for handheld | 7 | might work on other OSes as well). It was originally designed for handheld |
8 | computers (such as the Compaq/HP iPAQ and the Sharp Zaurus), but which could | 8 | computers (such as the Compaq/HP iPAQ and the Sharp Zaurus), but which could |
9 | probably function well in other environments requiring a light GUI, such as an | 9 | probably function well in other environments requiring a light GUI, such as an |
10 | old laptop, or an internet kiosk. It is bassed upon QT/Embedded from Trolltech, | 10 | old laptop, or an internet kiosk. It is bassed upon QT/Embedded from Trolltech, |
11 | which is in turn a graphical environment designed for embedded applications, | 11 | which is in turn a graphical environment designed for embedded applications, |
12 | based upon the QT toolkit. | 12 | based upon the QT toolkit. |
13 | </para> | 13 | </para> |
14 | <para> | 14 | <para> |
15 | Opie has been designed for devices with small screens, and a touchscreen input | 15 | Opie has been designed for devices with small screens, and a touchscreen input |
16 | device (ie, only one mouse click, and no constant mouse position), as well as | 16 | device (ie, only one mouse click, and no constant mouse position), as well as |
17 | designed to fit in a relatively small amount of storage space (about 5 megabytes | 17 | designed to fit in a relatively small amount of storage space (about 5 megabytes |
18 | for the base libraries and the launcher). | 18 | for the base libraries and the launcher). |
19 | </para> | 19 | </para> |
20 | </chapter> | 20 | </chapter> |
21 | <chapter><title>Installation</title> | 21 | <chapter><title>Installation</title> |
22 | <section><title>iPAQ</title> | 22 | <section><title>iPAQ</title> |
23 | <para> | 23 | <para> |
24 | To install opie on an iPAQ, you will need a fresh Familiar installation (ie, | 24 | To install opie on an iPAQ, you will need a fresh Familiar installation (ie, |
25 | install Familiar, and stop before you do ipkg install task-complete or ipkg | 25 | install Familiar, and stop before you do ipkg install task-complete or ipkg |
26 | install task-x), go to http://familiar.handhelds.org to get the latest version, | 26 | install task-x), go to http://familiar.handhelds.org to get the latest version, |
27 | and to get installation instructions (again, stop after the initial boot and do | 27 | and to get installation instructions (again, stop after the initial boot and do |
28 | not install X, as it is not necessary, and will only take up space). | 28 | not install X, as it is not necessary, and will only take up space). |
29 | </para> | 29 | </para> |
30 | 30 | ||
31 | <note> | 31 | <note> |
32 | <para> | 32 | <para> |
33 | Note: If you had qpe/qtopia installed previously, \emph{completely} remove it, | 33 | Note: If you had qpe/qtopia installed previously, \emph{completely} remove it, |
34 | and remove the src line for it from your /etc/ipkg.conf file before attempting | 34 | and remove the src line for it from your /etc/ipkg.conf file before attempting |
35 | to install opie. | 35 | to install opie. |
36 | </para> | 36 | </para> |
37 | </note> | 37 | </note> |
38 | <para> | 38 | <para> |
39 | Once you have Familiar installed, set up a network connection between your iPAQ | 39 | Once you have Familiar installed, set up a network connection between your iPAQ |
40 | and the ouside world (again, see the Familiar site for instructions on this), | 40 | and the ouside world (again, see the Familiar site for instructions on this), |
41 | and then run this command: | 41 | and then run this command: |
42 | <informalexample> | 42 | <informalexample> |
43 | <literallayout> | 43 | <literallayout> |
44 | echo src opie "http://131.152.105.154/feeds/ipaq/unstable/" \ | 44 | echo src opie "http://131.152.105.154/feeds/ipaq/unstable/" \ |
45 | >> /etc/ipkg.conf | 45 | >> /etc/ipkg.conf |
46 | </literallayout> | 46 | </literallayout> |
47 | </informalexample> | 47 | </informalexample> |
48 | then, run: | 48 | then, run: |
49 | <informalexample> | 49 | <informalexample> |
50 | <literallayout> | 50 | <literallayout> |
51 | ipkg update && ipkg install task-opie | 51 | ipkg update && ipkg install task-opie |
52 | </literallayout> | 52 | </literallayout> |
53 | </informalexample> | 53 | </informalexample> |
54 | If you have a 3100 or 3800 series iPAQ, run: | 54 | If you have a 3100 or 3800 series iPAQ, run: |
55 | <informalexample> | 55 | <informalexample> |
56 | <literallayout> | 56 | <literallayout> |
57 | ipkg install qt-embedded-rotation | 57 | ipkg install qt-embedded-rotation |
58 | </literallayout> | 58 | </literallayout> |
59 | </informalexample> | 59 | </informalexample> |
60 | finally, start Opie with: | 60 | finally, start Opie with: |
61 | <informalexample> | 61 | <informalexample> |
62 | <literallayout> | 62 | <literallayout> |
63 | /etc/init.d/opie start | 63 | /etc/init.d/opie start |
64 | </literallayout> | 64 | </literallayout> |
65 | </informalexample> | 65 | </informalexample> |
66 | </para> | 66 | </para> |
67 | 67 | ||
68 | <para> | 68 | <para> |
69 | Opie should now be running (if you should have to reboot, which is rare, Opie | 69 | Opie should now be running (if you should have to reboot, which is rare, Opie |
70 | will start automatically). From here, you can use either the ``Software'' | 70 | will start automatically). From here, you can use either the ``Software'' |
71 | application in the Settings tab, or run ipkg from the command line to install | 71 | application in the Settings tab, or run ipkg from the command line to install |
72 | other Opie apps. Check out the various task-opie-* ipkgs to install various sets | 72 | other Opie apps. Check out the various task-opie-* ipkgs to install various sets |
73 | of apps at once (you can always uninstall individual apps individually). You | 73 | of apps at once (you can always uninstall individual apps individually). You |
74 | will probably want to install opie-embeddedkonsole first, so you have access to | 74 | will probably want to install opie-embeddedkonsole first, so you have access to |
75 | the command line in Opie. | 75 | the command line in Opie. |
76 | </para> | 76 | </para> |
77 | </section> | 77 | </section> |
78 | 78 | ||
79 | <section><title>Zaurus</title> | 79 | <section><title>Zaurus</title> |
80 | <para> | 80 | <para> |
81 | To completely install Opie on the Zaurus, you will have to install OpenZaurus, | 81 | To completely install Opie on the Zaurus, you will have to install OpenZaurus, |
82 | which includes Opie. However, individual Opie applications will work fine on the | 82 | which includes Opie. However, individual Opie applications will work fine on the |
83 | default Zaurus rom. Do not install Opie's launcher on a default Zaurus ROM | 83 | default Zaurus rom. Do not install Opie's launcher on a default Zaurus ROM |
84 | though. | 84 | though. |
85 | </para> | 85 | </para> |
86 | </section> | 86 | </section> |
87 | </chapter> | 87 | </chapter> |
88 | 88 | ||
89 | <chapter><title>Using Opie</title> | 89 | <chapter><title>Using Opie</title> |
90 | <para> | 90 | <para> |
91 | Now that Opie is installed and running, it's time to start using it. When you | 91 | Now that Opie is installed and running, it's time to start using it. When you |
92 | first start Opie, you will see the ``Launcher'' from which you can start all of | 92 | first start Opie, you will see the ``Launcher'' from which you can start all of |
93 | your Applications, and the ``Taskbar'' along the bottom, where you can see all | 93 | your Applications, and the ``Taskbar'' along the bottom, where you can see all |
94 | the running applications, select an input method, and interact with the | 94 | the running applications, select an input method, and interact with the |
95 | installed ``applets''. | 95 | installed ``applets''. |
96 | </para> | 96 | </para> |
97 | 97 | ||
98 | <section><title>Getting Around</title> | 98 | <section><title>Getting Around</title> |
99 | <para> | 99 | <para> |
100 | Getting around in Opie is very easy, you simply click your stylus on whatever | 100 | Getting around in Opie is very easy, you simply click your stylus on whatever |
101 | icon or button you want to click on. The main difference between using the | 101 | icon or button you want to click on. The main difference between using the |
102 | stylus and using a mouse is that you cannot right click with a stylus, so things | 102 | stylus and using a mouse is that you cannot right click with a stylus, so things |
103 | that require a right click are kept to a minimum. However, it is sometimes | 103 | that require a right click are kept to a minimum. However, it is sometimes |
104 | necessary to right click, and this is implemented with a ``press and hold''. | 104 | necessary to right click, and this is implemented with a ``press and hold''. |
105 | Any time you want to do something that you think would require a right click on | 105 | Any time you want to do something that you think would require a right click on |
106 | a normal pc, try pressing the stylus down and holding it still for a few | 106 | a normal pc, try pressing the stylus down and holding it still for a few |
107 | seconds. This usually opens up a context sensative menu, much like a right | 107 | seconds. This usually opens up a context sensative menu, much like a right |
108 | click usually does on a desktop interface. | 108 | click usually does on a desktop interface. |
109 | </para> | 109 | </para> |
110 | </section> | 110 | </section> |
111 | 111 | ||
112 | <section><title>Launcher</title> | 112 | <section><title>Launcher</title> |
113 | <para> | 113 | <para> |
114 | The Launcher behaves like the ``desktop'' on most PC GUIs. When no applications | 114 | The Launcher behaves like the ``desktop'' on most PC GUIs. When no applications |
115 | are running or visible, you will have access to the Launcher. You can also map | 115 | are running or visible, you will have access to the Launcher. You can also map |
116 | a hardware key to bring the Launcher to the top without closing any of the | 116 | a hardware key to bring the Launcher to the top without closing any of the |
117 | running applications (this is similar to ``minimising'' all the applications | 117 | running applications (this is similar to ``minimising'' all the applications |
118 | that are running). | 118 | that are running). |
119 | </para> | 119 | </para> |
120 | <para> | 120 | <para> |
121 | Along the top of the Launcher you will see a list of tabs which function as | 121 | Along the top of the Launcher you will see a list of tabs which function as |
122 | categories for your applications. You can click on the tab for the category you | 122 | categories for your applications. You can click on the tab for the category you |
123 | want to view, and then click on the icon for the application that you wish to | 123 | want to view, and then click on the icon for the application that you wish to |
124 | launch. By default, there will be an Applications tab and a Settings tab (if | 124 | launch. By default, there will be an Applications tab and a Settings tab (if |
125 | you install any games, they will appear in the Games tab). When new | 125 | you install any games, they will appear in the Games tab). When new |
126 | applications are installed, they will usually appear in one of these three tabs, | 126 | applications are installed, they will usually appear in one of these three tabs, |
127 | or in a tab of their own. To add or delete tabs or to move applications between | 127 | or in a tab of their own. To add or delete tabs or to move applications between |
128 | the tabs, you can use the Tab Manager application, or you can edit them by hand, | 128 | the tabs, you can use the Tab Manager application, or you can edit them by hand, |
129 | by changing the directories in /opt/QtPalmtop/apps. | 129 | by changing the directories in /opt/QtPalmtop/apps. |
@@ -565,129 +565,344 @@ the previous one, if ``Search backwards'' is selected). | |||
565 | To only view tasks filled under certain categories, go to the Category menu, and | 565 | To only view tasks filled under certain categories, go to the Category menu, and |
566 | check the categories you want to view. Also, under the Options menu, you can | 566 | check the categories you want to view. Also, under the Options menu, you can |
567 | select whether or not you want completed tasks to be visible, and whether or not | 567 | select whether or not you want completed tasks to be visible, and whether or not |
568 | you want to see the deadline. | 568 | you want to see the deadline. |
569 | </para> | 569 | </para> |
570 | </section> | 570 | </section> |
571 | 571 | ||
572 | <section><title>Completing Tasks</title> | 572 | <section><title>Completing Tasks</title> |
573 | <para> | 573 | <para> |
574 | To mark a task as completed without deleting it, you can either check the | 574 | To mark a task as completed without deleting it, you can either check the |
575 | checkbox next to it in the main view, or edit it, and check the "completed" | 575 | checkbox next to it in the main view, or edit it, and check the "completed" |
576 | check box in the edit dialog. If <GUIMenu>Options</GUIMenu> | 576 | check box in the edit dialog. If <GUIMenu>Options</GUIMenu> |
577 | <GUIMenuItem>Completed<GUIMenuItem> tasks is not checked, the task will | 577 | <GUIMenuItem>Completed<GUIMenuItem> tasks is not checked, the task will |
578 | disapear when you mark it completed. but do not worry, it is not gone forever, | 578 | disapear when you mark it completed. but do not worry, it is not gone forever, |
579 | just check Completed tasks in the options menu, and you can see and edit it | 579 | just check Completed tasks in the options menu, and you can see and edit it |
580 | again. | 580 | again. |
581 | </para> | 581 | </para> |
582 | </section> | 582 | </section> |
583 | </chapter> | 583 | </chapter> |
584 | 584 | ||
585 | <chapter><title>File Manager</title> | 585 | <chapter><title>File Manager</title> |
586 | <para> | 586 | <para> |
587 | The file manager allows easy access to your file system, letting you browse, | 587 | The file manager allows easy access to your file system, letting you browse, |
588 | copy, move, delete and link files. You can also use it to open the file in an | 588 | copy, move, delete and link files. You can also use it to open the file in an |
589 | application based upon the file type, or add the file to your ``Documents'' tab, | 589 | application based upon the file type, or add the file to your ``Documents'' tab, |
590 | as well as several other filesystem related things. | 590 | as well as several other filesystem related things. |
591 | <para> | 591 | <para> |
592 | 592 | ||
593 | <section><title>Navigating</title> | 593 | <section><title>Navigating</title> |
594 | <para> | 594 | <para> |
595 | To enter a directory, simply press its icon or name in the main view. There are | 595 | To enter a directory, simply press its icon or name in the main view. There are |
596 | also two buttons in the toolbar which help with navigation. The back arrow will | 596 | also two buttons in the toolbar which help with navigation. The back arrow will |
597 | take you back to the directory you were previously looking at, while the up | 597 | take you back to the directory you were previously looking at, while the up |
598 | arrow will take you up one level in the directory structure (so, if you are in | 598 | arrow will take you up one level in the directory structure (so, if you are in |
599 | /usr/bin, it will take you to /usr, regardless of where you were before). The | 599 | /usr/bin, it will take you to /usr, regardless of where you were before). The |
600 | ``Dir'' menu shows the current path, with each directory as a menu item. So, if | 600 | ``Dir'' menu shows the current path, with each directory as a menu item. So, if |
601 | you are in /opt/QtPalmtop/bin there will be four entries: /, opt, QtPalmtop, and | 601 | you are in /opt/QtPalmtop/bin there will be four entries: /, opt, QtPalmtop, and |
602 | bin. Selecting one of these will take you immediately to that directory. | 602 | bin. Selecting one of these will take you immediately to that directory. |
603 | </para> | 603 | </para> |
604 | </section> | 604 | </section> |
605 | 605 | ||
606 | <section><title>Selecting Files</title> | 606 | <section><title>Selecting Files</title> |
607 | <para> | 607 | <para> |
608 | When you click on a file, its selection status is toggled. So the first time you | 608 | When you click on a file, its selection status is toggled. So the first time you |
609 | click on it, it will be selected, and the second time it will be deselected. To | 609 | click on it, it will be selected, and the second time it will be deselected. To |
610 | select multiple files, simply click on each one you want to select. | 610 | select multiple files, simply click on each one you want to select. |
611 | </para> | 611 | </para> |
612 | </section> | 612 | </section> |
613 | <section><title>Moving Files</title> | 613 | <section><title>Moving Files</title> |
614 | <para> | 614 | <para> |
615 | To copy a file from one directory to another, press and hold on the filename, | 615 | To copy a file from one directory to another, press and hold on the filename, |
616 | and select ``Copy'' from the menu that pops up. Then, change into the directory | 616 | and select ``Copy'' from the menu that pops up. Then, change into the directory |
617 | that you want to copy it into, and press the "paste" icon (an image of a | 617 | that you want to copy it into, and press the "paste" icon (an image of a |
618 | clipboard and a piece of paper). To move a file, do the same thing, except | 618 | clipboard and a piece of paper). To move a file, do the same thing, except |
619 | select ``Cut'' from the first menu, instead of ``Copy''. You can also move or | 619 | select ``Cut'' from the first menu, instead of ``Copy''. You can also move or |
620 | copy multiple files by selecting all of them and using the cut or copy buttons | 620 | copy multiple files by selecting all of them and using the cut or copy buttons |
621 | in the toolbar. | 621 | in the toolbar. |
622 | </para> | 622 | </para> |
623 | </section> | 623 | </section> |
624 | 624 | ||
625 | <section><title>Deleting Files</title> | 625 | <section><title>Deleting Files</title> |
626 | <para> | 626 | <para> |
627 | To delete a file, press and hold it to bring up its menu, then select | 627 | To delete a file, press and hold it to bring up its menu, then select |
628 | ``Delete'', and click ``Yes'' (or ``No'' to cancel). Delete will delete all the | 628 | ``Delete'', and click ``Yes'' (or ``No'' to cancel). Delete will delete all the |
629 | currently selected files, which may be more than the one that you pressed and | 629 | currently selected files, which may be more than the one that you pressed and |
630 | held on. | 630 | held on. |
631 | </para> | 631 | </para> |
632 | </section> | 632 | </section> |
633 | 633 | ||
634 | <section><title>Renaming Files</title> | 634 | <section><title>Renaming Files</title> |
635 | <para> | 635 | <para> |
636 | To change a file's name, first bring up the input method you want to use (unless | 636 | To change a file's name, first bring up the input method you want to use (unless |
637 | you are going to use the hardware keyboard), then press and hold on the | 637 | you are going to use the hardware keyboard), then press and hold on the |
638 | filename, and select ``rename''. A new file will appear with a ``Name'' field | 638 | filename, and select ``rename''. A new file will appear with a ``Name'' field |
639 | that is editable, enter the new name, and click another file to keep the new | 639 | that is editable, enter the new name, and click another file to keep the new |
640 | name. | 640 | name. |
641 | </para> | 641 | </para> |
642 | </section> | 642 | </section> |
643 | 643 | ||
644 | <section><title>Creating Directories</title> | 644 | <section><title>Creating Directories</title> |
645 | <para> | 645 | <para> |
646 | To create a directory, first bring up the input method you want to use (if you | 646 | To create a directory, first bring up the input method you want to use (if you |
647 | are using one), and then click the new directory button (an image of a file | 647 | are using one), and then click the new directory button (an image of a file |
648 | folder with a ``+'' sign). A new folder will be created with the name ``New | 648 | folder with a ``+'' sign). A new folder will be created with the name ``New |
649 | Folder'', and the folder name will be editable. Enter the name you want and then | 649 | Folder'', and the folder name will be editable. Enter the name you want and then |
650 | click another file to create the folder. | 650 | click another file to create the folder. |
651 | </para> | 651 | </para> |
652 | </section> | 652 | </section> |
653 | 653 | ||
654 | <section><title>Viewing Files</title> | 654 | <section><title>Viewing Files</title> |
655 | <para> | 655 | <para> |
656 | To view a file, press and hold on a file, and the menu that comes up will | 656 | To view a file, press and hold on a file, and the menu that comes up will |
657 | contain two entries for vieing the file, the first depends on the filetype, but | 657 | contain two entries for vieing the file, the first depends on the filetype, but |
658 | usually lets you open the file in a specific program. The second is ``view as | 658 | usually lets you open the file in a specific program. The second is ``view as |
659 | text'' which will open the file up in TextEdit (regardless of whether or not it | 659 | text'' which will open the file up in TextEdit (regardless of whether or not it |
660 | is actually a text file). | 660 | is actually a text file). |
661 | </para> | 661 | </para> |
662 | </section> | 662 | </section> |
663 | 663 | ||
664 | <section><title>Adding to ``Documents''</title> | 664 | <section><title>Adding to ``Documents''</title> |
665 | <para> | 665 | <para> |
666 | To add a file to your ``Documents'', press and hold the file, and select ``Add | 666 | To add a file to your ``Documents'', press and hold the file, and select ``Add |
667 | to documents'' from the menu. This will add the file to the documents tab, which | 667 | to documents'' from the menu. This will add the file to the documents tab, which |
668 | you can use to quickly open the file (simply click on the icon for the file in | 668 | you can use to quickly open the file (simply click on the icon for the file in |
669 | the Documents tab). Some programs also use the Documents list to aid in quickly | 669 | the Documents tab). Some programs also use the Documents list to aid in quickly |
670 | opening files. | 670 | opening files. |
671 | </para> | 671 | </para> |
672 | </section> | 672 | </section> |
673 | 673 | ||
674 | <section><title>Sorting Files</title> | 674 | <section><title>Sorting Files</title> |
675 | <para> | 675 | <para> |
676 | To sort the files, use the ``Sort'' menu to select wich field you want to sort | 676 | To sort the files, use the ``Sort'' menu to select wich field you want to sort |
677 | the files by (``by Name'', for instance, will sort the file alphabetically by | 677 | the files by (``by Name'', for instance, will sort the file alphabetically by |
678 | name). If ``Ascending'' is checked, the files will be sorted in ascending order, | 678 | name). If ``Ascending'' is checked, the files will be sorted in ascending order, |
679 | if it is not, they will be sorted in descending order. You can also press the | 679 | if it is not, they will be sorted in descending order. You can also press the |
680 | name of the column in the main view to sort by that field. | 680 | name of the column in the main view to sort by that field. |
681 | </para> | 681 | </para> |
682 | </section> | 682 | </section> |
683 | 683 | ||
684 | <section><title>Viewing Options</title> | 684 | <section><title>Viewing Options</title> |
685 | <para> | 685 | <para> |
686 | The ``View'' menu lets you choose which files to view. If ``Hidden'' is checked, | 686 | The ``View'' menu lets you choose which files to view. If ``Hidden'' is checked, |
687 | hidden files will be visible (in Linux, hidden files start with a ``.''). If | 687 | hidden files will be visible (in Linux, hidden files start with a ``.''). If |
688 | ``Symlinks'' is checked, symbolic links (files or directories which are merely | 688 | ``Symlinks'' is checked, symbolic links (files or directories which are merely |
689 | links to other files or directories) will be visible. | 689 | links to other files or directories) will be visible. |
690 | </para> | 690 | </para> |
691 | </section> | 691 | </section> |
692 | </chapter> | 692 | </chapter> |
693 | |||
694 | <chapter><title>Embedded Konsole</title> | ||
695 | <para> | ||
696 | EmbeddedKonsole is Opie's terminal emulator. From here you can do pretty much | ||
697 | anything (since Linux is actually a command line based OS by itself). I will | ||
698 | not go into much detail on using the linux command line, as that is covered in | ||
699 | many other places (http://www.tldp.org is a good place to start, or read | ||
700 | O'Reilly's \underline{Running Linux} for a comprehensive look at Linux for the | ||
701 | beginner). I will, however, give a quick overview of using a Linux shell. | ||
702 | </para> | ||
703 | |||
704 | <section><title>Using Embedded Konsole</title> | ||
705 | <para> | ||
706 | Along the top of the window is a row of menus and icons. The ``Font'' menu lets | ||
707 | you select the font size that you want the console to use, while the Options | ||
708 | menu lets you select various options. Below this row of menus and icons is a | ||
709 | pulldown list with various common commands in it. | ||
710 | </para> | ||
711 | |||
712 | <section><title>Options Menu</title> | ||
713 | <para> | ||
714 | The first submenu in the options menu is the ``Command List'' menu, which lets | ||
715 | you edit or hide the command list pulldown. The ``Tabs on top'' or ``Tabs on | ||
716 | bottom'' (depending on which is currently enabled) allows you to select where | ||
717 | the tabs representing multiple terminal sessions are drawn. The ``Colors'' | ||
718 | submenu lets you select from a color scheme, or make your own, and the ``Scroll | ||
719 | Bar'' submenu lets you select where or if the scroll bar is drawn. | ||
720 | </para> | ||
721 | </section> | ||
722 | <section><title>Icons</title> | ||
723 | <para> | ||
724 | The row of icons to the right of the menus allows you to type common keystrokes | ||
725 | without having an input method visible, as well as some other things. | ||
726 | </para> | ||
727 | <para> | ||
728 | The icon all the way on the left will open a new terminal session in a new tab, | ||
729 | while the icon all the way on the right will paste text from the clipboard into | ||
730 | the terminal. | ||
731 | </para> | ||
732 | <para> | ||
733 | The other icons are the same as typing (from left to right) enter, space, tab | ||
734 | (for tab completion), up, and down (for the command history). | ||
735 | </para> | ||
736 | </section> | ||
737 | <section><title>Command List</title> | ||
738 | <para> | ||
739 | The command list is a pulldown menu with a list of commonly used commands. | ||
740 | Selecting one will type the command into the terminal wherever the cursor is. | ||
741 | You can edit or hide this menu from <GUIMenu>Options</GUIMenu> | ||
742 | <GUIMenuItem>Command List.</GUIMenuItem> | ||
743 | </para> | ||
744 | </section> | ||
745 | </section> | ||
746 | |||
747 | <section><title>What is a Shell</title> | ||
748 | <para> | ||
749 | A shell is a program that accepts input from a user, and runs commands. Each | ||
750 | ``command'' in the shell is actually a separate program (unless you are using a | ||
751 | shell like BusyBox, which makes some of the more common commands part of its own | ||
752 | program in order to save space). Shells can actually be very powerful, and many | ||
753 | of them allow you to write something called ``shell scripts'' which are just a | ||
754 | sequence of commands, sometimes with some flow control statements, saved to a | ||
755 | file and run each time the script is run. For the most part, the average user | ||
756 | does not need to know about any of this, though. If you are running Opie on the | ||
757 | Familiar distribution, it is advisable to install the bash shell (ipkg install | ||
758 | bash) because it offers things like tab completion, use of the backspace key, | ||
759 | and a command history, as well as offering a more advanced scripting languauge | ||
760 | than most other shells. | ||
761 | </para> | ||
762 | </section> | ||
763 | |||
764 | <section><title>Running Programs</title> | ||
765 | <para> | ||
766 | To run a program or a command (remember, a command is just another program), you | ||
767 | simply type the name of the program and hit ``Return'' (in Linux, program names | ||
768 | do not have a special suffix like they do in windows, in fact the ``.'' | ||
769 | character has no special meaning unless it is at the begining of a filename, in | ||
770 | which case it makes the file ``hidden''). When you type a program name and hit | ||
771 | ``Return'' the shell looks in a special list of directories called your | ||
772 | ``path'', and if it cannot find it in any of those directories, it stops looking | ||
773 | and tells you it could not find them. If you want to run a program that is not | ||
774 | in your path, you must specify an absolute or relative path to that program. | ||
775 | For instance, to run a program that is in the directory you are currently in, | ||
776 | you would type <literal>./program</literal> (``./'' is a special directory that | ||
777 | is explained below), or to run a program in /home/username/ you would call | ||
778 | <literal>/home/username/program</literal>. | ||
779 | </para> | ||
780 | <para> | ||
781 | Most programs take ``arguments'' when run from the command line. An argument is | ||
782 | a string that contains no spaces that changes how the program behaves (a text | ||
783 | editor, for instance, might take a single argument, which would be the name of | ||
784 | the file you wish to edit). Usually, you can use the arguments ``-h'' or | ||
785 | ``--help'' to get a list of the common arguments that that program takes, along | ||
786 | with a short usage description, and a short description of what each argument | ||
787 | does. | ||
788 | </para> | ||
789 | </section> | ||
790 | |||
791 | <section><title>Basic Navigation</title> | ||
792 | <para> | ||
793 | The command that you will use most often in the shell is probably the ``cd'' | ||
794 | command, which stands for ``change directory.'' With this command, you can move | ||
795 | around in the file system, by issuing the command like this: <userinput>cd | ||
796 | <replaceable>[new directory]</replaceable></userinput>, where <replaceable>[new | ||
797 | directory]</replaceable> is the directory you want to move to. | ||
798 | This directory name does not have to include the entire directory structure, but | ||
799 | can be ``relative'' which means it assumes you are talking about directories | ||
800 | relative to the directory you are in. For example, if you are in a directory | ||
801 | called /home/username and you want to move to the directory | ||
802 | /home/username/other/dir you could simply type <userinput>cd | ||
803 | other/dir</userinput> and you would end up in /home/username/other/dir. You can | ||
804 | also specify a full, or "absolute" path, by specifying the entire path name | ||
805 | starting with / ( / is a special directory called the "root" directory, and does | ||
806 | not have a "parent" directory, which means that it is not in any other | ||
807 | directory). There are also two special directories called ``./'' and ``../''. | ||
808 | The ``./'' directory is the current directory you are in, and you will probably | ||
809 | never use this in conjunction with the cd command (why would you want to move to | ||
810 | the directory you are already in?). The ``../'' directory represents the parent | ||
811 | directory of the directory you are currently in, so if you are in | ||
812 | /home/username, ../ is the same as /home. You can string several ../'s | ||
813 | together, so if you are in /home/username/dir/ ../../ represents /home. There | ||
814 | is one other special directory, called "~/" that points to your home | ||
815 | directory (usually /home/username or /root for the root user). | ||
816 | </para> | ||
817 | </section> | ||
818 | |||
819 | <section><title>Moving Files</title> | ||
820 | <para> | ||
821 | To move files around, you need to use the ``cp'' (copy) and ``mv'' (move) | ||
822 | commands. Both of these are run the same way: \verb+command originalfile | ||
823 | newfile+. The only difference is that cp creates a new file without touching | ||
824 | the old one, while mv deletes the original file. The two path names can be | ||
825 | either absolute or relative. If you only specify a directory for the | ||
826 | destination, and no filename, it will use the filename for the original file. | ||
827 | </para> | ||
828 | </section> | ||
829 | |||
830 | <section><title>Deleting Files</title> | ||
831 | <para> | ||
832 | To delete a file, run the ``rm'' command, and to delete a directory, run the | ||
833 | ``rmdir'' command, each of them take the file to be removed as their only | ||
834 | argument. The rmdir command requires the directory to be empty, so if you want | ||
835 | to delete a directory that is not empty, along with all its contents, run | ||
836 | <userinput>rm -r dir</userinput>. | ||
837 | </para> | ||
838 | </section> | ||
839 | |||
840 | <section><title>Linking Files</title> | ||
841 | <para> | ||
842 | In Linux, you can have a special file called a ``symbolic link'' that acts just | ||
843 | like a copy of another file, except it takes up less space. This is convinient | ||
844 | if two applications are looking for the same file in two separate places, | ||
845 | because the file can be in both places at once, without taking up any extra | ||
846 | space, and any change to one is automatically applied to the other (really, | ||
847 | there is only one file, the link is just a file pointing to the original file). | ||
848 | This is also useful for naming applications independant of their version number. | ||
849 | For instance, you could have a link called ``application'' that points to | ||
850 | ``application1.0''. To create a link, use the following command: | ||
851 | <userinput>ln -s originalfile link</userinput>. | ||
852 | </para> | ||
853 | </section> | ||
854 | </chapter> | ||
855 | </part> | ||
856 | |||
857 | <part><title>Settings</title> | ||
858 | <chapter><title>Software</title> | ||
859 | |||
860 | <para> | ||
861 | The ``Software'' application, also called oipkg, is what is used to install and | ||
862 | remove software. It is actually a frontend to the command line program ``ipkg'' | ||
863 | so most things you can do with oipkg you can also do with ipkg. Oipkg can | ||
864 | install things either remotely from a web server (called a ``feed'') or it can | ||
865 | install an ipkg package file that resides on the local filesystem. | ||
866 | </para> | ||
867 | <important> | ||
868 | <para> | ||
869 | Note: There is a bug in oipkg that prevents it from installing packages | ||
870 | properly. There is, however, a workaround for it. Simply run oipkg from | ||
871 | Embedded Konsole to avoid the bug. | ||
872 | </para> | ||
873 | </important> | ||
874 | |||
875 | <section><title>Installing Software</title> | ||
876 | <para> | ||
877 | To install software, first select ``Opie'' from the ``Section'' pulldown menu, | ||
878 | the press the ``+'' icon next to ``Feeds'' in the main view. This will show all | ||
879 | the available Opie packages (you can change which packages to view by selecting | ||
880 | something else from the ``Section'' pulldown). Installed packages are marked | ||
881 | with a blue circle, while packages that are not installed are marked with a red | ||
882 | box. If you click on the icon for an uninstalled package, it will turn into an | ||
883 | open box, with a blue circle coming out of it, indicating that you have marked | ||
884 | this package to be installed. Mark as many packages as you wish this way, and | ||
885 | then press the ``Apply'' icon (same red box and blue dot icon) to install all | ||
886 | the marked packages. It will also remove any packages marked for removal (see | ||
887 | below). Clicking this will open a window showing all the packages marked to be | ||
888 | removed and installed, with some check boxes on the bottom, which represent | ||
889 | arguments to be sent to ipkg, which you can usually ignore. After verifying | ||
890 | that all the packages to be installed are correct, press ``Ok'' in the upper | ||
891 | right corner (or press ``x'' to cancel and go back to the package selection | ||
892 | window). The packages should then install, and you should see their icons | ||
893 | appear in the Launcher, if they are Opie applications. | ||
894 | </para> | ||
895 | </section> | ||
896 | |||
897 | <section><title>Removing Software</title> | ||
898 | <para> | ||
899 | Removing software is the same as installing software, except you will press the | ||
900 | blue circle icon of an installed package, and it will have a red ``X'' over it. | ||
901 | Then press the apply icon, and ``Ok''. You can install and remove packages at | ||
902 | the same time by marking the ones you want to install and the ones you want to | ||
903 | remove, and then pressing apply. | ||
904 | </para> | ||
905 | </section> | ||
906 | </chapter> | ||
907 | </part> | ||
693 | </book> \ No newline at end of file | 908 | </book> \ No newline at end of file |