Personal Page: Improved Hammer and DragonFly description. Made other minor improvements.
[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.*
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.
248bec77 7* **[Dissonance](https://bitbucket.org/varialus/dissonance)** is my fork of Apache Harmony, which is a clean room implementation of Java with a permissive license. Apache gave up because they couldn't license the Java compatibility testing framework. If Oracle isn't going to provide the compatibility testing framework, then the community should write its own compatibility framework that's better than the official one. This would cause dissonance between Oracle and the community, but that's no reason to not pursue it. I'd like to get Dissonance running on DragonFly.
4bdf29a1 8* **[Jython](http://www.jython.org/)** is Python written in Java. It's cool. But it's not installed in DragonFly by default.
a7b44ded 9* **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 and you can get to it by pressing Ctrl-[ and selecting 'a) leave editor'. It would be cool if there was a shortcut to ee named nano.
248bec77 10* **pkgin** is roughly equivalent to **apt-get**. They are both fairly straightforward command line package management utilities. It would be cool if there was a shortcut to pkgin named apt-get.
11
c73a5f26 12### Reminders
13* 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.
14
15### Issues
b5491331 16* 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.
74c82ddf 17* The installer should offer the Xfce desktop environment as a supported option. Observed in DragonFly 3.0.2.
18* The installer should set the keyboard layout before any typing is required. Observed in DragonFly 3.0.2.
c1758fdf 19* The installer should set the keyboard layout for the GUI. Observed in DragonFly 3.0.2. See workaround below.
dabfe801 20* The installer should set the keyboard layout for the encryption password prompt. Observed in DragonFly 3.0.2.
c1758fdf 21* 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 22* 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.
23* 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.
24* 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.
25* 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 26* 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 27* 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 28* 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 29* ->Excepting the bullet point, this syntax should center text in this wiki.<- Observed on 8/25/2012.
a7b44ded 30
c73a5f26 31### Workarounds
c1758fdf 32**Enable the Caps Lock Key within the GUI**
33
34Edit the file /etc/X11/xorg.conf.
35
36 ee /etc/X11/xorg.conf
37
38Delete 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.
39
40 Section "InputDevice"
41 Identifier "Keyboard0"
42 Driver "kbd"
43 #Option "XkbOptions" "ctrl:nocaps"
44 EndSection
45
c73a5f26 46Observed in DragonFly BSD 3.0.2.
47
c1758fdf 48**Install Non-GUI on 3TB+ Hard Drive**
49
50*WARNING:* This workaround includes instructions which will delete all data from a hard drive.
51
52Delete 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).
53
54Install from a [snapshot version of DragonFly](http://avalon.dragonflybsd.org/snapshots/). Be aware that snapshot versions are less thoroughly tested than stable releases.
55
56Tested in snapshot on 8/14/2012.
57
a7b44ded 58**Set the GUI Keyboard Layout**
59
60Edit the file /etc/X11/xorg.conf.
61
62 ee /etc/X11/xorg.conf
63
64Set the XkbVariant option to your keyboard variant.
65
66 Section "InputDevice"
67 Identifier "Keyboard0"
68 Driver "kbd"
69 Option "XkbVariant" "dvorak"
70 EndSection
71
72Valid 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.
73
74 grep --color -n -r dvorak /usr/pkg/share/X11/xkb/symbols
75
76If 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.
77
74c82ddf 78Tested in DragonFly 3.0.2.