Added section Raw with ToDo list
[ikiwiki.git] / varialus / index.mdwn
CommitLineData
f66ddf87 1# et
ed370e87 2# Anisoptera
e04d20e7 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.*
5e91eec6 4
c2c5c660 5## Table of Contents
6
71. **Featured**
8
0befd86f 9* Walkthrough of Xfce 4.6 Installation via Custom DVD/IMG Installer
c2c5c660 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
6848ea64 545. **Raw**
55
56* ToDo
57
5e91eec6 58## Featured
59
c2c5c660 60**Walkthrough of Xfce 4.6 Installation via Custom DVD/IMG Installer**
5e91eec6 61
66660ae6 62There 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!
63
641. Download and extract the [Xfce installer](http://island.quantumachine.net/~swildner/LiveDVD/).
652. If the version of the installer is less than or equal to 20120826-2055, then installing onto a uniprocessor computer may not work.
663. If installng onto a VirtualBox virtual machine, the recommended operating system type is FreeBSD (64 bit).
674. If installing onto a VirtualBox virtual machine, set the hardware clock to UTC time.
685. After starting the computer but before it finishes booting, you will be greeted with the following boot menu.
69
70
71 DragonFly/i386 bootstrap loader, Revision 1.1
72 (s@advancer.yo, Sun Aug 26 21:24:11 CEST 2012)
73 |
74 1. Boot DragonFly [kernel] | ,--, | ,--,
75 2. Boot DragonFly in Safe Mode | | `-, ,^, ,-' |
76 3. Boot DragonFly without AHCI driver | `, `-, (/ \) ,-' ,'
77 4. Boot DragonFly without ACPI driver | `-, `-,/ \,-' ,-'
78 9. Escape to loader prompt (also ESC) | `------( )------'
79 s. Boot DragonFly in single user mode | ,----------( )----------,
80 v. Boot DragonFly with verbose logging | | _,-( )-,_ |
81 R. Reboot | `-,__,-' \ / `-,__,-'
82 | | |
83 | | |
84 | | |
85 | | |
86 | | |
87 | | |
88 | `|'
89 |
90 Booting in 10 seconds... _
91
926. After the computer finishes booting, you will be greeted with the following welcome message and login prompt.
93
94 Welcome to DragonFly!
95
96 To Start the installer, login as 'installer'. To just get a shell prompt,
97 login as 'root'. To start a root gui, login as 'root' and run 'startx'.
98
99 DragonFly/x86_64 (dflyd.yo) (ttyv0)
100
101 login: _
102
1037. Type 'installer' without quotes and press enter.
1048. You will be greeted with the following menu.
105
106 F10=Refresh Display .
107 .
108 ,--, | ,--, .
109 ------------------------| Welcome to DragonFly BSD |------------------------- .
110 | |.
111 | Welcome to the DragonFly BSD Live CD. |.
112 | |.
113 | DragonFly BSD is an efficient and elegant BSD Unix-derived operating |.
114 | system. For more information, see http://www.dragonflybsd.org |.
115 | |.
116 | From this CD, you can boot into DragonFly BSD ``live'' (without installing |.
117 | it) to evaluate it, to install it manually, or to troubleshoot problems |.
118 | with an existing installation, using either a command prompt or menu-driven |.
119 | utilities. |.
120 | |.
121 | Also, you can use this automated application to assist you in installing |.
122 | DragonFly BSD on this computer and configuring it once it is installed. |.
123 | |.
124 | < Install DragonFly BSD >_ < Configure an Installed System > |.
125 | < Live CD Utilities > < Exit to Live CD > < Reboot this Computer > |.
126 | < Setup NetBoot Install Services > |.
127 ----------------------------------------------------------------------------- .
128 .
129 .
130 Install DragonFly BSD on a HDD or HDD partition on this computer .
131
13210. The bottom line changes depending on which option is selected.
13311. Highlight the option < Install DragonFly BSD > and press enter.
13412. You will then be greeted by the following menu.
135
136 F10=Refresh Display .
137 .
138 ,--, | ,--, .
139 | `-, ,^, ,-' | .
140 `, `-, (/ \) ,-' ,' .
141 --------------------------| Begin Installation |----------------------------- .
142 | |.
143 | This application will install DragonFly BSD on one of the hard disk drives |.
144 | attached to this computer. It has been designed to make it easy to install |.
145 | DragonFly BSD in the typical case. If you have special requirements that |.
146 | are not addressed by this installer, or if you have problems using it, you |.
147 | are welcome to install DragonFly BSD manually. To do so select Exit to Live |.
148 | CD, login as root, and follow the instructions given in the file /README . |.
149 | |.
150 | NOTE! As with any installation process, YOU ARE STRONGLY ENCOURAGED TO BACK |.
151 | UP ANY IMPORTANT DATA ON THIS COMPUTER BEFORE PROCEEDING! |.
152 | |.
153 | < Install DragonFly BSD >_ < Return to Welcome Menu > < Exit to Live CD > |.
154 ----------------------------| Press F1 for Help |---------------------------- .
155 .
156 .
157 .
158 .
159 .
160 .
161 .
162
16313. Highlight the option < Install DragonFly BSD > and press enter.
16414. The following menu, specific to your hardware, will be displayed.
165
166 F10=Refresh Display .
167 .
168 ,--, | ,--, .
169 | `-, ,^, ,-' | .
170 `, `-, (/ \) ,-' ,' .
171 `-, `-,/ \,-' ,-' .
172 `------( )------' .
173 ,----------( )----------, .
174 | _,-( )-,_ | .
175 ----------------------| Select Disk |----------------------,__,-' .
176 | | .
177 | Select a disk on which to install DragonFly BSD | .
178 | | .
179 | < ad1: 1337TB <VBOX HARDDISK 1.0> at ata0-master UDMA33 >_| .
180 | < Return to Begin Installation > | .
181 ----------------------------------------------------------- .
182 `|' .
183 .
184 .
185 .
186 .
187 .
188 .
189 .
190 .
191
19215. Highlight the disk on which to install DragonFly BSD and press Enter.
19316. The following menu will be displayed.
194
195 F10=Refresh Display .
196 .
197 ,--, | ,--, .
198 | `-, ,^, ,-' | .
199 `, `-, (/ \) ,-' ,' .
200 `-, `-,/ \,-' ,-' .
201 `------( )------' .
202 ,----------( )----------, .
203 ----------------------------| Select Disk |---------------------- | .
204 | |' .
205 | Select how much of this disk you want to use for DragonFly BSD | .
206 | | .
207 | ad1: 1337TB <VBOX HARDDISK 1.0> at ata0-master UDMA33 | .
208 | | .
209 | < Use Entire Disk >_ < Use Part of Disk > | .
210 | < Return to Select Disk > | .
211 ----------------------------------------------------------------- .
212 .
213 .
214 .
215 .
216 .
217 .
218 .
219 .
220
22117. If you would like to use your entire disk, then highlight < Use Entire Disk > and press enter.
22218. The following menu will be displayed.
223
224 F10=Refresh Display .
225 .
226 ,--, | ,--, .
227 | `-, ,^, ,-' | .
228 ------| Are you absolutely sure? |------/ \) ,-' ,' .
229 | | \,-' ,-' .
230 | WARNING! ALL data in ALL partitions on | )------' .
231 | the disk | )----------, .
232 | | )-,_ | .
233 | ad1: 1337TB <VBOX HARDDISK 1.0> at | / `-,__,-' .
234 | ata0-master UDMA33 | | .
235 | | | .
236 | will be IRREVOCABLY ERASED! | | .
237 | | | .
238 | Are you ABSOLUTELY SURE you wish to | | .
239 | take this action? This is your LAST | | .
240 | CHANCE to cancel! ||' .
241 | | .
242 | < OK >_ < Cancel > | .
243 ---------------------------------------- .
244 .
245 .
246 .
247 .
248 .
249
25019. If you are absolutely sure, highlight < OK > and press enter.
25120. The following menu will be displayed.
252
253 F10=Refresh Display .
254 .
255 ,--, | ,--, .
256 | `-, ,^, ,-' | .
257 `, `-, (/ \) ,-' ,' .
258 `-, `-,/ \,-' ,-' .
259 `------( )------' .
260 ---------| Information |-------------( )----------, .
261 | |( )-,_ | .
262 | The disk |\ / `-,__,-' .
263 | | | | .
264 | ad1: 1337TB <VBOX HARDDISK 1.0> at | | | .
265 | ata0-master UDMA33 | | | .
266 | | | | .
267 | was formatted. | | | .
268 | | | | .
269 | < OK > | `|' .
270 ------------------------------------ .
271 .
272 .
273 .
274 .
275 .
276 .
277 .
278
27921. Press enter.
28022. The following menu will be displayed.
281
282 F10=Refresh Display .
283 .
284 ,--, | ,--, .
285 | `-, ,^, ,-' | .
286 `, `-, (/ \) ,-' ,' .
287 `-, `-,/ \,-' ,-' .
288 `------( )------' .
289 -----------------| Select file system |------------------------, .
290 | | | .
291 | Please select the file system you want to use with |,__,-' .
292 | DragonFly BSD. | .
293 | | .
294 | HAMMER is the new DragonFly BSD file system. UFS is the | .
295 | traditional BSD file system. | .
296 | | .
297 | < Use HAMMER >_ < Use UFS > < Return to Select Disk > | .
298 --------------------------------------------------------- .
299 .
300 .
301 .
302 .
303 .
304 .
305 .
306 .
307
30823. If you want to use HAMMER, and honestly why wouldn't you, then highlight HAMMER and press enter.
30924. The following menu will be displayed.
310
311 F10=Refresh Display .
312 .
313 ,--, | ,--, .
314 --------------------| Create Subpartitions |--------------------- | .
315 | | ,' .
316 | Set up the partitions (also knows as just `partitions' in |' .
317 | BSD tradition) you want to have on this primary partition. In | .
318 | most cases you should be fine with the default settings. |-, .
319 | | | .
320 | For Capacity, use 'M' to indicate megabytes, 'G' to indicate |-' .
321 | gigabytes, or a single '*' to indicate 'use the remaining space | .
322 | on the primary partition'. | .
323 | | .
324 | Mountpoint Capacity Encrypted | .
325 | [/boot_ ] [768M ] [ ] < Ins > < Del > | .
326 | [swap ] [2048M ] [ ] < Ins > < Del > | .
327 | [/ ] [* ] [ ] < Ins > < Del > | .
328 | < Add > | .
329 | | .
330 | < Accept and Create > < Return to Select Disk > | .
331 -------------------| Press F1 for Help |------------------------- .
332 .
333 .
334 .
335 .
336
33725. Highlight < Accept and Create > and press enter.
33826. The following menu will be displayed.
339
340 F10=Refresh Display .
341 .
342 ,--, | ,--, .
343 | `-, ,^, ,-' | .
344 `, `-, (/ \) ,-' ,' .
345 `-, `-,/ \,-' ,-' .
346 -------------------------| Install OS |-------------------------- .
347 | |-, .
348 | Everything is now ready to install the actual files which | | .
349 | comprise the DragonFly BSD operating system on the selected |-' .
350 | partition of the selected disk. | .
351 | | .
352 | Note that this process will take quite a while to finish. You | .
353 | may wish to take a break now and come back to the computer in a | .
354 | short while. | .
355 | | .
356 | < Begin Installing Files >_ < Return to Create Subpartitions > | .
357 ----------------------------------------------------------------- .
358 .
359 .
360 .
361 .
362 .
363 .
364 .
365 .
366
36727. Highlight < Begin Installing Files > and press enter.
36828. The following progress bar will be displayed.
369
370 F10=Refresh Display .
371 .
372 ,--, | ,--, .
373 | `-, ,^, ,-' | .
374 `, `-, (/ \) ,-' ,' .
375 `-, `-,/ \,-' ,-' .
376 `------( )------' .
377 ,----------( )----------, .
378 -------------------| Executing Commands |------------------- | .
379 | |_,-' .
380 | /bin/cpdup -o -vvv -u /usr/pkg /mnt/usr/pkg | .
381 | | .
382 | [*#################58%# ] | .
383 | | .
384 | < Cancel >_ | .
385 ------------------------------------------------------------ .
386 `|' .
387 .
388 .
389 .
390 .
391 .
392 .
393 .
394 .
395
39629. Go brush your teeth. And don't forget to floss.
39730. When it finishes, the following menu will be displayed.
398
399 F10=Refresh Display .
400 .
401 ,--, | ,--, .
402 | `-, ,^, ,-' | .
403 ---------------| Install Bootblock(s) |----------------,-' ,' .
404 | | ,-' .
405 | You may now wish to install bootblocks on one or more |--' .
406 | disks. If you already have a boot manager installed, |------, .
407 | you can skip this step (but you may have to configure | | .
408 | your boot manager separately.) If you installed |-,__,-' .
409 | DragonFly BSD on a disk other than your first disk, | .
410 | you will need to put the bootblock on at least your | .
411 | first disk and the DragonFly disk. | .
412 | | .
413 | Disk Drive Install Bootblock? Packet Mode? | .
414 | [ad1_ ] [X] [X] | .
415 | | .
416 | < Accept and Install Bootblocks > | .
417 | < Skip this Step > | .
418 -----------------| Press F1 for Help |----------------- .
419 .
420 .
421 .
422 .
423 The disk on which you wish to install a bootblock .
424
42531. Highlight < Accept and Install Bootblocks > and press enter.
42632. An Information dialog box will be displayed which says: Bootblocks were successfully installed!
42733. Press enter.
42834. The following menu will be displayed.
429
430 ---| DragonFly BSD is Installed! |--
431 |
432 | Congratulations!
0befd86f 433 |
66660ae6 434 | DragonFly BSD has successfully been installed on this computer.
435 | You may now proceed to configure the installation. Alternately,
436 | you may wish to reboot the computer and boot into the installed
437 | system to confirm that it works.
438 |
439 | < Configure this System >_ < Reboot >
440 | < Return to Welcome Menu >
441 ---
5e91eec6 442
0befd86f 44335. Highlight < Configure this System > and press enter.
44436. The following menu will be displayed.
445
446 ---| Configure an Installed System |--
447 |
448 | The options on this menu allow you to
449 | configure a DragonFly BSD system after
450 | it has already been installed.
451 | < Select timezone >_
452 | < Set date and time >
453 | < Set keyboard map >
454 | < Set root password >
455 | < Add a user >
456 | < Configure network interfaces >
457 | < Configure hostname and domain >
458 | < Set console font >
459 | < Set screen map >
460 | < Remove software packages >
461 | < Return to Welcome Menu >
462 ---
463
46437. Highlight < Select timezone > and press enter.
465
466(The only purpose of this line is to reduce the indentation of the following bullet points.)
467
468* Highlight < Set keyboard map > and press enter.
469* Highlight < Set root password > and press enter.
470* changeme
471* Highlight < Add a user > and press enter.
472* Password: changeme
473* Highlight < Configure network interfaces > and press enter.
474* Highlight < Configure hostname and domain > and press enter.
475* Highlight < Return to Welcome Menu > and press enter.
476* Highlight < Reboot this Computer > and press enter.
477* Highlight < Reboot > and press enter.
478* Remove installation media.
479* The operating system has halted.
480* Please press any key to reboot.
481* Log in as root.
482* Change password.
483* ee /etc/hosts
484* # Replace hostname and domain with the ones that you chose during configuration.
485* ::1 localhost hostname.domain
486* 127.0.0.1 localhost hostname.domain
487* Ctrl-[
488* a) leave editor
489* a) save changes
490* exit
491* Log in as user.
492* Change password.
e59d72e5 493* startxfce4 (I think that running startx from the root user starts Xfce, but running it from a regular user starts the non-Xfce GUI.)
0befd86f 494
5e91eec6 495## Tidbits
c73a5f26 496* **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.
497* **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.
8df94b7a 498* **[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/).
12e7194b 499* **[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.
500* **[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.
501* **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'.
502* **pkgin** is roughly equivalent to **apt-get**. They are both fairly straightforward command line package management utilities.
248bec77 503
5e91eec6 504## Reminders
c73a5f26 505* 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.
65e00ca1 506* 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.
c73a5f26 507
5e91eec6 508## Issues
b5491331 509* 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.
8df94b7a 510* The installer should offer the Xfce desktop environment as a supported option. Observed in DragonFly 3.0.2. See workaround below.
74c82ddf 511* The installer should set the keyboard layout before any typing is required. Observed in DragonFly 3.0.2.
c1758fdf 512* The installer should set the keyboard layout for the GUI. Observed in DragonFly 3.0.2. See workaround below.
dabfe801 513* The installer should set the keyboard layout for the encryption password prompt. Observed in DragonFly 3.0.2.
c1758fdf 514* 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.
74c82ddf 515* 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.
516* 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.
517* 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.
2085015f 518* 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.
74c82ddf 519* 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.
c1758fdf 520* 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.
74c82ddf 521* 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.
dabfe801 522* 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.
74c82ddf 523* ->Excepting the bullet point, this syntax should center text in this wiki.<- Observed on 8/25/2012.
12e7194b 524* The following errors should not occur when quitting from the GUI.
525
526 waiting for X server to shut down xterm: fatal IO error 35 (Resource temporarily unavailable) or KillClient on X server ":0.0"
527 xterm: fatal IO error 35 (Resource temporarily unavailable) or KillClient on X server "0.0"
528 failed to unset mtrr: Device not configured
529
530
531 xauth: (argv):1: bad display name "myhostname.mysubdomain.mytld:0" in "remove" command
532
533 Observed in DragonFly BSD 3.0.2 64-bit on VirtualBox 4.1.20 in Debian Squeeze.
a7b44ded 534
5e91eec6 535## Workarounds
c1758fdf 536**Enable the Caps Lock Key within the GUI**
537
538Edit the file /etc/X11/xorg.conf.
539
540 ee /etc/X11/xorg.conf
541
542Delete 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.
543
544 Section "InputDevice"
545 Identifier "Keyboard0"
546 Driver "kbd"
547 #Option "XkbOptions" "ctrl:nocaps"
548 EndSection
549
c73a5f26 550Observed in DragonFly BSD 3.0.2.
551
c1758fdf 552**Install Non-GUI on 3TB+ Hard Drive**
553
554*WARNING:* This workaround includes instructions which will delete all data from a hard drive.
555
556Delete 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).
557
558Install from a [snapshot version of DragonFly](http://avalon.dragonflybsd.org/snapshots/). Be aware that snapshot versions are less thoroughly tested than stable releases.
559
560Tested in snapshot on 8/14/2012.
561
f378b134 562**Install Xfce 4.6**
563
564*WARNING:* This workaround is not yet complete. Contributions are welcome.
565
2085015f 566The following testing is being done with a root account and no user account. Additional testing with a regular user account will be done later.
567
568*DragonFly BSD 3.1-DEVELOPMENT Non-GUI Instructions*
569
5cde5737 570Summary
571
572* Install XOrg if it's not already installed.
573* Ensure that mouse works.
574* Get the xfce4 meta-package make file.
575* Install binary files listed in xfce4 meta-package make file.
576
577These 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.
578
6216ff22 579Get 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.
2085015f 580
581 cd /usr/
582 make pkgsrc-create
583 make pkgsrc-update
6216ff22 584 cd /usr/pkgsrc/meta-pkgs/xfce4
585 pkgin update
5cde5737 586 pkgin in `cat Makefile | grep -E "xfce4.*mk" | sed -e 's/.include.*\/xf/xf/g' -e 's/\/.*/ /g' | tr -d "\n"`
6216ff22 587 pkg_radd modular-xorg
588 ls /dev/
589
590Log into another console window by pressing Ctrl-Alt-F2 or in VirtualBox, Alt-F2.
591
592 man moused
593
594Scroll down until you find where it mentions mouse dev names.
595
596 ee /etc/X11/xorg.conf
597
598Comment out the /dev/sysmouse line by putting a # in front of it. Add the following line.
599
600 Option "Device" "/dev/psm0"
601
602Except replace psm0 with whichever mouse you've got listed in /dev. Then save the file.
603
604 startxfce4
2085015f 605
606*DragonFly BSD 3.0.2 GUI Instructions*
607
608I got the message Error Code 1 while creating and updating my pkgsrc tree. I haven't yet looked into it further.
609
610Get 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).
611
612 cd /usr/
613 make pkgsrc-create
614 make pkgsrc-update
615
616Get 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.
617
618 cd /usr/
619 make pkgsrc-update
620
621*Notes*
f378b134 622
9ddcfc4c 623* [XFCE based LiveDVD/IMG](http://leaf.dragonflybsd.org/mailarchive/users/2012-07/msg00123.html)
624* [Installing a Desktop Environment: Xfce4](http://www.dragonflybsd.org/docs/how_to_get_to_the_desktop/#index11h3)
625* [Desktop Environments: Xfce](http://www.dragonflybsd.org/docs/newhandbook/X/#index9h3)
626* [Longest DragonFly BSD Review: Running Xfce in DragonFlyBSD 3.0.1](http://insidesocal.com/click/2012/04/review-dragonflybsd-301----the-5.html)
f378b134 627* [Instructions via Google Translate](http://www.google.com/translate_c?langpair=en&u=http://dragonflybsd.fr/index.php?page=Installation+de+Xfce4)
628* [Installing pkgsrc](http://www.dragonflybsd.org/docs/howtos/HowToPkgsrc/#index2h2)
629
2085015f 630 pkgin search xfce
631
f378b134 632**Install Xfce 4.8**
633
634*WARNING:* This workaround is not yet complete. Contributions are welcome.
635
636* [Choosing between portability and innovation](http://lwn.net/Articles/430598/)
637* [Xfce 4.8 on BSD flavors](http://gezeiten.org/post/2011/01/Xfce-4.8-on-BSD-flavors)
638* [Xfce 4.8 tour](http://xfce.org/about/tour48)
639
9ddcfc4c 640**Install Xfce 4.10**
641
642*WARNING:* This workaround is not yet complete. Contributions are welcome.
643
644* [Xfce 4.10 released](http://www.xfce.org/about/news/?post=1335571200)
645* [Xfce 4.10 tour](http://xfce.org/about/tour)
646
a7b44ded 647**Set the GUI Keyboard Layout**
648
649Edit the file /etc/X11/xorg.conf.
650
651 ee /etc/X11/xorg.conf
652
653Set the XkbVariant option to your keyboard variant.
654
655 Section "InputDevice"
656 Identifier "Keyboard0"
657 Driver "kbd"
658 Option "XkbVariant" "dvorak"
659 EndSection
660
661Valid 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.
662
663 grep --color -n -r dvorak /usr/pkg/share/X11/xkb/symbols
664
665If 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.
666
74c82ddf 667Tested in DragonFly 3.0.2.
6848ea64 668
669**Raw**
670
671ToDo
672
673Port VirtualBox to DragonFly BSD
674 - Build VirtualBox in GhostBSD (GhostBSD is FreeBSD with Gnome or LXDE installed out of the box.)
675 - Install GhostBSD (Gnome version 3.0 RC1 in VirtualBox)
676 - Initialize build environment: http://www.freebsd.org/doc/handbook/updating-upgrading-portsnap.html
677 - Handbook Instructions: http://www.freebsd.org/doc/handbook/updating-upgrading-portsnap.html
678 - portsnap fetch (68 MB as root)
679 - portsnap extract (as root)
680 - portsnap update (as root)
681 - Install Guest Additions (from FreeBSD, not from Oracle)
682 - Initialize build environment (See above)
683 - Wiki Instructions: http://wiki.freebsd.org/VirtualBox#Installing_Guest_Additions_for_FreeBSD_guests
684 - Handbook Instructions: http://www.freebsd.org/doc/handbook/virtualization-guest.html
685 - Notes: http://forums.ghostbsd.org/viewtopic.php?f=8&t=693
686 - More Notes: http://forums.freebsd.org/showthread.php?t=29172
687 - Create a supfile.
688 - ee /root/9rel-supfile (as root)
689 - Firefox http://forums.freebsd.org/showthread.php?t=29172
690 - Copy and paste supfile.
691 - Firefox http://www.freebsd.org/doc/en/books/handbook/cvsup.html#CVSUP-MIRRORS
692 - Pick close server and change line *default host=CHANGE_THIS.FreeBSD.org
693 - Optionally pick fastest server: http://www.freshports.org/sysutils/fastest_cvsup
694*default host=CHANGE_THIS.FreeBSD.org
695*default base=/var/db
696*default prefix=/usr
697*default release=cvs tag=RELENG_9_1
698*default delete use-rel-suffix
699*default compress
700src-all
701 - Ctrl-[
702 - a) leave editor
703 - a) save changes
704 - csup 9rel-supfile (as root probably while in /root/)
705 - cd /usr/ports/emulators/virtualbox-ose-additions && make install clean (probably as root)
706 - Build VirtualBox
707 - Initialize build environment (See above)
708 - Build Guest Additions
709 - Build VirtualBox in DragonFly BSD
710 - Install DragonFly BSD (Xfce IMG/ISO Installer)
711 - Build VirtualBox
712 - Install VirtualBox
713 - Test VirtualBox
714 - Build Guest Additions
715 - Install Guest Additions
716 - Test Guest Additions
717 - Package for pkgsrc
718 - Upload to pkgsrc
719
720Port Xfce 4.10 to DragonFly BSD
721 - Install DragonFly BSD (Xfce IMG/ISO Installer in VirtualBox)
722 - Build Instructions: http://docs.xfce.org/xfce/building
723 - Package for pkgsrc
724 - Upload to pkgsrc
725
726Use DragonFly BSD as a Storage Appliance
727 - Install DragonFly BSD (Xfce IMG/ISO Installer in VirtualBox)
728
729Port bxpkg to DragonFly BSD
730 - Install DragonFly BSD (Xfce IMG/ISO Installer in VirtualBox)