LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices



Reply
 
Search this Thread
Old 06-22-2005, 03:10 PM   #1
MadPenguin
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.
 
  


Reply


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 07:06 PM
mapping a key to compile a program in vim dvm Linux - Software 1 01-26-2005 08:56 AM
Backspace key mapping in vi arobic Linux - General 2 06-30-2004 02:30 PM
Arrow Key mapping lazlom AIX 5 06-21-2004 04:32 PM
mapping delete key sboyce57 Linux - Newbie 1 02-23-2004 12:05 AM


All times are GMT -5. The time now is 03:24 PM.

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