Zhangxu221 (Talk | contribs) (Created page with "Throughout the MeeGo Tablet SDK documentation, some standards are followed: <strong>Code</strong><br> Code and terminal commands are shown in blocks, such as the following code …") |
(categorise, wikify) |
||
| Line 1: | Line 1: | ||
Throughout the MeeGo Tablet SDK documentation, some standards are followed: | Throughout the MeeGo Tablet SDK documentation, some standards are followed: | ||
| - | + | == Code == | |
| - | + | ||
| + | Code and terminal commands are shown in blocks, such as the following code snippet: | ||
MApplication app(argc, argv); | MApplication app(argc, argv); | ||
PanelPage *page = new PanelPage; | PanelPage *page = new PanelPage; | ||
| - | + | == Terminal Commands and Privileges == | |
| - | + | ||
| + | Terminal commands always start with either "<code>$</code>" or "<code>#</code>", representing the prompt in the terminal. For terminal commands, if you are following along, the command should be copied or typed exactly as-is except for the "<code>$</code>" or "<code>#</code>" symbol at the beginning. A "<code>$</code>" symbol indicates the command is run by a user with normal user privileges. A "<code>#</code>" symbol indicates an assumption that the user is logged in as root. "<code>$ sudo </code>" indicates that a normal user is running a program with root privileges (it assumes you have setup "<code>sudo power</code>" on your Linux workstation). You must include "<code>sudo</code>" when running the command. For example: | ||
$ sudo runProgram --opt1 | $ sudo runProgram --opt1 | ||
| - | indicates that you should type: "sudo runProgram --opt1" in your terminal, without the quotes. | + | indicates that you should type: "<code>sudo runProgram --opt1</code>" in your terminal, without the quotes. |
| + | |||
| + | [[Category:SDK]] | ||
| + | [[Category:Meego-1.2]] | ||
| + | [[Category:Linux]] | ||
Throughout the MeeGo Tablet SDK documentation, some standards are followed:
Code and terminal commands are shown in blocks, such as the following code snippet:
MApplication app(argc, argv); PanelPage *page = new PanelPage;
Terminal commands always start with either "$" or "#", representing the prompt in the terminal. For terminal commands, if you are following along, the command should be copied or typed exactly as-is except for the "$" or "#" symbol at the beginning. A "$" symbol indicates the command is run by a user with normal user privileges. A "#" symbol indicates an assumption that the user is logged in as root. "$ sudo " indicates that a normal user is running a program with root privileges (it assumes you have setup "sudo power" on your Linux workstation). You must include "sudo" when running the command. For example:
$ sudo runProgram --opt1
indicates that you should type: "sudo runProgram --opt1" in your terminal, without the quotes.