Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Keyboard Question

by xenchu (Friar)
on Dec 07, 2003 at 20:44 UTC ( [id://312972]=perlquestion: print w/replies, xml ) Need Help??

xenchu has asked for the wisdom of the Perl Monks concerning the following question:

This node falls below the community's threshold of quality. You may see it by logging in.

Replies are listed 'Best First'.
Re: Keyboard Question
by allolex (Curate) on Dec 07, 2003 at 21:45 UTC

    Like The_Mad_Hatter, I'm wondering why you want to use Perl to do this :)

    $ xev KeyRelease event, serial 25, synthetic NO, window 0xe00001, root 0x3a, subw 0x0, time 13397776, (398,81), root:(1360,394), state 0x0, keycode 115 (keysym 0xffeb, Super_L), same_screen YES, XLookupString gives 0 characters: ""

    Press keys to get their mappings.

    !~/.Xmodmap will execute when X starts. keycode 115 = F40 ! run xmodmap ~/.Xmodmap to reassign the key without restarting X

    Then go into the KDE control panel and mess with the key mappings. Assign "Open application menu" to F40.

    --
    Allolex

Re: Keyboard Question
by The Mad Hatter (Priest) on Dec 07, 2003 at 20:59 UTC
    There's no need to do it in Perl. Explore key layouts and mappings (and xev to grab keycodes) in X to learn how to do it. I personally use those keys for other functions.
Re: Keyboard Question
by Zaxo (Archbishop) on Dec 08, 2003 at 03:41 UTC

    I've got a keyboard with penguins on those keys :)

    After Compline,
    Zaxo

Re: Keyboard Question
by shockme (Chaplain) on Dec 08, 2003 at 02:22 UTC
    Depending upon the distrubtion you're running, KDE and Gnome will do this "out of the box".

    Update: And it just occurred to me that you're probably not running one of "those" distributions or you won't be asking. Pay no attention to the idiot behind keyboard ....

    If things get any worse, I'll have to ask you to stop helping me.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://312972]
Approved by ysth
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (4)
As of 2024-03-29 04:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found