Re: keyboard config needed
Hi David
On Sun, 2003-08-10 at 17:45, David Oakes wrote:
> Andreas Wüst wrote:
>
> > Attention: I am not sure if this also holds for machines using gdm, xdm,
> > etc. I *think* I had read that there would be some mechanism provided by
> > these session managers to handle .Xmodmap files.
> >
> > I just ask myself why the Mode_switch key is not working out of the box
> > (well, of course I know why, because it is not mapped to any key, but
> > why is this so)??
> >
>
> Here's a question for you. I have a (really cheap) pc keyboard
> (Darfon/BenQ 6511-X) which has three special keys (www, e-mail and
> sleep). The system is currently configured as having a pc104 us
> keyboard. Unfortunately, I haven't found anywhere on the net that deals
> with configuring one of these for Linux, even the manufacturer just
> calls it a Win2000 keyboard that doesn't need a driver. :(
Well, at least it's positive that is doesn't need a special driver.
> The extra keys are keycodes 178, 236 and 223 (according to xve).
And these keys are also recognised, which is positive too.
> Now, what exactly do I need to add (and where) to have the first start
> mozilla, the second start mozilla-mail and the third immediately invoke
> my monitor power saver setting?
Ahaamm, interesting question. Plese note that I am not the XFree86
keyboard specialist. But at least a sketch for a solution to this
problem comes to my mind:
Configure your system for .Xmodmap as indicated above in one of my
previous posts, then try to add something like
keycode 178 = F13
keycode 236 = F14
keycode 223 = F15
I don't know if this is supported at all, I don't even know if there are
keyboards outthere with these lots of function keys! Maybe you even have
to choose an other keyboard config (i.e. not pc104 but something else,
the number indicates the number of keys on your keyboard IIRC).
And, if your keyboard has less than 12 F keys, try to map the above
mentioned keycodes already starting with F11, F12, etc.!
Since I am not using KDE, I can't tell about that, but I guess that
there is a tool to bind keyboard shortcuts to commands. Well, there you
go, bind F11 or F13 etc. to mozilla et al.
I don't know about the monitor power saver settings, what does this mean
at all? Do you only want to switch your monitor to standby or do you
want to send the machine itself to sleep?
> System: Amigaone G4-XE@800 MHz
O cool, are there now G4 AmigaOnes outthere? True AmigaOne's, labelled
by Amiga Inc.?? :)
> KDE 3.1.3,
> kernel 2.4.21-rc1-ben0
> XFree86 4.2.1.1.
>
> I know, it would probably be much easier to just go get one of the
> keyboards that actually has settings within XFree86 and KDE, but where's
> the challenge in that? <G>
Hehe ;)
--
Best wishes,
Andi
Reply to: