Re: Disabling a specific key

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 18 Dec 2014 at 16:50, Patrick O'Callaghan wrote:

Subject:        	Re: Disabling a specific key
From:           	Patrick O'Callaghan <pocallaghan@xxxxxxxxx>
To:             	users@xxxxxxxxxxxxxxxxxxxxxxx
Date sent:      	Thu, 18 Dec 2014 16:50:43 +0000
Send reply to:  	Community support for Fedora users 
<users@xxxxxxxxxxxxxxxxxxxxxxx>
	
<mailto:users-request@xxxxxxxxxxxxxxxxxxxxxxx?subject=unsubscribe>
	
<mailto:users-request@xxxxxxxxxxxxxxxxxxxxxxx?subject=subscribe>

> On Thu, 2014-12-18 at 16:27 +0000, Patrick O'Callaghan wrote:
> > On Thu, 2014-12-18 at 15:54 +0100, Andras Simon wrote:
> > > 2014-12-18 14:35 GMT+01:00, Patrick O'Callaghan <pocallaghan@xxxxxxxxx>:
> > > > I have a keyboard (Microsoft Wireless 800) which has an Insert key right
> > > > beside the Backspace and I keep hitting it by accident and changing the
> > > > insert mode of whatever I'm typing. I want to disable this key
> > > > completely as I can think of no circumstance in which it would ever be
> > > > useful. If it can't be disabled I would consider remapping it to a
> > > > second Backspace.
> > > >
> > > > Any ideas? I'm using KDE under F21 but I would hope for a general
> > > > solution to this.
> > > 
> > > I would use xmodmap for this:
> > > 
> > > xmodmap -e "keycode <your_key_code_here> =  NoSymbol"
> > > 
> > > (or something along these lines). You can find out the key code with xev.
> > 
> > Thanks, I'll try that.
> 
> Well it worked on a command line, but not in a browser window. I put it
> in my .xsession file and logged out and in again, to no avail.
> 
> I'll ask again on the KDE list in case it's something KDE-specific.
> 
> poc

Take a look at /etc/X11/Xmodmap file. 
Looks like you could add the mapping to that, and it work change how 
xserver sees the key.

Also, saw mention of the change not affecting the already loaded xserver 
unless one also does xmodmap /etc/X11/Xmodmap

Some time ago, I had machines with keyboard that had no insert key next to 
the home key. Double sized DEL key. So I had mapped the menu context 
button to be INSERT, but its been a while since I played with it.

Something to try.




> 
> -- 
> users mailing list
> users@xxxxxxxxxxxxxxxxxxxxxxx
> To unsubscribe or change subscription options:
> https://admin.fedoraproject.org/mailman/listinfo/users
> Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
> Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
> Have a question? Ask away: http://ask.fedoraproject.org


+----------------------------------------------------------+
  Michael D. Setzer II -  Computer Science Instructor      
  Guam Community College  Computer Center                  
  mailto:mikes@xxxxxxxxxxxxxxxx                            
  mailto:msetzerii@xxxxxxxxx
  http://www.guam.net/home/mikes
  Guam - Where America's Day Begins                        
  G4L Disk Imaging Project maintainer 
  http://sourceforge.net/projects/g4l/
+----------------------------------------------------------+

http://setiathome.berkeley.edu (Original)
Number of Seti Units Returned:  19,471
Processing time:  32 years, 290 days, 12 hours, 58 minutes
(Total Hours: 287,489)

BOINC@HOME CREDITS
ROSETTA     23352632.085707   |   SETI        39269284.523804
ABC         16613838.513356   |   EINSTEIN    45539783.101899

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org




[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux