LinuxQuestions.org
Review your favorite Linux distribution.
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-10-2006, 03:12 AM   #1
bhepple
LQ Newbie
 
Registered: Mar 2004
Location: Brisbane, Queensland, Australia
Distribution: fedora
Posts: 19

Rep: Reputation: 0
Simple X keyboard shortcut program


What I want to do is very simple but I can't find anything that does it: I want a utility to listen to the keyboard and intercept certain keychords and substitute a string as if it had been typed - a typing shortcut. For example, type Ctrl-Alt-P and it's as if you had typed "www.linuxquestions.org".

I used to do this this with loadkeys, but unfortunately the new modular X doesn't use loadkeys any more - that's only good for the console now. X uses something older and cruftier called xkb, or some such utility which lacks the feature.

With loadkeys you could do this:

echo 'string Pause = "hello"' |loadkeys -

and every time you pressed the Pause key you got "hello".

There are heaps of programs out there that intercept keystrokes and _run commands_ but none has the ability to insert something into the input stream. As for my window manager - it's gnome (corporate standard, don't ask) and its shortcut facility sucks. I think KDE would support this but I can't use that.
 
Old 08-01-2006, 07:10 PM   #2
bhepple
LQ Newbie
 
Registered: Mar 2004
Location: Brisbane, Queensland, Australia
Distribution: fedora
Posts: 19

Original Poster
Rep: Reputation: 0
ping - anyone? no-one?

ping - anyone? no-one?
 
Old 08-01-2006, 10:13 PM   #3
ciotog
Member
 
Registered: Mar 2004
Location: Canada
Distribution: Slackware current
Posts: 728
Blog Entries: 2

Rep: Reputation: 43
Have you checked out kbde?
 
  


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
I have lost some Keyboard shortcut Undici77 Linux - Laptop and Netbook 2 03-06-2006 07:01 AM
Keyboard and it's shortcut keys ZakuSage Linux - Hardware 4 06-13-2005 02:11 PM
Keyboard shortcut in KDE 3.3 cesugden Linux - Newbie 2 03-09-2005 04:50 AM
Keyboard-shortcut mystery Ander Linux - Software 2 01-15-2005 01:45 PM
Keyboard Shortcut wildcat22 Linux - General 1 09-27-2004 10:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:28 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
Open Source Consulting | Domain Registration