summaryrefslogtreecommitdiffstats
path: root/doc/faq/notrelated.docbook
blob: 5440341c1240834fd9849d8eb3af7f1fbb4250cb (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
<!-- if you want to validate this file separately, uncomment this prolog:

<?xml version="1.0" ?>
<!DOCTYPE chapter PUBLIC "-//KDE//DTD DocBook XML V4.2-Based Variant V1.1//EN"
 "dtd/kdex.dtd">

-->

<chapter id="not-kde">
<title>Not really &tde;-related, but frequently asked nevertheless.</title>

<qandaset>
<qandaentry>
<question>
<para>How do I change the screen resolution?</para>
</question>
<answer>
<para>Use <keycombo
action="simul">&Ctrl;&Alt;<keycap>+</keycap></keycombo> and <keycombo
action="simul">&Ctrl;&Alt;<keycap>-</keycap></keycombo> to cycle through
the resolutions you have defined in <filename>XF86Config</filename> (maybe under
<filename class="directory">/etc/X11</filename>; poke around first).
If you prefer to get your hands dirty, you can always edit the file
directly.  By placing your favorite resolution at the beginning (or
making it the only one listed), &X-Window; will always start up with that
resolution.
<caution><para>Always make a backup copy of your <filename>XF86Config</filename> file
<emphasis>before</emphasis> you start editing it.  Errors in this file
can render &X-Window; unusable.</para></caution>
<note><para>These instructions are only valid if you are running
version 3.3.x of the XFree86 server.  If you are running XFree86 4.x,
you must consult with the <ulink url="http://xfree.org">XFree86(TM):
Home Page</ulink>.</para></note></para>
</answer>
</qandaentry>

<qandaentry>
<question>
<para>How do I change the color depth?</para>
</question>
<answer>
<para>There is no way you can do this on the fly.  You can either
start &X-Window; using <command>startx <option> -bpp
<replaceable>number</replaceable></option></command> where
<replaceable>number</replaceable> can be 8, 16, 24 or 32, depending on
the depth you want. Alternatively, if you are using
<application>xdm</application>/&tdm;, you
need to edit
<filename>/etc/X11/xdm/Xservers</filename> (may vary) and enter
<userinput>:0 local /usr/X11R6/bin/X -bpp 16</userinput> for 16 bit color
depth.</para>
<para>You can also edit the <filename>XF86Config</filename> file and add a line
like <userinput>DefaultColorDepth
<replaceable>number</replaceable></userinput> to Section "Screen".
The next time you start X, it will run with the newly-configured color
depth.</para>
</answer>
</qandaentry>

<qandaentry>
<question>
<para>What can I do if I am using a 2-button mouse?</para>
</question>
<answer>
<para>Go buy a 3-button one, or use third button emulation.  The third
button is emulated by pressing both the &LMB; and the &RMB;
together.  You would need to enable <option>Emulate3Buttons</option>
in your <filename>XF86Config</filename> file.</para>
</answer>
</qandaentry>

<qandaentry>
<question>
<para>What is a "sticky" window?</para>
</question>
<answer>
<para>In a virtual desktop environment with multiple virtual desktops, a
"sticky" window will stay put on the screen when you switch between
desktops, as if sticking to the glass of the screen.
<application>Xclock</application> is a typical candidate for sticking,
as you need to run only one instance of it, and it always stays with
you.</para>
</answer>
</qandaentry>

<qandaentry>
<question>
<para>How do I replace the "X" mouse pointer with an arrow?</para>
</question>
<answer>
<para>The various types of cursor available in X are defined in
<filename class="headerfile">X11/cursorfont.h</filename>.  You can
change it using <command>xsetroot -cursor_name
<replaceable>name_of_cursor</replaceable></command>.  For example, I
have the following in my <filename>.Xclients</filename>:</para>
<screen>
xsetroot -cursor_name left_ptr
</screen>
<para>This will create the common left-angled pointer.  To see other
alternatives, type <command>xfd -fn cursor</command>.  And of course,
do not forget that <command>man xsetroot</command> is your
friend.</para>
</answer>
</qandaentry>

<qandaentry>
<question>
<para>How do I extract/install diff files?</para>
</question>
<answer>
<para>To generate a context-diff suitable for patching, use
<command>diff -u <replaceable>old-file new-file</replaceable> &gt;
<replaceable>patchfile</replaceable></command>.  To apply the diff to
a file (<abbrev>i.e.</abbrev> "patch the file"), execute
<command>patch &lt; <replaceable>patchfile</replaceable></command>.</para>
</answer>
</qandaentry>

<qandaentry>
<question>
<para>How do I get &Linux; to mount the floppy device for use with both
DOS and ext2 formatted floppies?</para>
</question>
<answer>
<para>Just specify the filesystem type as auto in
<filename>/etc/fstab</filename>.  Auto detection works fine for DOS and
ext2.</para>
</answer>
</qandaentry>

<qandaentry>
<question>
<para>How do I start &tde; with the <keycap>Num Lock</keycap> on?</para>
</question>
<answer>
<para>Have you tried <command>man setleds</command>?  In addition, you
might want to edit your
<filename>$<envar>HOME</envar>/.Xmodmap</filename> and put the
following lines in:</para>
<screen>
! redefines numeric keypad to be used without NumLock
keycode 79 = 7
keycode 80 = 8
keycode 81 = 9

keycode 83 = 4
keycode 84 = 5
keycode 85 = 6

keycode 87 = 1
keycode 88 = 2
keycode 89 = 3

keycode 90 = 0
keycode 91 = comma
keycode 86 = plus

! deactivates NumLock key
keycode 77 =
</screen>
<para>Other possible alternatives:</para>
<itemizedlist>
<listitem><para><application>xkeycaps</application>:
<mousebutton>right</mousebutton> clicking should allow edits.  You may
have to do this as root.</para></listitem>
<listitem><para><command>man XF86Config</command> and look under
section Keyboard.</para></listitem>
<listitem><para>Install <application>NumLockX</application>, which is
available from <ulink
url="http://dforce.sh.cvut.cz/~seli/en/numlockx">http://dforce.sh.cvut.cz/~seli/en/numlockx</ulink>.</para></listitem>
</itemizedlist>
</answer>
</qandaentry>

<qandaentry>
<question>
<para>How do I take window or desktop screenshots?</para>
</question>
<answer>
<para>Use &ksnapshot;.</para>
</answer>
</qandaentry>

<qandaentry>
<question>
<para>Is there a tool to make webpages?</para>
</question>
<answer>
<para>Yes, and there are a lot of them out there, including
<application>StarOffice</application>, <application>&Netscape; Composer</application>, and
<application>XEmacs</application>.
There are also many &tde; applications.  To find the most current
list, go to <ulink url="http://kde-apps.org">kde-apps.org: The
Latest in &tde; Applications</ulink> and search for <emphasis>web
development</emphasis>.  Try as many as possible and choose the one
most suitable to your needs.</para>
</answer>
</qandaentry>

<qandaentry>
<question>
<para>What do all those acronyms like AFAIK mean?</para>
</question>
<answer>
<para><screen>
AAMOF: as a matter of fact
AFAIK: as far as I know
AISE: as I see it
BFN: bye for now
BION: believe it or not
BRB: be right back
BTW: by the way
CMIIW: correct me if I am wrong
FUD: fear, uncertainty, and doubt
FWIW: for what it's worth
FYI: for your information
HTH: hope this helps
IIRC: if I recall correctly
IMHO: in my humble opinion
LOL: laughing out loud
MYOB: mind your own business
PITA: pain in the ass
ROTFL: rolling on the floor laughing
RTFM: read the fine manual
SOP: standard operating procedure
TIA: thanks in advance
YMMV: your mileage may vary
</screen></para>
</answer>
</qandaentry>
</qandaset>
</chapter>