summaryrefslogtreecommitdiffstats
path: root/konsole/tips
blob: 1176417fdf75047a0366e99f6d0678b9f034a4a1 (plain)
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
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258

<tip category="Konsole|Tab">
<html>
<p>...that right-clicking on any tab allows for the changing of the tab text color?
</html>
</tip>

<tip category="Konsole|Tab">
<html>
<p>...that the tab text color can be changed with the code \e[28;COLORt (COLOR: 0-16,777,215)?
</html>
</tip>

<tip category="Konsole">
<html>
<p>...that the code \e[8;ROW;COLUMNt will resize Konsole?
</html>
</tip>

<tip category="Konsole">
<html>
<p>...that you can start a new standard session by pressing the "New" button in the tabbar?
</html>
</tip>

<tip category="Konsole">
<html>
<p>...that pressing and holding the "New" button on the tabbar will display a menu of sessions to select?
</html>
</tip>

<tip category="Konsole">
<html>
<p>...that pressing Ctrl+Alt+N will start a new standard session?
</html>
</tip>

<tip category="Konsole|Keyboard">
<html>
<p>...that you can cycle through the Konsole sessions by holding down the Shift key and
pressing the Left or Right Arrow keys?
</html>
</tip>

<tip category="Konsole">
<html>
<p>...that you can get a 'Linux console-like' terminal? 
<p>Hide Konsole's menubar, tabbar and scrollbar, select the Linux font
and the Linux Colors schema and apply the full-screen mode. You might also 
want to set the KDE panel to auto-hide.
</html>
</tip>

<tip category="Konsole">
<html>
<p>...that you can rename your Konsole sessions by clicking with the right mouse
button and selecting "Rename session"? The change will be reflected in the
Konsole tabbar, making it easier to remember the content of the session.
</html>
</tip>

<tip category="Konsole">
<html>
<p>...that you can rename a Konsole session by double-clicking its tab?
</html>
</tip>

<tip category="Konsole|Keyboard">
<html>
<p>...that you can activate the menu with the Ctrl+Alt+M shortcut?
</html>
</tip>

<tip category="Konsole|Keyboard">
<html>
<p>...that you can rename your current Konsole session with the Ctrl+Alt+S shortcut?
</html>
</tip>

<tip category="Konsole">
<html>
<p>...that you can create your own session types by using the session 
editor which you can find under "Settings->Configure Konsole..."?
</html>
</tip>

<tip category="Konsole">
<html>
<p>...that you can create your own color schemes by using the schema editor
which you can find under "Settings->Configure Konsole..."?
</p>
</html>
</tip>

<tip category="Konsole">
<html>
<p>...that you can move a session by holding down the middle mouse button over the tab?
</p>
</html>
</tip>

<tip category="Konsole|Keyboard">
<html>
<p>...that you can reorder the session tabs with "View->Move Session Left/Right" menu
commands or by holding down the Shift and Ctrl keys and pressing the Left or Right 
Arrow keys?
</p>
</html>
</tip>

<tip category="Konsole|Keyboard">
<html>
<p>...that you can scroll pagewise in the history by holding down the Shift key 
and pressing the Page Up or Page Down keys?
</html>
</tip>

<tip category="Konsole|Keyboard">
<html>
<p>...that you can scroll linewise in the history by holding down the Shift key 
and pressing the Up or Down Arrow keys?
</html>
</tip>

<tip category="Konsole|Keyboard">
<html>
<p>...that you can insert the clipboard by holding down the Shift key and 
pressing the Insert key?
</html>
</tip>

<tip category="Konsole|Keyboard">
<html>
<p>...that you can insert the X selection by holding down the Shift and
Ctrl keys and pressing the Insert key?
</html>
</tip>

<tip category="Konsole">
<html>
<p>...that pressing Ctrl while pasting the selection with the middle mouse
button will append a carriage return after pasting the selection buffer?
</html>
</tip>

<tip category="Konsole">
<html>
<p>...that you can turn off the terminal size hint under "Settings->Configure Konsole..."?
</html>
</tip>

<tip category="Konsole">
<html>
<p>...that pressing Ctrl while selecting text will let Konsole ignore line breaks?
</html>
</tip>

<tip category="Konsole">
<html>
<p>...that pressing the Ctrl and Alt keys while selecting text will let Konsole select columns?
</html>
</tip>

<tip category="Konsole">
<html>
<p>...that when a program evaluates the right mouse button you can still
get the right mouse button pop-up menu while pressing the Shift key?
</html>
</tip>

<tip category="Konsole">
<html>
<p>...that when a program evaluates the left mouse button you can still select
text while pressing the Shift key?
</html>
</tip>

<tip category="Konsole">
<html>
<p>...that you can let Konsole set the current directory as the window title?
For Bash, put 'export PS1=$PS1"\[\e[0m\H:\w\a\]"' in your ~/.bashrc .
</html>
</tip>

<tip category="Konsole">
<html>
<p>...that you can let Konsole set the current directory as the session name?
For Bash, put 'export PS1=$PS1"\[\e[30m\H:\w\a\]"' in your ~/.bashrc .
</html>
</tip>

<tip category="Konsole">
<html>
<p>...that if you let your shell pass the current directory to Konsole within the prompt
variable, e.g. for Bash with 'export PS1=$PS1"\[\e[31m\w\a\]"' in your ~/.bashrc, then
Konsole can bookmark it, and session management will remember your current working directory
on non-Linux systems too?
</html>
</tip>

<tip category="Konsole">
<html>
<p>...that working with remote hosts in Konsole can be made much easier by setting the
prompt to correctly show your hostname and present path? Try setting your prompt in our
~/.bashrc with: "export PS1='\[\e[0m\h:\w> '" You can then just select your prompt and
press middle-mouse to paste it as the source or destination on the command line.
</html>
</tip>

<tip category="Konsole">
<html>
<p>...that you can temporarily set the prompt for Konsole by setting the 'PS1=' variable
without having to edit your ~/.bashrc. Try entering the following on the command line to
set your prompt. It will also include the current time before the path:
PS1='\[\e[0;37m\]\A\[\e[1;34m\] \[\e[1;34m\]\h:\w> \[\e[0m\]'
</html>
</tip>

<tip category="Konsole">
<html>
<p>...that double-clicking will select a whole word?
<p>When you don't release the mouse button after the second click you
can extend your selection by additional words when moving the mouse.
</html>
</tip>

<tip category="Konsole">
<html>
<p>...that triple-clicking will select a whole line?
<p>When you don't release the mouse button after the third click you
can extend your selection by additional lines when moving the mouse.
</html>
</tip>


<tip category="Konsole">
<html>
<p>...that if you drag &amp; drop a URL into a Konsole window you are presented with a
menu giving the option to copy or move the specified file into the current working directory,
as well as just pasting the URL as text.
<p>This works with any type of URL which KDE supports.
</html>
</tip>


<tip category="Konsole">
<html>
<p>...that the "Settings->Configure Shortcuts..." dialog allows you to define keyboard shortcuts for actions
not shown in the menu, like activating menu, changing font and for listing and switching sessions?
</html>
</tip>


<tip category="Konsole">
<html>
<p>...that right-clicking over the "New" button in the left corner of the tabbar or in an empty tabbar space displays a menu where you can set several tab options?
</html>
</tip>