johnsu01 ([info]johnsu01) wrote,
@ 2009-04-27 22:39:00
Previous Entry  Add to memories!  Tell a Friend  Next Entry
Current location:02144
Entry tags:console, debian, dvorak, emacs, gdium, gnu/linux

New ways of doing old things

Having a netbook where the X server doesn't start at the moment has given me a chance to get familiar again with the Debian console setup. Not having X doesn't affect my workflow much (which is part of why my workflow is what it is), but it's been a while since I've spent time tuning things.

I use the dvorak keymap, but this Gdium has an AZERTY keyboard. Despite the fact that I was selecting dvorak as the keymap with dpkg-reconfigure console-data, the keymap was reverting to AZERTY on each boot. I'm still not sure why that was the case, but [info]gravityboy was helpful in pointing me toward the new, unified way.

All I had to do was edit the /etc/default/console-setup file, and put the right keymap in XKBLAYOUT="dvorak". I also added "ctrl:nocaps" to XKBOPTIONS, to turn Caps Lock into another Control key. That's a lot prettier than the old way that I was doing that, which involved putting (echo `dumpkeys | grep -i keymaps`; echo keycode 58 = Control) | loadkeys - in /etc/rc.local.

I've now removed the console-data and console-common packages entirely, and everything still seems to work. I do wish that the default level of dpkg-reconfigure console-setup asked about the keymap, because then I would have figured this out on my own. As it was, I did not make the connection to see that options beginning with XKB might also affect keys in the console.

Maybe this isn't actually that new, but it's new to me :). And I shouldn't say that the X server "doesn't start" on the Gdium -- it certainly starts on the version of GNU/Linux that they ship with. It's just not working yet in the Debian installation I'm working on.



(2 comments) - (Post a new comment)

gdium review
[info]http://technorati.com/people/technorati/grazianos/
2009-04-28 09:19 am UTC (link)
I didn't know you had a gdium.
Could you write a short review about it?

(Reply to this) (Thread)

Re: gdium review
[info]johnsu01
2009-04-29 04:57 am UTC (link)
Yeah, I just got it a few days ago. I'll be writing more about it here.

(Reply to this) (Parent)


(2 comments) - (Post a new comment)

Create an Account
Forgot your login or password?
Log in with OpenID
English • Español • Deutsch • Русский…