Added workaround and info about Xfce.
[ikiwiki.git] / varialus / index.mdwn
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.*
c73a5f26 4### Tidbits
5* **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.
6* **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 7* **[Xfce](** is a lightweight yet feature rich desktop environment. It has maintains an excellent balance between [innovation and compatibility](
12e7194b 8* **[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.
9* **[Jython](** is Python written in Java. It's not included in DragonFly BSD by default, but it's a great tool and I use it.
10* **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'.
11* **pkgin** is roughly equivalent to **apt-get**. They are both fairly straightforward command line package management utilities.
248bec77 12
c73a5f26 13### Reminders
14* 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 15* 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 16
17### Issues
b5491331 18* 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 19* The installer should offer the Xfce desktop environment as a supported option. Observed in DragonFly 3.0.2. See workaround below.
74c82ddf 20* The installer should set the keyboard layout before any typing is required. Observed in DragonFly 3.0.2.
c1758fdf 21* The installer should set the keyboard layout for the GUI. Observed in DragonFly 3.0.2. See workaround below.
dabfe801 22* The installer should set the keyboard layout for the encryption password prompt. Observed in DragonFly 3.0.2.
c1758fdf 23* 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 24* 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.
25* 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.
26* 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.
27* 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 28* 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 29* 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 30* 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 31* ->Excepting the bullet point, this syntax should center text in this wiki.<- Observed on 8/25/2012.
12e7194b 32* The following errors should not occur when quitting from the GUI.
34 waiting for X server to shut down xterm: fatal IO error 35 (Resource temporarily unavailable) or KillClient on X server ":0.0"
35 xterm: fatal IO error 35 (Resource temporarily unavailable) or KillClient on X server "0.0"
36 failed to unset mtrr: Device not configured
39 xauth: (argv):1: bad display name "myhostname.mysubdomain.mytld:0" in "remove" command
41 Observed in DragonFly BSD 3.0.2 64-bit on VirtualBox 4.1.20 in Debian Squeeze.
a7b44ded 42
c73a5f26 43### Workarounds
c1758fdf 44**Enable the Caps Lock Key within the GUI**
46Edit the file /etc/X11/xorg.conf.
48 ee /etc/X11/xorg.conf
50Delete 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.
52 Section "InputDevice"
53 Identifier "Keyboard0"
54 Driver "kbd"
55 #Option "XkbOptions" "ctrl:nocaps"
56 EndSection
c73a5f26 58Observed in DragonFly BSD 3.0.2.
c1758fdf 60**Install Non-GUI on 3TB+ Hard Drive**
62*WARNING:* This workaround includes instructions which will delete all data from a hard drive.
64Delete 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](
66Install from a [snapshot version of DragonFly]( Be aware that snapshot versions are less thoroughly tested than stable releases.
68Tested in snapshot on 8/14/2012.
8df94b7a 70**Install Xfce 4.6 via Downstream Installer**
72An [unofficial Xfce installer]( was recently [announced]( 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. Hopefully the changes will be pushed upstream and it will be accepted as an official installation option.
f378b134 74**Install Xfce 4.6**
76*WARNING:* This workaround is not yet complete. Contributions are welcome.
78 pkgin search xfce
9ddcfc4c 80* [XFCE based LiveDVD/IMG](
81* [Installing a Desktop Environment: Xfce4](
82* [Desktop Environments: Xfce](
83* [Longest DragonFly BSD Review: Running Xfce in DragonFlyBSD 3.0.1](
f378b134 84* [Instructions via Google Translate](
85* [Installing pkgsrc](
87**Install Xfce 4.8**
89*WARNING:* This workaround is not yet complete. Contributions are welcome.
91* [Choosing between portability and innovation](
92* [Xfce 4.8 on BSD flavors](
93* [Xfce 4.8 tour](
9ddcfc4c 95**Install Xfce 4.10**
97*WARNING:* This workaround is not yet complete. Contributions are welcome.
99* [Xfce 4.10 released](
100* [Xfce 4.10 tour](
a7b44ded 102**Set the GUI Keyboard Layout**
104Edit the file /etc/X11/xorg.conf.
106 ee /etc/X11/xorg.conf
108Set the XkbVariant option to your keyboard variant.
110 Section "InputDevice"
111 Identifier "Keyboard0"
112 Driver "kbd"
113 Option "XkbVariant" "dvorak"
114 EndSection
116Valid 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.
118 grep --color -n -r dvorak /usr/pkg/share/X11/xkb/symbols
120If 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.
74c82ddf 122Tested in DragonFly 3.0.2.