David Wright wrote:
> You could try running:
>
>   $ xmodmap -e 'keycode 124=' # to override XF86PowerOff
>
>   $ xmodmap -e 'keycode 150=' # to override XF86Sleep
>
>   $ xmodmap -e 'keycode 151=' # to override XF86WakeUp perhaps.

Thank you Mr. Wright for trying to help.

Given your input I read the xmodmap man page.
I ran 'xmodmap -pk' and saw the keycode to function mapping as you
stated.

I ran the commands you suggested then ran 'xmodmap -pk' again and saw
that the assignments were cleared. Just to be safe I checked the two
files I normally keep open were saved then hit the XF86PowerOff button
and watched my computer shutdown.

I've heard more that once not to believe all you read. With all the
disinformation on the net by enemies of democracy, both foreign and
domestic, I take most of the news I read with a grain of salt. I guess
I need to apply that to Linux man pages too.

In spite of the outcome I appreciate your willingness to try to help
and wish you good fortune this year.

Be well,
Mike
--
"A pessimist sees the difficulty in every opportunity;
    an optimist sees the opportunity in every difficulty."
        - Sir Winston Churchill (1874-1965)

Reply via email to