New Lappy Success!! to Dennis Kaarsemaker

Dennis Kaarsemaker dennis at kaarsemaker.net
Wed Aug 10 14:14:03 UTC 2005


On wo, 2005-08-10 at 06:40 -0700, al bassano wrote:
> I am a total noob to all things Linux and even how to
> post to this site.
> 
> I have installed ubuntu alongside XP-pro on my NC6000
> but could not get atheros to work or figure out how to
> configure hot-keys.
>
> Can you make any suggestions?

Of course :)
atheros worked out of the box for me, only wpa and 802.1x authentication
are a pain, but that's not atheros specific. The second hotkey from the
left toggles the blue led, and with it the atheros and the bluetooth
receiver. Make sure that it's on.

For the hotkeys I did the following:

sudo gedit /etc/init/bootmisc.sh

just before the line that says exit 0 (at the bottom) you add a line
saying:

setkeycodes e00a 89 e008 90

Next you create the file .xmodmaprc in your homedir with the following
contents:

keycode 0xa0 = F13
keycode 0xae = F14
keycode 0xb0 = F15

keycode 0xd3 = F16
keycode 128  = F17
keycode 223  = F18

You can then use the keys*. With system->preferences->keyboard shortcuts
(in the gnome menu) you can add functionality to them.

To even get the led in the mute key working you need another little
trick (note: this is optional, muting works fine without it). First you
create a file called mute in /usr/local/bin

sudo gedit /usr/local/bin/mute

The contents of this file should be:

#/bin/bash
amixer set 'External Amplifier' toggle
amixer set 'Master' toggle

Now save the file. And make it executable

sudo chmod +x /usr/local/bin/mute

Next is to bind the mute key to this command. To do this, open the
configuration editor in the menu applications -> system tools
In the editor, browse to apps->metacity->keybinding commands and set the
value of command_1 to /usr/local/bin/mute

Now browse to apps->metacity->global_keybindings and set the value of
run_command_1 to F13 (Yes, an F a one and a three, don't press F13)

* the keys here are: the volume keys, the rightmost and third from the
righ hotkeys and the sleep key (Fn+F3)
-- 
Dennis K.
  - Linux for human beings: http://www.ubuntulinux.org
  - Linux voor normale mensen: http://www.ubuntulinux.nl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20050810/b90b20de/attachment.sig>


More information about the ubuntu-users mailing list