LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-04-2010, 03:34 AM   #1
vinaytp
Member
 
Registered: Apr 2009
Location: Bengaluru, India
Distribution: RHEL 5.4, 6.0, Ubuntu 10.04
Posts: 707

Rep: Reputation: 55
Disable control keys in Fedora


Hi all...

I have a testing application, under which I need to disable Ctrl-x and Few other keys...

My Problem is If i disable Ctrl Key using xmodmap command..All the other Ctrl combination are getting disabled...For ex: Ctrl-s, Ctrl-a etc..My goal is to enable some combination of Ctrl key and disabling some combination of Ctrl key..

How can I proceed with this...Any hint will be greatly appreciated...
Thanks in advance...
 
Old 01-04-2010, 10:13 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 27,191

Rep: Reputation: 8068Reputation: 8068Reputation: 8068Reputation: 8068Reputation: 8068Reputation: 8068Reputation: 8068Reputation: 8068Reputation: 8068Reputation: 8068Reputation: 8068
Quote:
Originally Posted by vinaytp View Post
Hi all...

I have a testing application, under which I need to disable Ctrl-x and Few other keys...

My Problem is If i disable Ctrl Key using xmodmap command..All the other Ctrl combination are getting disabled...For ex: Ctrl-s, Ctrl-a etc..My goal is to enable some combination of Ctrl key and disabling some combination of Ctrl key..

How can I proceed with this...Any hint will be greatly appreciated...
Thanks in advance...
Hard to say, since you don't give any details about the application.

There are ways to ignore control keys in shell-scripts and other programs, but they're dependent ON the programs. The way you'd do it for a shell script is different from how you do it in C, Perl, etc.

If you just disable the ctrl key, why not go under your desktop environment, and remap that function to some other key combination? Again, you give no details, but both KDE and Gnome have places to map keys to do different things.
 
  


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
Disable keys in Fedora vinaytp Linux - Newbie 5 12-29-2009 03:35 AM
how to disable firefox shortcut keys? B-Boy Linux - General 2 09-16-2009 07:45 AM
Disable Menu Accelerator Keys octopus 8 Linux - Desktop 0 01-07-2008 03:15 PM
How do I disable certain keyboard keys? mapquest Linux - General 1 10-01-2006 04:12 PM
How To Disable Hot-Keys of Console? davialbuquerque Linux - Software 2 04-16-2006 03:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:12 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