summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--docs/usermanual/usermanual.sgm217
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,97 +1,97 @@
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>
6Opie is a GUI (Graphical User Interface) for the Linux operating system (and 6Opie is a GUI (Graphical User Interface) for the Linux operating system (and
7might work on other OSes as well). It was originally designed for handheld 7might work on other OSes as well). It was originally designed for handheld
8computers (such as the Compaq/HP iPAQ and the Sharp Zaurus), but which could 8computers (such as the Compaq/HP iPAQ and the Sharp Zaurus), but which could
9probably function well in other environments requiring a light GUI, such as an 9probably function well in other environments requiring a light GUI, such as an
10old laptop, or an internet kiosk. It is bassed upon QT/Embedded from Trolltech, 10old laptop, or an internet kiosk. It is bassed upon QT/Embedded from Trolltech,
11which is in turn a graphical environment designed for embedded applications, 11which is in turn a graphical environment designed for embedded applications,
12based upon the QT toolkit. 12based upon the QT toolkit.
13</para> 13</para>
14<para> 14<para>
15Opie has been designed for devices with small screens, and a touchscreen input 15Opie has been designed for devices with small screens, and a touchscreen input
16device (ie, only one mouse click, and no constant mouse position), as well as 16device (ie, only one mouse click, and no constant mouse position), as well as
17designed to fit in a relatively small amount of storage space (about 5 megabytes 17designed to fit in a relatively small amount of storage space (about 5 megabytes
18for the base libraries and the launcher). 18for 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>
24To install opie on an iPAQ, you will need a fresh Familiar installation (ie, 24To install opie on an iPAQ, you will need a fresh Familiar installation (ie,
25install Familiar, and stop before you do ipkg install task-complete or ipkg 25install Familiar, and stop before you do ipkg install task-complete or ipkg
26install task-x), go to http://familiar.handhelds.org to get the latest version, 26install task-x), go to http://familiar.handhelds.org to get the latest version,
27and to get installation instructions (again, stop after the initial boot and do 27and to get installation instructions (again, stop after the initial boot and do
28not install X, as it is not necessary, and will only take up space). 28not 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>
33Note: If you had qpe/qtopia installed previously, \emph{completely} remove it, 33Note: If you had qpe/qtopia installed previously, \emph{completely} remove it,
34and remove the src line for it from your /etc/ipkg.conf file before attempting 34and remove the src line for it from your /etc/ipkg.conf file before attempting
35to install opie. 35to install opie.
36</para> 36</para>
37</note> 37</note>
38<para> 38<para>
39Once you have Familiar installed, set up a network connection between your iPAQ 39Once you have Familiar installed, set up a network connection between your iPAQ
40and the ouside world (again, see the Familiar site for instructions on this), 40and the ouside world (again, see the Familiar site for instructions on this),
41and then run this command: 41and 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>
48then, run: 48then, 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>
54If you have a 3100 or 3800 series iPAQ, run: 54If 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>
60finally, start Opie with: 60finally, 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>
69Opie should now be running (if you should have to reboot, which is rare, Opie 69Opie should now be running (if you should have to reboot, which is rare, Opie
70will start automatically). From here, you can use either the ``Software'' 70will start automatically). From here, you can use either the ``Software''
71application in the Settings tab, or run ipkg from the command line to install 71application in the Settings tab, or run ipkg from the command line to install
72other Opie apps. Check out the various task-opie-* ipkgs to install various sets 72other Opie apps. Check out the various task-opie-* ipkgs to install various sets
73of apps at once (you can always uninstall individual apps individually). You 73of apps at once (you can always uninstall individual apps individually). You
74will probably want to install opie-embeddedkonsole first, so you have access to 74will probably want to install opie-embeddedkonsole first, so you have access to
75the command line in Opie. 75the 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>
81To completely install Opie on the Zaurus, you will have to install OpenZaurus, 81To completely install Opie on the Zaurus, you will have to install OpenZaurus,
82which includes Opie. However, individual Opie applications will work fine on the 82which includes Opie. However, individual Opie applications will work fine on the
83default Zaurus rom. Do not install Opie's launcher on a default Zaurus ROM 83default Zaurus rom. Do not install Opie's launcher on a default Zaurus ROM
84though. 84though.
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>
91Now that Opie is installed and running, it's time to start using it. When you 91Now that Opie is installed and running, it's time to start using it. When you
92first start Opie, you will see the ``Launcher'' from which you can start all of 92first start Opie, you will see the ``Launcher'' from which you can start all of
93your Applications, and the ``Taskbar'' along the bottom, where you can see all 93your Applications, and the ``Taskbar'' along the bottom, where you can see all
94the running applications, select an input method, and interact with the 94the running applications, select an input method, and interact with the
95installed ``applets''. 95installed ``applets''.
96</para> 96</para>
97 97
@@ -597,97 +597,312 @@ also two buttons in the toolbar which help with navigation. The back arrow will
597take you back to the directory you were previously looking at, while the up 597take you back to the directory you were previously looking at, while the up
598arrow will take you up one level in the directory structure (so, if you are in 598arrow 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
601you are in /opt/QtPalmtop/bin there will be four entries: /, opt, QtPalmtop, and 601you are in /opt/QtPalmtop/bin there will be four entries: /, opt, QtPalmtop, and
602bin. Selecting one of these will take you immediately to that directory. 602bin. 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>
608When you click on a file, its selection status is toggled. So the first time you 608When you click on a file, its selection status is toggled. So the first time you
609click on it, it will be selected, and the second time it will be deselected. To 609click on it, it will be selected, and the second time it will be deselected. To
610select multiple files, simply click on each one you want to select. 610select 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>
615To copy a file from one directory to another, press and hold on the filename, 615To copy a file from one directory to another, press and hold on the filename,
616and select ``Copy'' from the menu that pops up. Then, change into the directory 616and select ``Copy'' from the menu that pops up. Then, change into the directory
617that you want to copy it into, and press the "paste" icon (an image of a 617that you want to copy it into, and press the "paste" icon (an image of a
618clipboard and a piece of paper). To move a file, do the same thing, except 618clipboard and a piece of paper). To move a file, do the same thing, except
619select ``Cut'' from the first menu, instead of ``Copy''. You can also move or 619select ``Cut'' from the first menu, instead of ``Copy''. You can also move or
620copy multiple files by selecting all of them and using the cut or copy buttons 620copy multiple files by selecting all of them and using the cut or copy buttons
621in the toolbar. 621in 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>
627To delete a file, press and hold it to bring up its menu, then select 627To 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
629currently selected files, which may be more than the one that you pressed and 629currently selected files, which may be more than the one that you pressed and
630held on. 630held 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>
636To change a file's name, first bring up the input method you want to use (unless 636To change a file's name, first bring up the input method you want to use (unless
637you are going to use the hardware keyboard), then press and hold on the 637you are going to use the hardware keyboard), then press and hold on the
638filename, and select ``rename''. A new file will appear with a ``Name'' field 638filename, and select ``rename''. A new file will appear with a ``Name'' field
639that is editable, enter the new name, and click another file to keep the new 639that is editable, enter the new name, and click another file to keep the new
640name. 640name.
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>
646To create a directory, first bring up the input method you want to use (if you 646To create a directory, first bring up the input method you want to use (if you
647are using one), and then click the new directory button (an image of a file 647are using one), and then click the new directory button (an image of a file
648folder with a ``+'' sign). A new folder will be created with the name ``New 648folder with a ``+'' sign). A new folder will be created with the name ``New
649Folder'', and the folder name will be editable. Enter the name you want and then 649Folder'', and the folder name will be editable. Enter the name you want and then
650click another file to create the folder. 650click 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>
656To view a file, press and hold on a file, and the menu that comes up will 656To view a file, press and hold on a file, and the menu that comes up will
657contain two entries for vieing the file, the first depends on the filetype, but 657contain two entries for vieing the file, the first depends on the filetype, but
658usually lets you open the file in a specific program. The second is ``view as 658usually lets you open the file in a specific program. The second is ``view as
659text'' which will open the file up in TextEdit (regardless of whether or not it 659text'' which will open the file up in TextEdit (regardless of whether or not it
660is actually a text file). 660is 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>
666To add a file to your ``Documents'', press and hold the file, and select ``Add 666To add a file to your ``Documents'', press and hold the file, and select ``Add
667to documents'' from the menu. This will add the file to the documents tab, which 667to documents'' from the menu. This will add the file to the documents tab, which
668you can use to quickly open the file (simply click on the icon for the file in 668you can use to quickly open the file (simply click on the icon for the file in
669the Documents tab). Some programs also use the Documents list to aid in quickly 669the Documents tab). Some programs also use the Documents list to aid in quickly
670opening files. 670opening 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>
676To sort the files, use the ``Sort'' menu to select wich field you want to sort 676To sort the files, use the ``Sort'' menu to select wich field you want to sort
677the files by (``by Name'', for instance, will sort the file alphabetically by 677the files by (``by Name'', for instance, will sort the file alphabetically by
678name). If ``Ascending'' is checked, the files will be sorted in ascending order, 678name). If ``Ascending'' is checked, the files will be sorted in ascending order,
679if it is not, they will be sorted in descending order. You can also press the 679if it is not, they will be sorted in descending order. You can also press the
680name of the column in the main view to sort by that field. 680name 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>
686The ``View'' menu lets you choose which files to view. If ``Hidden'' is checked, 686The ``View'' menu lets you choose which files to view. If ``Hidden'' is checked,
687hidden files will be visible (in Linux, hidden files start with a ``.''). If 687hidden 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
689links to other files or directories) will be visible. 689links 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>
696EmbeddedKonsole is Opie's terminal emulator. From here you can do pretty much
697anything (since Linux is actually a command line based OS by itself). I will
698not go into much detail on using the linux command line, as that is covered in
699many other places (http://www.tldp.org is a good place to start, or read
700O'Reilly's \underline{Running Linux} for a comprehensive look at Linux for the
701beginner). I will, however, give a quick overview of using a Linux shell.
702</para>
703
704<section><title>Using Embedded Konsole</title>
705<para>
706Along the top of the window is a row of menus and icons. The ``Font'' menu lets
707you select the font size that you want the console to use, while the Options
708menu lets you select various options. Below this row of menus and icons is a
709pulldown list with various common commands in it.
710</para>
711
712<section><title>Options Menu</title>
713<para>
714The first submenu in the options menu is the ``Command List'' menu, which lets
715you edit or hide the command list pulldown. The ``Tabs on top'' or ``Tabs on
716bottom'' (depending on which is currently enabled) allows you to select where
717the tabs representing multiple terminal sessions are drawn. The ``Colors''
718submenu lets you select from a color scheme, or make your own, and the ``Scroll
719Bar'' submenu lets you select where or if the scroll bar is drawn.
720</para>
721</section>
722<section><title>Icons</title>
723<para>
724The row of icons to the right of the menus allows you to type common keystrokes
725without having an input method visible, as well as some other things.
726</para>
727<para>
728The icon all the way on the left will open a new terminal session in a new tab,
729while the icon all the way on the right will paste text from the clipboard into
730the terminal.
731</para>
732<para>
733The 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>
739The command list is a pulldown menu with a list of commonly used commands.
740Selecting one will type the command into the terminal wherever the cursor is.
741You 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>
749A 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
751shell like BusyBox, which makes some of the more common commands part of its own
752program in order to save space). Shells can actually be very powerful, and many
753of them allow you to write something called ``shell scripts'' which are just a
754sequence of commands, sometimes with some flow control statements, saved to a
755file and run each time the script is run. For the most part, the average user
756does not need to know about any of this, though. If you are running Opie on the
757Familiar distribution, it is advisable to install the bash shell (ipkg install
758bash) because it offers things like tab completion, use of the backspace key,
759and a command history, as well as offering a more advanced scripting languauge
760than most other shells.
761</para>
762</section>
763
764<section><title>Running Programs</title>
765<para>
766To run a program or a command (remember, a command is just another program), you
767simply type the name of the program and hit ``Return'' (in Linux, program names
768do not have a special suffix like they do in windows, in fact the ``.''
769character has no special meaning unless it is at the begining of a filename, in
770which 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
773and tells you it could not find them. If you want to run a program that is not
774in your path, you must specify an absolute or relative path to that program.
775For instance, to run a program that is in the directory you are currently in,
776you would type <literal>./program</literal> (``./'' is a special directory that
777is explained below), or to run a program in /home/username/ you would call
778<literal>/home/username/program</literal>.
779</para>
780<para>
781Most programs take ``arguments'' when run from the command line. An argument is
782a string that contains no spaces that changes how the program behaves (a text
783editor, for instance, might take a single argument, which would be the name of
784the 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
786with a short usage description, and a short description of what each argument
787does.
788</para>
789</section>
790
791<section><title>Basic Navigation</title>
792<para>
793The command that you will use most often in the shell is probably the ``cd''
794command, which stands for ``change directory.'' With this command, you can move
795around in the file system, by issuing the command like this: <userinput>cd
796<replaceable>[new directory]</replaceable></userinput>, where <replaceable>[new
797directory]</replaceable> is the directory you want to move to.
798This directory name does not have to include the entire directory structure, but
799can be ``relative'' which means it assumes you are talking about directories
800relative to the directory you are in. For example, if you are in a directory
801called /home/username and you want to move to the directory
802/home/username/other/dir you could simply type <userinput>cd
803other/dir</userinput> and you would end up in /home/username/other/dir. You can
804also specify a full, or "absolute" path, by specifying the entire path name
805starting with / ( / is a special directory called the "root" directory, and does
806not have a "parent" directory, which means that it is not in any other
807directory). There are also two special directories called ``./'' and ``../''.
808The ``./'' directory is the current directory you are in, and you will probably
809never use this in conjunction with the cd command (why would you want to move to
810the directory you are already in?). The ``../'' directory represents the parent
811directory 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
813together, so if you are in /home/username/dir/ ../../ represents /home. There
814is one other special directory, called "~/" that points to your home
815directory (usually /home/username or /root for the root user).
816</para>
817</section>
818
819<section><title>Moving Files</title>
820<para>
821To move files around, you need to use the ``cp'' (copy) and ``mv'' (move)
822commands. Both of these are run the same way: \verb+command originalfile
823newfile+. The only difference is that cp creates a new file without touching
824the old one, while mv deletes the original file. The two path names can be
825either absolute or relative. If you only specify a directory for the
826destination, 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>
832To 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
834argument. The rmdir command requires the directory to be empty, so if you want
835to 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>
842In Linux, you can have a special file called a ``symbolic link'' that acts just
843like a copy of another file, except it takes up less space. This is convinient
844if two applications are looking for the same file in two separate places,
845because the file can be in both places at once, without taking up any extra
846space, and any change to one is automatically applied to the other (really,
847there is only one file, the link is just a file pointing to the original file).
848This 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>
861The ``Software'' application, also called oipkg, is what is used to install and
862remove software. It is actually a frontend to the command line program ``ipkg''
863so most things you can do with oipkg you can also do with ipkg. Oipkg can
864install things either remotely from a web server (called a ``feed'') or it can
865install an ipkg package file that resides on the local filesystem.
866</para>
867<important>
868<para>
869Note: There is a bug in oipkg that prevents it from installing packages
870properly. There is, however, a workaround for it. Simply run oipkg from
871Embedded Konsole to avoid the bug.
872</para>
873</important>
874
875<section><title>Installing Software</title>
876<para>
877To install software, first select ``Opie'' from the ``Section'' pulldown menu,
878the press the ``+'' icon next to ``Feeds'' in the main view. This will show all
879the available Opie packages (you can change which packages to view by selecting
880something else from the ``Section'' pulldown). Installed packages are marked
881with a blue circle, while packages that are not installed are marked with a red
882box. If you click on the icon for an uninstalled package, it will turn into an
883open box, with a blue circle coming out of it, indicating that you have marked
884this package to be installed. Mark as many packages as you wish this way, and
885then press the ``Apply'' icon (same red box and blue dot icon) to install all
886the marked packages. It will also remove any packages marked for removal (see
887below). Clicking this will open a window showing all the packages marked to be
888removed and installed, with some check boxes on the bottom, which represent
889arguments to be sent to ipkg, which you can usually ignore. After verifying
890that all the packages to be installed are correct, press ``Ok'' in the upper
891right corner (or press ``x'' to cancel and go back to the package selection
892window). The packages should then install, and you should see their icons
893appear in the Launcher, if they are Opie applications.
894</para>
895</section>
896
897<section><title>Removing Software</title>
898<para>
899Removing software is the same as installing software, except you will press the
900blue circle icon of an installed package, and it will have a red ``X'' over it.
901Then press the apply icon, and ``Ok''. You can install and remove packages at
902the same time by marking the ones you want to install and the ones you want to
903remove, 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