-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathTips-and-Tricks.html
226 lines (226 loc) · 8.29 KB
/
Tips-and-Tricks.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="" xml:lang="">
<head>
<meta charset="utf-8" />
<meta name="generator" content="pandoc" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" />
<title>Tips-and-Tricks(7) - SerenityOS man pages</title>
<style>
html {
line-height: 1.5;
font-family: Georgia, serif;
font-size: 20px;
color: #1a1a1a;
background-color: #fdfdfd;
}
body {
margin: 0 auto;
max-width: 36em;
padding-left: 50px;
padding-right: 50px;
padding-top: 50px;
padding-bottom: 50px;
hyphens: auto;
word-wrap: break-word;
text-rendering: optimizeLegibility;
font-kerning: normal;
}
@media (max-width: 600px) {
body {
font-size: 0.9em;
padding: 1em;
}
}
@media print {
body {
background-color: transparent;
color: black;
font-size: 12pt;
}
p, h2, h3 {
orphans: 3;
widows: 3;
}
h2, h3, h4 {
page-break-after: avoid;
}
}
p {
margin: 1em 0;
}
a {
color: #1a1a1a;
}
a:visited {
color: #1a1a1a;
}
img {
max-width: 100%;
}
h1, h2, h3, h4, h5, h6 {
margin-top: 1.4em;
}
h5, h6 {
font-size: 1em;
font-style: italic;
}
h6 {
font-weight: normal;
}
ol, ul {
padding-left: 1.7em;
margin-top: 1em;
}
li > ol, li > ul {
margin-top: 0;
}
blockquote {
margin: 1em 0 1em 1.7em;
padding-left: 1em;
border-left: 2px solid #e6e6e6;
color: #606060;
}
code {
font-family: Menlo, Monaco, 'Lucida Console', Consolas, monospace;
font-size: 85%;
margin: 0;
}
pre {
margin: 1em 0;
overflow: auto;
}
pre code {
padding: 0;
overflow: visible;
}
.sourceCode {
background-color: transparent;
overflow: visible;
}
hr {
background-color: #1a1a1a;
border: none;
height: 1px;
margin: 1em 0;
}
table {
margin: 1em 0;
border-collapse: collapse;
width: 100%;
overflow-x: auto;
display: block;
font-variant-numeric: lining-nums tabular-nums;
}
table caption {
margin-bottom: 0.75em;
}
tbody {
margin-top: 0.5em;
border-top: 1px solid #1a1a1a;
border-bottom: 1px solid #1a1a1a;
}
th {
border-top: 1px solid #1a1a1a;
padding: 0.25em 0.5em 0.25em 0.5em;
}
td {
padding: 0.125em 0.5em 0.25em 0.5em;
}
header {
margin-bottom: 4em;
text-align: center;
}
#TOC li {
list-style: none;
}
#TOC a:not(:hover) {
text-decoration: none;
}
code{white-space: pre-wrap;}
span.smallcaps{font-variant: small-caps;}
span.underline{text-decoration: underline;}
div.column{display: inline-block; vertical-align: top; width: 50%;}
div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;}
ul.task-list{list-style: none;}
.display.math{display: block; text-align: center; margin: 0.5rem auto;}
</style>
<!--[if lt IE 9]>
<script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv-printshiv.min.js"></script>
<![endif]-->
</head>
<body>
<img src="/banner.png" style="display: block; margin-left: auto; margin-right: auto; margin-bottom: 2em;">
<header id="title-block-header">
<h1 class="title">Tips-and-Tricks(7) - SerenityOS man pages</h1>
</header>
<p><img src="/icons/32x32/app-welcome.png" alt="Welcome Icon" /></p>
<h2 id="name"><a style="margin-right: 15px" href="#name">#</a>Name</h2>
<p>Tips and Tricks</p>
<h2 id="description"><a style="margin-right: 15px" href="#description">#</a>Description</h2>
<p>This is a list of useful tips and tricks to help you make the most out of SerenityOS.</p>
<h2 id="general"><a style="margin-right: 15px" href="#general">#</a>General</h2>
<ul>
<li>When on the Desktop or in File Manager, start typing the name of an item to select it.</li>
<li>Bold text in context menus hints at the default behavior of a double-click.</li>
<li>Hold <code>Ctrl</code> to accelerate mouse wheel interaction with sliders and spin boxes.</li>
<li>Hold <code>Ctrl</code> while activating a menu item to prevent that menu from closing.</li>
<li>Many applications can open a compatible file if you drag-and-drop it into their window.</li>
<li>Change default file and protocol associations in <code>~/.config/LaunchServer.ini</code>.</li>
</ul>
<h3 id="window-management"><a style="margin-right: 15px" href="#window-management">#</a>Window Management</h3>
<ul>
<li>Double-click a window's title bar to maximize it.</li>
<li>Click on a window's icon to open the window's context menu.</li>
<li>Double-click on the edge of an application's window to maximize it in that direction.</li>
<li>Middle-click on a window's maximize button to extend the window vertically (this can be undone in the same way).</li>
<li>Drag resizable windows to any side or corner of the screen to automatically resize them to fill half or one-quarter of the screen.</li>
<li>Right-click on the Workspace Picker applet and select 'Workspace Settings' to easily customize the number and layout of Workspaces (virtual desktops).</li>
</ul>
<h3 id="fun"><a style="margin-right: 15px" href="#fun">#</a>Fun</h3>
<ul>
<li>It can help to get a second pair of <code>$ Eyes</code> on a problem… or fifty: <code>$ Eyes -n 100</code>.</li>
</ul>
<h2 id="applications"><a style="margin-right: 15px" href="#applications">#</a>Applications</h2>
<h3 id="assistant"><a style="margin-right: 15px" href="#assistant">#</a><a href="/man1/Applications/Assistant.html">Assistant</a></h3>
<ul>
<li>Assistant can help you to quickly find files and launch applications. Open it with <code>Super+Space</code>.</li>
<li>Enter a URL to open it in the web browser, e.g. <code>serenityos.org</code>.</li>
<li>Perform quick calculations by typing the equal sign (=) followed by a mathematical expression, e.g. <code>=22*101</code>. Press Return to copy the result.</li>
<li>Run commands in the terminal by prefixing them with a dollar sign ($), e.g. <code>$ uname -a</code>.</li>
</ul>
<h3 id="browser"><a style="margin-right: 15px" href="#browser">#</a><a href="/man1/Applications/Browser.html">Browser</a></h3>
<ul>
<li>Browser has built-in content filtering, which can be used for ad blocking. Update the filters in <code>~/.config/BrowserContentFiltering.txt</code>.</li>
</ul>
<h3 id="keyboard-mapper"><a style="margin-right: 15px" href="#keyboard-mapper">#</a>Keyboard Mapper</h3>
<ul>
<li>Create and edit custom keymaps with <code>$ KeyboardMapper</code>.</li>
</ul>
<h3 id="run"><a style="margin-right: 15px" href="#run">#</a>Run</h3>
<ul>
<li>The Run dialog accepts all <a href="/man5/Shell.html">Shell</a> commands.</li>
</ul>
<h3 id="terminal"><a style="margin-right: 15px" href="#terminal">#</a><a href="/man1/Applications/Terminal.html">Terminal</a></h3>
<ul>
<li>Some of the bold or underlined text in Terminal can be double-clicked to open or right-clicked for additional actions.
<ul>
<li>For example, right-click on a file or folder and select 'Copy URL' to copy the path.</li>
</ul></li>
<li>Many Serenity applications already have convenient aliases. Use <code>$ cat /etc/shellrc</code> to view them.</li>
</ul>
<h3 id="text-editor"><a style="margin-right: 15px" href="#text-editor">#</a><a href="/man1/Applications/TextEditor.html">Text Editor</a></h3>
<ul>
<li>Text files can be dragged directly from Terminal and dropped on Text Editor to open them.</li>
<li>Text Editor has multiple viewing modes. You can edit HTML or Markdown and live preview it at the same time.</li>
</ul>
<h2 id="development"><a style="margin-right: 15px" href="#development">#</a>Development</h2>
<ul>
<li>Supplying <code># profile</code> with a process identifier (PID) of <code>-1</code> as root enables systemwide profiling.</li>
<li>Easily transfer files from QEMU to your host machine by using the built-in web server. In the terminal enter <code>ws .</code> to start a WebServer instance for the current working directory. Then open <code>localhost:8000</code> on your host machine.</li>
</ul>
<h2 id="see-also"><a style="margin-right: 15px" href="#see-also">#</a>See also</h2>
<ul>
<li><a href="/man7/KeyboardShortcuts.html">Keyboard Shortcuts</a></li>
</ul>
</body>
</html>