Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 06-22-2005, 02:10 PM   #1
LQ Newbie
Registered: Oct 2002
Location: NC
Distribution: Mandrake
Posts: 12

Rep: Reputation: 0
mapping a key to output txt while in x using term

Now for those curious, I have spent about an hour prowling through previous messages. Learned quite a bit, but still can't find the answer to my question. I've tried xbindkeys and xmodmap, and have failed to get the results I want.

So here is the goal: (i'm using Mandrake, though i don't think its relevant) to be able to hit a sequence of keys (say, Alt-D) in the terminal window in X and have a series of letters (say, "password\n") appear on the screen.

Now I have this working in a regular terminal (ctrl-alt-f1) by editing us.kmap but it will not work while i'm inside of X. So my initial attempt was using xmodmap.. but I've had poor luck getting it to recognize and just output some text.

I would appreciate any help, and if I missed the appropriate thread I apologize. If xmodmap is the answer, an example of the file for it to call would be great.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mapping Key functions - AGH TomalakBORG Linux - Laptop and Netbook 3 04-08-2005 06:06 PM
mapping a key to compile a program in vim dvm Linux - Software 1 01-26-2005 07:56 AM
Backspace key mapping in vi arobic Linux - General 2 06-30-2004 01:30 PM
Arrow Key mapping lazlom AIX 5 06-21-2004 03:32 PM
mapping delete key sboyce57 Linux - Newbie 1 02-22-2004 11:05 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:54 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration