Re: How to disable certain keys

2015-08-30 Thread Bret Busby
On 30/08/2015, Bret Busby bret.bu...@gmail.com wrote: On 16/08/2015, Bret Busby bret.bu...@gmail.com wrote: On 16/08/2015, Bret Busby bret.bu...@gmail.com wrote: On 16/08/2015, to...@tuxteam.de to...@tuxteam.de wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sun, Aug 16, 2015 at

Re: How to disable certain keys

2015-08-30 Thread David Wright
Quoting Bret Busby (bret.bu...@gmail.com): xmodmap ~/.xmodmap-`uname-n` bret@bret-Aspire-V3-772-UbuntuMATE-1504:~$ That's quite a hostname! Which I will test, the next time that I reboot (which probably will not be for a few hours). Unfortunately, this path of action, has

Re: How to disable certain keys

2015-08-17 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sun, Aug 16, 2015 at 10:42:40PM +0100, Brian wrote: [...] It cannot be set up by users without root privileges and does nothing that the stock X won't do. That makes it inelegant, over-engineered and therefore unnecessary. :) ~/.xmodmap

Re: How to disable certain keys

2015-08-16 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sun, Aug 16, 2015 at 01:53:38PM +0800, Bret Busby wrote: [...] So, after editing that file, I now have [...] bret@bret-Aspire-V3-772-UbuntuMATE-1504:~$ See my other answer: this might work -- or not. It will do this setting each time you

Re: How to disable certain keys

2015-08-16 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sun, Aug 16, 2015 at 01:41:02PM +0800, Bret Busby wrote: [...] Hello. Unfortunately, like with many other message boxes/dialogue boxes, copying and pasting, is not possible. In the particular message box, is Wrote output to the file

Re: How to disable certain keys

2015-08-16 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sun, Aug 16, 2015 at 12:07:38AM -0500, rlhar...@oplink.net wrote: On Sat, August 15, 2015 11:29 pm, to...@tuxteam.de wrote: On Sun, Aug 16, 2015 at 12:04:17PM +0800, Bret Busby wrote: On 15/08/2015, Carl Johnson ca...@peak.org wrote: ...

Re: How to disable certain keys

2015-08-16 Thread Brian
On Sun 16 Aug 2015 at 14:04:18 +0200, to...@tuxteam.de wrote: On Sun, Aug 16, 2015 at 12:31:32PM +0100, Brian wrote: This file is a non-Debian file. It is not needed for the simple task at hand. I doubt it would ever be needed. That's right: according to Debian Policy, files in /etc

Re: How to disable certain keys

2015-08-16 Thread Brian
On Sun 16 Aug 2015 at 09:28:24 +0200, to...@tuxteam.de wrote: Now different desktop environments have different ways to achieve that. I run a pretty classical setup (no desktop environment at all, Fvwm as window manager). In my case, the scripts in /etc/X11/Xsession.d are arranged to load

Re: How to disable certain keys

2015-08-16 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sun, Aug 16, 2015 at 12:31:32PM +0100, Brian wrote: On Sun 16 Aug 2015 at 09:28:24 +0200, to...@tuxteam.de wrote: [...] for xmodmap, there's this snippet in /etc/X11/Xsession.d/80x11xmodmap: This file is a non-Debian file. It is not needed

Re: How to disable certain keys

2015-08-16 Thread Brian
On Sun 16 Aug 2015 at 15:46:18 +0200, to...@tuxteam.de wrote: On Sun, Aug 16, 2015 at 01:45:04PM +0100, Brian wrote: On Sun 16 Aug 2015 at 14:04:18 +0200, to...@tuxteam.de wrote: On Sun, Aug 16, 2015 at 12:31:32PM +0100, Brian wrote: This file is a non-Debian file. It is not

Re: How to disable certain keys

2015-08-16 Thread Brian
On Sun 16 Aug 2015 at 14:59:03 +0100, Brian wrote: On Sun 16 Aug 2015 at 15:46:18 +0200, to...@tuxteam.de wrote: On Sun, Aug 16, 2015 at 01:45:04PM +0100, Brian wrote: On Sun 16 Aug 2015 at 14:04:18 +0200, to...@tuxteam.de wrote: On Sun, Aug 16, 2015 at 12:31:32PM +0100, Brian

Re: How to disable certain keys

2015-08-16 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sun, Aug 16, 2015 at 03:48:05PM +0100, Brian wrote: On Sun 16 Aug 2015 at 14:59:03 +0100, Brian wrote: [...] I forgot to qualify the first sentence:). Any user having a .xinitrc would not have the files in Xsession.d read when X is started

Re: How to disable certain keys

2015-08-16 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sun, Aug 16, 2015 at 01:45:04PM +0100, Brian wrote: On Sun 16 Aug 2015 at 14:04:18 +0200, to...@tuxteam.de wrote: On Sun, Aug 16, 2015 at 12:31:32PM +0100, Brian wrote: This file is a non-Debian file. It is not needed for the simple

Re: How to disable certain keys

2015-08-16 Thread Brian
On Sun 16 Aug 2015 at 20:21:05 +0200, to...@tuxteam.de wrote: On Sun, Aug 16, 2015 at 03:48:05PM +0100, Brian wrote: On Sun 16 Aug 2015 at 14:59:03 +0100, Brian wrote: [...] I forgot to qualify the first sentence:). Any user having a .xinitrc would not have the files in Xsession.d

Re: How to disable certain keys

2015-08-16 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sun, Aug 16, 2015 at 07:57:20PM +0100, Brian wrote: On Sun 16 Aug 2015 at 20:21:05 +0200, to...@tuxteam.de wrote: [...] It still comes down to why intrude on the user's province? One file, .xsessionrc, and one line in the file to disable the

Re: How to disable certain keys

2015-08-16 Thread Brian
On Sun 16 Aug 2015 at 21:18:10 +0200, to...@tuxteam.de wrote: On Sun, Aug 16, 2015 at 07:57:20PM +0100, Brian wrote: On Sun 16 Aug 2015 at 20:21:05 +0200, to...@tuxteam.de wrote: [...] It still comes down to why intrude on the user's province? One file, .xsessionrc, and one line in

Re: How to disable certain keys

2015-08-16 Thread Bret Busby
On 17/08/2015, Brian a...@cityscape.co.uk wrote: On Sun 16 Aug 2015 at 21:18:10 +0200, to...@tuxteam.de wrote: On Sun, Aug 16, 2015 at 07:57:20PM +0100, Brian wrote: On Sun 16 Aug 2015 at 20:21:05 +0200, to...@tuxteam.de wrote: [...] It still comes down to why intrude on the user's

Re: How to disable certain keys

2015-08-16 Thread Brian
On Mon 17 Aug 2015 at 12:41:27 +0800, Bret Busby wrote: On 17/08/2015, Brian a...@cityscape.co.uk wrote: ~/.xmodmap with the contents keycode 54 = z. ~/.xsessionrc with the contents xmodmap .xmodmap. Two files; two lines; total control. I appear to not have a file .xsessionrc Create

Re: How to disable certain keys

2015-08-15 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sun, Aug 16, 2015 at 12:04:17PM +0800, Bret Busby wrote: On 15/08/2015, Carl Johnson ca...@peak.org wrote: Bret Busby bret.bu...@gmail.com writes: [...] That same right-click menu has an option to save the settings to a .xmodmap file and

Re: How to disable certain keys

2015-08-15 Thread Bret Busby
On 15/08/2015, Liam O'Toole liam.p.oto...@gmail.com wrote: On 2015-08-15, Bret Busby bret.bu...@gmail.com wrote: It seems you've managed to disable all keys. :-) Ah, only the ones that I wanted to disable, I hope ... :) -- Bret Busby Armadale West Australia .. So once you

Re: How to disable certain keys

2015-08-15 Thread Bret Busby
On 15/08/2015, Carl Johnson ca...@peak.org wrote: Bret Busby bret.bu...@gmail.com writes: xkeycaps is run from the command line, and (when ran from a command line in a terminal emulator) it displayed a graphical image of the keyboard, and, when a mouseover was done of the keys that I wanted

Re: How to disable certain keys

2015-08-15 Thread briand
On Sun, 16 Aug 2015 00:07:38 -0500 rlhar...@oplink.net wrote: On Sat, August 15, 2015 11:29 pm, to...@tuxteam.de wrote: On Sun, Aug 16, 2015 at 12:04:17PM +0800, Bret Busby wrote: On 15/08/2015, Carl Johnson ca...@peak.org wrote: ... How do I modify the login script? I do not know the

Re: How to disable certain keys

2015-08-15 Thread rlharris
On Sat, August 15, 2015 11:29 pm, to...@tuxteam.de wrote: On Sun, Aug 16, 2015 at 12:04:17PM +0800, Bret Busby wrote: On 15/08/2015, Carl Johnson ca...@peak.org wrote: ... How do I modify the login script? I do not know the file name or path, for the login script. I am asking the same

Re: How to disable certain keys

2015-08-15 Thread Bret Busby
On 16/08/2015, Bret Busby bret.bu...@gmail.com wrote: On 16/08/2015, to...@tuxteam.de to...@tuxteam.de wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sun, Aug 16, 2015 at 12:04:17PM +0800, Bret Busby wrote: On 15/08/2015, Carl Johnson ca...@peak.org wrote: Bret Busby

Re: How to disable certain keys

2015-08-15 Thread Bret Busby
On 16/08/2015, to...@tuxteam.de to...@tuxteam.de wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sun, Aug 16, 2015 at 12:04:17PM +0800, Bret Busby wrote: On 15/08/2015, Carl Johnson ca...@peak.org wrote: Bret Busby bret.bu...@gmail.com writes: [...] That same right-click menu

Re: How to disable certain keys

2015-08-15 Thread Bret Busby
On 15/08/2015, Brian a...@cityscape.co.uk wrote: On Fri 14 Aug 2015 at 14:26:23 -0700, Carl Johnson wrote: Brian a...@cityscape.co.uk writes: On Fri 14 Aug 2015 at 15:41:07 +0800, Bret Busby wrote: Some of the keys are causing problems and disrupting what I do, due to the keys

Re: How to disable certain keys

2015-08-15 Thread Bret Busby

Re: How to disable certain keys

2015-08-15 Thread Curt
On 2015-08-14, Brian a...@cityscape.co.uk wrote: That information is not obvious and using xmodmap is only one way to do it. Most desktop environments have a keyboard section in their settings Which information isn't obvious? How to disable certain keys as the subject of this thread has

Re: How to disable certain keys

2015-08-15 Thread Bret Busby
On 15/08/2015, Curt cu...@free.fr wrote: On 2015-08-14, Bret Busby bret.bu...@gmail.com wrote: Hello. Some of the keys are causing problems and disrupting what I do, due to the keys apparently being inadvertently pressed. How do I disable the Caps Lock key, and, how do I disable the left

Re: How to disable certain keys

2015-08-15 Thread Liam O'Toole
On 2015-08-15, Bret Busby bret.bu...@gmail.com wrote: It seems you've managed to disable all keys. :-) -- Liam

Re: How to disable certain keys

2015-08-15 Thread Carl Johnson
Bret Busby bret.bu...@gmail.com writes: xkeycaps is run from the command line, and (when ran from a command line in a terminal emulator) it displayed a graphical image of the keyboard, and, when a mouseover was done of the keys that I wanted to disable, a menu is displayed, with an option to

Re: How to disable certain keys

2015-08-14 Thread Brian
On Fri 14 Aug 2015 at 15:41:07 +0800, Bret Busby wrote: Some of the keys are causing problems and disrupting what I do, due to the keys apparently being inadvertently pressed. How do I disable the Caps Lock key, and, how do I disable the left hand CTRL key, and, how do I disable the Windows

Re: How to disable certain keys

2015-08-14 Thread Thomas Schmitt
Hi, Bret Busby wrote: How do I disable the Caps Lock key, and, how do I disable the left hand CTRL key, and, how do I disable the Windows keys? Brian wrote: xmodmap might have come up. In what way were the solutions involving this utility or other techniques you came across

Re: How to disable certain keys

2015-08-14 Thread Carl Johnson
Brian a...@cityscape.co.uk writes: On Fri 14 Aug 2015 at 15:41:07 +0800, Bret Busby wrote: Some of the keys are causing problems and disrupting what I do, due to the keys apparently being inadvertently pressed. How do I disable the Caps Lock key, and, how do I disable the left hand CTRL

Re: How to disable certain keys

2015-08-14 Thread Thomas Schmitt
Hi, rlhar...@oplink.net wrote: I am ready to resort to mechanically disabling the NUM LOCK key with epoxy cement. Use this glue code instead: xmodmap -e keysym Num_Lock = I must say it has a certain appeal not to see the ugly light. But before enabling this automatically, check whether

Re: How to disable certain keys

2015-08-14 Thread rlharris
Of all the keys which need to be disabled, the foremost is NUM LOCK, which is a curse if ever there was a curse. I am ready to resort to mechanically disabling the NUM LOCK key with epoxy cement. RLH

Re: How to disable certain keys

2015-08-14 Thread Curt
On 2015-08-14, Bret Busby bret.bu...@gmail.com wrote: Hello. Some of the keys are causing problems and disrupting what I do, due to the keys apparently being inadvertently pressed. How do I disable the Caps Lock key, and, how do I disable the left hand CTRL key, and, how do I disable the

Re: How to disable certain keys

2015-08-14 Thread Brian
On Fri 14 Aug 2015 at 14:26:23 -0700, Carl Johnson wrote: Brian a...@cityscape.co.uk writes: On Fri 14 Aug 2015 at 15:41:07 +0800, Bret Busby wrote: Some of the keys are causing problems and disrupting what I do, due to the keys apparently being inadvertently pressed. How do I