Added Table of Contents
[ikiwiki.git] / varialus / index.mdwn
... / ...
CommitLineData
1# et
2# Anisoptera
3*The following is an unpaid personal wiki page. The views and opinions expressed herein do not necessarily reflect those of the DragonFly BSD mascot nor its management.*
4
5## Table of Contents
6
71. **Featured**
8
9* Xfce 4.6 Installation Walkthrough
10
112. **Tidbits**
12
13* Hammer
14* DragonFly BSD
15* Xfce
16* Dissonance/Apache Harmony
17* Jython/Python
18* ee/nano
19* pkgin/apt-get
20
213. **Reminders**
22
23* DNS Settings in Debian Squeeze
24* Shutdown command in DragonFly BSD
25
264. **Issues**
27
28* Disclaimer
29* Default GUI Too Bare
30* Early Keyboard Selection
31* GUI Keyboard Selection
32* Encryption Keyboard Selection
33* Disabled Caps Lock in GUI
34* Random Key for Encrypted Swap
35* Stay Decrypted for Configuration
36* No Confirmation for Decryption
37* Plain Text Password in Install Log
38* USB Installation Media Named Uniquely
39* 3TB+ HD Install
40* Overwrite 3TB+ Partition Table
41* Lackluster Default Shell
42* Wiki Centered Text
43* XOrg Quit Errors
44
455. **Workarounds**
46
47* Enable Caps Lock in GUI
48* Install Non-GUI on 3TB+ Hard Drive
49* Install Xfce 4.6 (Notes)
50* Install Xfce 4.8 (Stub)
51* Install Xfce 4.10 (Stub)
52* Set GUI Keyboard Layout
53
54## Featured
55
56**Walkthrough of Xfce 4.6 Installation via Custom DVD/IMG Installer**
57
58There is a new [Xfce based DVD/IMG installer](http://island.quantumachine.net/~swildner/LiveDVD/x86_64/) which is built by [one of](http://leaf.dragonflybsd.org/mailarchive/users/2012-07/msg00123.html) the [DragonFly BSD team members](http://www.dragonflybsd.org/team/). As far as I can tell it is functionally identical to the official GUI installer except that it includes the Xfce 4.6 desktop environment rather than the FVWM window manager. Please help test it out so that we can hopefully get it included in the next stable release!
59
601. Download and extract the [Xfce installer](http://island.quantumachine.net/~swildner/LiveDVD/).
612. If the version of the installer is less than or equal to 20120826-2055, then installing onto a uniprocessor computer may not work.
623. If installng onto a VirtualBox virtual machine, the recommended operating system type is FreeBSD (64 bit).
634. If installing onto a VirtualBox virtual machine, set the hardware clock to UTC time.
645. After starting the computer but before it finishes booting, you will be greeted with the following boot menu.
65
66
67 DragonFly/i386 bootstrap loader, Revision 1.1
68 (s@advancer.yo, Sun Aug 26 21:24:11 CEST 2012)
69 |
70 1. Boot DragonFly [kernel] | ,--, | ,--,
71 2. Boot DragonFly in Safe Mode | | `-, ,^, ,-' |
72 3. Boot DragonFly without AHCI driver | `, `-, (/ \) ,-' ,'
73 4. Boot DragonFly without ACPI driver | `-, `-,/ \,-' ,-'
74 9. Escape to loader prompt (also ESC) | `------( )------'
75 s. Boot DragonFly in single user mode | ,----------( )----------,
76 v. Boot DragonFly with verbose logging | | _,-( )-,_ |
77 R. Reboot | `-,__,-' \ / `-,__,-'
78 | | |
79 | | |
80 | | |
81 | | |
82 | | |
83 | | |
84 | `|'
85 |
86 Booting in 10 seconds... _
87
886. After the computer finishes booting, you will be greeted with the following welcome message and login prompt.
89
90 Welcome to DragonFly!
91
92 To Start the installer, login as 'installer'. To just get a shell prompt,
93 login as 'root'. To start a root gui, login as 'root' and run 'startx'.
94
95 DragonFly/x86_64 (dflyd.yo) (ttyv0)
96
97 login: _
98
997. Type 'installer' without quotes and press enter.
1008. You will be greeted with the following menu.
101
102 F10=Refresh Display .
103 .
104 ,--, | ,--, .
105 ------------------------| Welcome to DragonFly BSD |------------------------- .
106 | |.
107 | Welcome to the DragonFly BSD Live CD. |.
108 | |.
109 | DragonFly BSD is an efficient and elegant BSD Unix-derived operating |.
110 | system. For more information, see http://www.dragonflybsd.org |.
111 | |.
112 | From this CD, you can boot into DragonFly BSD ``live'' (without installing |.
113 | it) to evaluate it, to install it manually, or to troubleshoot problems |.
114 | with an existing installation, using either a command prompt or menu-driven |.
115 | utilities. |.
116 | |.
117 | Also, you can use this automated application to assist you in installing |.
118 | DragonFly BSD on this computer and configuring it once it is installed. |.
119 | |.
120 | < Install DragonFly BSD >_ < Configure an Installed System > |.
121 | < Live CD Utilities > < Exit to Live CD > < Reboot this Computer > |.
122 | < Setup NetBoot Install Services > |.
123 ----------------------------------------------------------------------------- .
124 .
125 .
126 Install DragonFly BSD on a HDD or HDD partition on this computer .
127
12810. The bottom line changes depending on which option is selected.
12911. Highlight the option < Install DragonFly BSD > and press enter.
13012. You will then be greeted by the following menu.
131
132 F10=Refresh Display .
133 .
134 ,--, | ,--, .
135 | `-, ,^, ,-' | .
136 `, `-, (/ \) ,-' ,' .
137 --------------------------| Begin Installation |----------------------------- .
138 | |.
139 | This application will install DragonFly BSD on one of the hard disk drives |.
140 | attached to this computer. It has been designed to make it easy to install |.
141 | DragonFly BSD in the typical case. If you have special requirements that |.
142 | are not addressed by this installer, or if you have problems using it, you |.
143 | are welcome to install DragonFly BSD manually. To do so select Exit to Live |.
144 | CD, login as root, and follow the instructions given in the file /README . |.
145 | |.
146 | NOTE! As with any installation process, YOU ARE STRONGLY ENCOURAGED TO BACK |.
147 | UP ANY IMPORTANT DATA ON THIS COMPUTER BEFORE PROCEEDING! |.
148 | |.
149 | < Install DragonFly BSD >_ < Return to Welcome Menu > < Exit to Live CD > |.
150 ----------------------------| Press F1 for Help |---------------------------- .
151 .
152 .
153 .
154 .
155 .
156 .
157 .
158
15913. Highlight the option < Install DragonFly BSD > and press enter.
16014. The following menu, specific to your hardware, will be displayed.
161
162 F10=Refresh Display .
163 .
164 ,--, | ,--, .
165 | `-, ,^, ,-' | .
166 `, `-, (/ \) ,-' ,' .
167 `-, `-,/ \,-' ,-' .
168 `------( )------' .
169 ,----------( )----------, .
170 | _,-( )-,_ | .
171 ----------------------| Select Disk |----------------------,__,-' .
172 | | .
173 | Select a disk on which to install DragonFly BSD | .
174 | | .
175 | < ad1: 1337TB <VBOX HARDDISK 1.0> at ata0-master UDMA33 >_| .
176 | < Return to Begin Installation > | .
177 ----------------------------------------------------------- .
178 `|' .
179 .
180 .
181 .
182 .
183 .
184 .
185 .
186 .
187
18815. Highlight the disk on which to install DragonFly BSD and press Enter.
18916. The following menu will be displayed.
190
191 F10=Refresh Display .
192 .
193 ,--, | ,--, .
194 | `-, ,^, ,-' | .
195 `, `-, (/ \) ,-' ,' .
196 `-, `-,/ \,-' ,-' .
197 `------( )------' .
198 ,----------( )----------, .
199 ----------------------------| Select Disk |---------------------- | .
200 | |' .
201 | Select how much of this disk you want to use for DragonFly BSD | .
202 | | .
203 | ad1: 1337TB <VBOX HARDDISK 1.0> at ata0-master UDMA33 | .
204 | | .
205 | < Use Entire Disk >_ < Use Part of Disk > | .
206 | < Return to Select Disk > | .
207 ----------------------------------------------------------------- .
208 .
209 .
210 .
211 .
212 .
213 .
214 .
215 .
216
21717. If you would like to use your entire disk, then highlight < Use Entire Disk > and press enter.
21818. The following menu will be displayed.
219
220 F10=Refresh Display .
221 .
222 ,--, | ,--, .
223 | `-, ,^, ,-' | .
224 ------| Are you absolutely sure? |------/ \) ,-' ,' .
225 | | \,-' ,-' .
226 | WARNING! ALL data in ALL partitions on | )------' .
227 | the disk | )----------, .
228 | | )-,_ | .
229 | ad1: 1337TB <VBOX HARDDISK 1.0> at | / `-,__,-' .
230 | ata0-master UDMA33 | | .
231 | | | .
232 | will be IRREVOCABLY ERASED! | | .
233 | | | .
234 | Are you ABSOLUTELY SURE you wish to | | .
235 | take this action? This is your LAST | | .
236 | CHANCE to cancel! ||' .
237 | | .
238 | < OK >_ < Cancel > | .
239 ---------------------------------------- .
240 .
241 .
242 .
243 .
244 .
245
24619. If you are absolutely sure, highlight < OK > and press enter.
24720. The following menu will be displayed.
248
249 F10=Refresh Display .
250 .
251 ,--, | ,--, .
252 | `-, ,^, ,-' | .
253 `, `-, (/ \) ,-' ,' .
254 `-, `-,/ \,-' ,-' .
255 `------( )------' .
256 ---------| Information |-------------( )----------, .
257 | |( )-,_ | .
258 | The disk |\ / `-,__,-' .
259 | | | | .
260 | ad1: 1337TB <VBOX HARDDISK 1.0> at | | | .
261 | ata0-master UDMA33 | | | .
262 | | | | .
263 | was formatted. | | | .
264 | | | | .
265 | < OK > | `|' .
266 ------------------------------------ .
267 .
268 .
269 .
270 .
271 .
272 .
273 .
274
27521. Press enter.
27622. The following menu will be displayed.
277
278 F10=Refresh Display .
279 .
280 ,--, | ,--, .
281 | `-, ,^, ,-' | .
282 `, `-, (/ \) ,-' ,' .
283 `-, `-,/ \,-' ,-' .
284 `------( )------' .
285 -----------------| Select file system |------------------------, .
286 | | | .
287 | Please select the file system you want to use with |,__,-' .
288 | DragonFly BSD. | .
289 | | .
290 | HAMMER is the new DragonFly BSD file system. UFS is the | .
291 | traditional BSD file system. | .
292 | | .
293 | < Use HAMMER >_ < Use UFS > < Return to Select Disk > | .
294 --------------------------------------------------------- .
295 .
296 .
297 .
298 .
299 .
300 .
301 .
302 .
303
30423. If you want to use HAMMER, and honestly why wouldn't you, then highlight HAMMER and press enter.
30524. The following menu will be displayed.
306
307 F10=Refresh Display .
308 .
309 ,--, | ,--, .
310 --------------------| Create Subpartitions |--------------------- | .
311 | | ,' .
312 | Set up the partitions (also knows as just `partitions' in |' .
313 | BSD tradition) you want to have on this primary partition. In | .
314 | most cases you should be fine with the default settings. |-, .
315 | | | .
316 | For Capacity, use 'M' to indicate megabytes, 'G' to indicate |-' .
317 | gigabytes, or a single '*' to indicate 'use the remaining space | .
318 | on the primary partition'. | .
319 | | .
320 | Mountpoint Capacity Encrypted | .
321 | [/boot_ ] [768M ] [ ] < Ins > < Del > | .
322 | [swap ] [2048M ] [ ] < Ins > < Del > | .
323 | [/ ] [* ] [ ] < Ins > < Del > | .
324 | < Add > | .
325 | | .
326 | < Accept and Create > < Return to Select Disk > | .
327 -------------------| Press F1 for Help |------------------------- .
328 .
329 .
330 .
331 .
332
33325. Highlight < Accept and Create > and press enter.
33426. The following menu will be displayed.
335
336 F10=Refresh Display .
337 .
338 ,--, | ,--, .
339 | `-, ,^, ,-' | .
340 `, `-, (/ \) ,-' ,' .
341 `-, `-,/ \,-' ,-' .
342 -------------------------| Install OS |-------------------------- .
343 | |-, .
344 | Everything is now ready to install the actual files which | | .
345 | comprise the DragonFly BSD operating system on the selected |-' .
346 | partition of the selected disk. | .
347 | | .
348 | Note that this process will take quite a while to finish. You | .
349 | may wish to take a break now and come back to the computer in a | .
350 | short while. | .
351 | | .
352 | < Begin Installing Files >_ < Return to Create Subpartitions > | .
353 ----------------------------------------------------------------- .
354 .
355 .
356 .
357 .
358 .
359 .
360 .
361 .
362
36327. Highlight < Begin Installing Files > and press enter.
36428. The following progress bar will be displayed.
365
366 F10=Refresh Display .
367 .
368 ,--, | ,--, .
369 | `-, ,^, ,-' | .
370 `, `-, (/ \) ,-' ,' .
371 `-, `-,/ \,-' ,-' .
372 `------( )------' .
373 ,----------( )----------, .
374 -------------------| Executing Commands |------------------- | .
375 | |_,-' .
376 | /bin/cpdup -o -vvv -u /usr/pkg /mnt/usr/pkg | .
377 | | .
378 | [*#################58%# ] | .
379 | | .
380 | < Cancel >_ | .
381 ------------------------------------------------------------ .
382 `|' .
383 .
384 .
385 .
386 .
387 .
388 .
389 .
390 .
391
39229. Go brush your teeth. And don't forget to floss.
39330. When it finishes, the following menu will be displayed.
394
395 F10=Refresh Display .
396 .
397 ,--, | ,--, .
398 | `-, ,^, ,-' | .
399 ---------------| Install Bootblock(s) |----------------,-' ,' .
400 | | ,-' .
401 | You may now wish to install bootblocks on one or more |--' .
402 | disks. If you already have a boot manager installed, |------, .
403 | you can skip this step (but you may have to configure | | .
404 | your boot manager separately.) If you installed |-,__,-' .
405 | DragonFly BSD on a disk other than your first disk, | .
406 | you will need to put the bootblock on at least your | .
407 | first disk and the DragonFly disk. | .
408 | | .
409 | Disk Drive Install Bootblock? Packet Mode? | .
410 | [ad1_ ] [X] [X] | .
411 | | .
412 | < Accept and Install Bootblocks > | .
413 | < Skip this Step > | .
414 -----------------| Press F1 for Help |----------------- .
415 .
416 .
417 .
418 .
419 The disk on which you wish to install a bootblock .
420
42131. Highlight < Accept and Install Bootblocks > and press enter.
42232. An Information dialog box will be displayed which says: Bootblocks were successfully installed!
42333. Press enter.
42434. The following menu will be displayed.
425
426 ---| DragonFly BSD is Installed! |--
427 |
428 | Congratulations!
429 |
430 | DragonFly BSD has successfully been installed on this computer.
431 | You may now proceed to configure the installation. Alternately,
432 | you may wish to reboot the computer and boot into the installed
433 | system to confirm that it works.
434 |
435 | < Configure this System >_ < Reboot >
436 | < Return to Welcome Menu >
437 ---
438
439## Tidbits
440* **Hammer** is hands down the best file system currently in existence. It has block level deduplication, it is supported out of the box by operating system with great underpinnings, and it runs great on regular hardware.
441* **DragonFly BSD** is an awesome operating system for many reasons other than that it's the only OS with Hammer, but Hammer is why I'm making the switch. DragonFly's default GUI configuration is a bit rough around the edges for everyday use. But it's nothing that a little ironing can't fix.
442* **[Xfce](http://xfce.org/)** is a lightweight yet feature rich desktop environment. It has maintains an excellent balance between [innovation and compatibility](http://lwn.net/Articles/430598/).
443* **[Dissonance](https://bitbucket.org/varialus/dissonance)** is my fork of Apache Harmony, which is a clean room implementation of Java with a permissive license. Sun and now Oracle refuse to license the TCK, a tool used to validate Java compatibility, for use with Harmony. As a result of the dissonance caused by this refusal to cooperate with the community, Apache retired Harmony and resigned from the Java Community Process Executive Committee. I would have preferred for Apache and the community to have instead just written their own TCK, but I don't know what effects the dissonance had on their organization and it was their decision to make, so I can't blame them. It's unfortunate that such a great project has been effectively abandoned, and so it it is with that in mind that I call on the community to support Dissonance; make your own TCK and make it so much better so as to make passing Oracle's TCK effectively meaningless.
444* **[Jython](http://www.jython.org/)** is Python written in Java. It's not included in DragonFly BSD by default, but it's a great tool and I use it.
445* **ee** is roughly equivalent to **nano**. They are both easy to use command line text editors. The exit option will ask you whether you want to save. You can get to the exit confirmation by pressing Ctrl-[ and selecting 'a) leave editor'.
446* **pkgin** is roughly equivalent to **apt-get**. They are both fairly straightforward command line package management utilities.
447
448## Reminders
449* If NetworkManager Applet is installed, use it to override an unreliable DNS server rather than editing /etc/resolv.conf directly. Observed in NetworkManager 0.8.1 on Debian Squeeze.
450* In DragonFly BSD the command *shutdown -p now* will shutdown and turn off your computer. Using the -h switch instead of -p will shutdown and halt the computer but not turn it off. In Debian and probably other Linux distributions, the command *shutdown -h now* will shutdown and turn off your computer. The -p switch isn't available, but there may be a way to shutdown and halt without turning off your computer.
451
452## Issues
453* Varialus should ensure that these issues are properly logged. Yes, I know that they should be properly logged and I intend to eventually get them all logged. In the mean time hopefully my notes will help someone still trying to find the answers to life's persistent questions.
454* The installer should offer the Xfce desktop environment as a supported option. Observed in DragonFly 3.0.2. See workaround below.
455* The installer should set the keyboard layout before any typing is required. Observed in DragonFly 3.0.2.
456* The installer should set the keyboard layout for the GUI. Observed in DragonFly 3.0.2. See workaround below.
457* The installer should set the keyboard layout for the encryption password prompt. Observed in DragonFly 3.0.2.
458* The installer should configure the keyboard within the GUI to be able to use the caps lock key. Observed in DragonFly 3.0.2. See workaround below.
459* When encrypting the swap partition, the installer should configure the boot loader to generate a random key each time the system is booted so that the password doesn't have to be typed twice when the system is booted. Observed in DragonFly 3.0.2.
460* When configuring the system from the installer, if the system just finished installing with encryption, the hard drive should stay unlocked so that the user doesn't have to type in his password again. Observed in DragonFly 3.0.2.
461* When configuring the system from the installer, if the system is encrypted but was not just barely installed, the user should only have to type in his password once, not twice. Observed in DragonFly 3.0.2.
462* When creating a user password in the installer, the password should not be written to a plain text installation log. Observed in DragonFly BSD 3.0.2.
463* When installing from a USB device onto a USB device, the installer should ensure that installed media is named such that when booted without the USB installer, the installed device name doesn't change. Observed in DragonFly 3.0.2.
464* When installing onto a 3TB+ hard drive, the default partition table should be able to handle that size. Observed in DragonFly 3.0.2. Fixed and tested in snapshot on 8/14/2012. See workaround below.
465* After selecting to install using all of a 3TB+ hard drive that already has an MS-DOS/MBR partition table on it, the installer should overwrite the partition table with an adequate partition table such as GPT. Observed in snapshot on 8/14/2012.
466* The default shell provided by the installer should list valid auto completion options after typing a partial command and then pressing tab two or more times. Observed in DragonFly 3.0.2.
467* ->Excepting the bullet point, this syntax should center text in this wiki.<- Observed on 8/25/2012.
468* The following errors should not occur when quitting from the GUI.
469
470 waiting for X server to shut down xterm: fatal IO error 35 (Resource temporarily unavailable) or KillClient on X server ":0.0"
471 xterm: fatal IO error 35 (Resource temporarily unavailable) or KillClient on X server "0.0"
472 failed to unset mtrr: Device not configured
473
474
475 xauth: (argv):1: bad display name "myhostname.mysubdomain.mytld:0" in "remove" command
476
477 Observed in DragonFly BSD 3.0.2 64-bit on VirtualBox 4.1.20 in Debian Squeeze.
478
479## Workarounds
480**Enable the Caps Lock Key within the GUI**
481
482Edit the file /etc/X11/xorg.conf.
483
484 ee /etc/X11/xorg.conf
485
486Delete the ctrl:nocaps XkbOptions option from the InputDevice section with the identifier Keyboard0 of the xorg.conf file. Or comment it out by prefixing the line with the # symbol.
487
488 Section "InputDevice"
489 Identifier "Keyboard0"
490 Driver "kbd"
491 #Option "XkbOptions" "ctrl:nocaps"
492 EndSection
493
494Observed in DragonFly BSD 3.0.2.
495
496**Install Non-GUI on 3TB+ Hard Drive**
497
498*WARNING:* This workaround includes instructions which will delete all data from a hard drive.
499
500Delete the partition table from the hard drive. There are various tools with which to do this, one particularly easy to use tool is the [GParted Live CD/USB](http://gparted.sourceforge.net/livecd.php).
501
502Install from a [snapshot version of DragonFly](http://avalon.dragonflybsd.org/snapshots/). Be aware that snapshot versions are less thoroughly tested than stable releases.
503
504Tested in snapshot on 8/14/2012.
505
506**Install Xfce 4.6**
507
508*WARNING:* This workaround is not yet complete. Contributions are welcome.
509
510The following testing is being done with a root account and no user account. Additional testing with a regular user account will be done later.
511
512*DragonFly BSD 3.1-DEVELOPMENT Non-GUI Instructions*
513
514Summary
515
516* Install XOrg if it's not already installed.
517* Ensure that mouse works.
518* Get the xfce4 meta-package make file.
519* Install binary files listed in xfce4 meta-package make file.
520
521These instructions are currently a mess. They're currently just a rough outline of how I got it working. I'll go through and clean it up later.
522
523Get a list of which packages would be included if Xfce was installed from source. If you haven't already done so, [create and update the pkgsrc tree](http://www.dragonflybsd.org/docs/howtos/HowToPkgsrc/#index2h2). Running make pkgsrc-create failed for me when I ran it in my virtual machine with 2 GB, but succeeded when I ran it with 3171 MB.
524
525 cd /usr/
526 make pkgsrc-create
527 make pkgsrc-update
528 cd /usr/pkgsrc/meta-pkgs/xfce4
529 pkgin update
530 pkgin in `cat Makefile | grep -E "xfce4.*mk" | sed -e 's/.include.*\/xf/xf/g' -e 's/\/.*/ /g' | tr -d "\n"`
531 pkg_radd modular-xorg
532 ls /dev/
533
534Log into another console window by pressing Ctrl-Alt-F2 or in VirtualBox, Alt-F2.
535
536 man moused
537
538Scroll down until you find where it mentions mouse dev names.
539
540 ee /etc/X11/xorg.conf
541
542Comment out the /dev/sysmouse line by putting a # in front of it. Add the following line.
543
544 Option "Device" "/dev/psm0"
545
546Except replace psm0 with whichever mouse you've got listed in /dev. Then save the file.
547
548 startxfce4
549
550*DragonFly BSD 3.0.2 GUI Instructions*
551
552I got the message Error Code 1 while creating and updating my pkgsrc tree. I haven't yet looked into it further.
553
554Get a list of which packages would be included if Xfce was installed from source. If you haven't already done so, [create and update the pkgsrc tree](http://www.dragonflybsd.org/docs/howtos/HowToPkgsrc/#index2h2).
555
556 cd /usr/
557 make pkgsrc-create
558 make pkgsrc-update
559
560Get a list of which packages would be included if Xfce was installed from source. The pkgsrc tree was maybe already created by default on this version of DragonFly BSD. If it has not already been created, you'd first want to [create it](http://www.dragonflybsd.org/docs/howtos/HowToPkgsrc/#index2h2) before continuing. Update the pkgsrc tree.
561
562 cd /usr/
563 make pkgsrc-update
564
565*Notes*
566
567* [XFCE based LiveDVD/IMG](http://leaf.dragonflybsd.org/mailarchive/users/2012-07/msg00123.html)
568* [Installing a Desktop Environment: Xfce4](http://www.dragonflybsd.org/docs/how_to_get_to_the_desktop/#index11h3)
569* [Desktop Environments: Xfce](http://www.dragonflybsd.org/docs/newhandbook/X/#index9h3)
570* [Longest DragonFly BSD Review: Running Xfce in DragonFlyBSD 3.0.1](http://insidesocal.com/click/2012/04/review-dragonflybsd-301----the-5.html)
571* [Instructions via Google Translate](http://www.google.com/translate_c?langpair=en&u=http://dragonflybsd.fr/index.php?page=Installation+de+Xfce4)
572* [Installing pkgsrc](http://www.dragonflybsd.org/docs/howtos/HowToPkgsrc/#index2h2)
573
574 pkgin search xfce
575
576**Install Xfce 4.8**
577
578*WARNING:* This workaround is not yet complete. Contributions are welcome.
579
580* [Choosing between portability and innovation](http://lwn.net/Articles/430598/)
581* [Xfce 4.8 on BSD flavors](http://gezeiten.org/post/2011/01/Xfce-4.8-on-BSD-flavors)
582* [Xfce 4.8 tour](http://xfce.org/about/tour48)
583
584**Install Xfce 4.10**
585
586*WARNING:* This workaround is not yet complete. Contributions are welcome.
587
588* [Xfce 4.10 released](http://www.xfce.org/about/news/?post=1335571200)
589* [Xfce 4.10 tour](http://xfce.org/about/tour)
590
591**Set the GUI Keyboard Layout**
592
593Edit the file /etc/X11/xorg.conf.
594
595 ee /etc/X11/xorg.conf
596
597Set the XkbVariant option to your keyboard variant.
598
599 Section "InputDevice"
600 Identifier "Keyboard0"
601 Driver "kbd"
602 Option "XkbVariant" "dvorak"
603 EndSection
604
605Valid keyboard options can be found by searching through /usr/pkg/share/X11/xkb/symbols/ for example to find references to the dvorak keyboard layout, run the following command.
606
607 grep --color -n -r dvorak /usr/pkg/share/X11/xkb/symbols
608
609If too many lines scroll by, you can use your arrow buttons to scroll back within the non-graphical console screen by pressing the Scroll Lock button on your keyboard.
610
611Tested in DragonFly 3.0.2.