From a7b44ded49367546e64ca366a874921e75969dbe Mon Sep 17 00:00:00 2001 From: varialus Date: Sat, 25 Aug 2012 09:50:58 -0700 Subject: [PATCH] Personal Page: Added instructions to set GUI keyboard layout. Made other minor changes. --- varialus/index.mdwn | 40 ++++++++++++++++++++++++++++++++-------- 1 file changed, 32 insertions(+), 8 deletions(-) diff --git a/varialus/index.mdwn b/varialus/index.mdwn index 97a8b3a7..16fde54a 100644 --- a/varialus/index.mdwn +++ b/varialus/index.mdwn @@ -3,15 +3,39 @@ ### Various Tidbits * **Hammer** is hands down the best file system currently in existence. **DragonFly BSD** is an awesome operating system, but it's a bit rough around the edges for everyday use. I would like DragonFly to be easier to use so that my everyday desktop environment can use Hammer. * **[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. -* **[Jython](http://www.jython.org/)** is a Java implementation of Python. It's cool. -* **ee** is roughly equivalent to **nano**. They are both easy to use command line text editors. It would be cool if there was a shortcut to ee named nano. +* **[Jython](http://www.jython.org/)** is a Java implementation of Python. It's cool, but it's not installed in DragonFly by default. +* **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. * **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. ### Various Issues -* The installer doesn't set the keyboard layout for encryption password prompt. -* The installer sets a password for swap rather than generating a random key each boot. -* The installer doesn't set the keyboard layout for GUI. +* The installer should offer the Xfce desktop environment as a supported option. * The installer should set the keyboard layout before any typing is required. -* The installer doesn't offer the Xfce desktop environment as a supported option. -* The installer should provide a better default shell. -* ->Excepting the bullet point, this syntax should center text.<- +* The installer should set the keyboard layout for encryption password prompt. +* 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. +* 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. +* 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. +* The installer should provide a shell which lists valid auto completion options after pressing tab twice. +* The installer doesn't set the keyboard layout for GUI. +* ->Excepting the bullet point, this syntax should center text in this wiki.<- + +### Various Workarounds +**Set the GUI Keyboard Layout** + +Edit the file /etc/X11/xorg.conf. + + ee /etc/X11/xorg.conf + +Set the XkbVariant option to your keyboard variant. + + Section "InputDevice" + Identifier "Keyboard0" + Driver "kbd" + Option "XkbVariant" "dvorak" + EndSection + +Valid 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. + + grep --color -n -r dvorak /usr/pkg/share/X11/xkb/symbols + +If 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. + -- 2.41.0