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

Re: How to disable certain keys

2015-08-30 Thread Bret Busby
On 30/08/2015, Bret Busby wrote: > On 16/08/2015, Bret Busby wrote: >> On 16/08/2015, Bret Busby wrote: >>> On 16/08/2015, 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, C

Re: How to disable certain keys

2015-08-16 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 Brian
On Mon 17 Aug 2015 at 12:41:27 +0800, Bret Busby wrote: > On 17/08/2015, Brian 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 it. > I d

Re: How to disable certain keys

2015-08-16 Thread Bret Busby
On 17/08/2015, Brian 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 province?

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 l

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 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

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 star

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 +01

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

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 s

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

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 nee

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 l

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 yo

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 wrote: > ... > >> How do

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

Re: How to disable certain keys

2015-08-15 Thread Bret Busby
On 16/08/2015, Bret Busby wrote: > On 16/08/2015, 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 wrote: >>> > Bret Busby writes: >> >> [...] >> >>> > That same right-cl

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 wrote: > ... > >> How do I modify the login script? I do not know the file nam

Re: How to disable certain keys

2015-08-15 Thread Bret Busby
On 16/08/2015, 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 wrote: >> > Bret Busby writes: > > [...] > >> > That same right-click menu has an option to save the settings to

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 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 question Bret i

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 wrote: > > Bret Busby writes: [...] > > That same right-click menu has an option to save the settings to a > > .xmodmap file and shows how to include that fil

Re: How to disable certain keys

2015-08-15 Thread Bret Busby
On 15/08/2015, Liam O'Toole wrote: > On 2015-08-15, Bret Busby 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 do know what the question actually

Re: How to disable certain keys

2015-08-15 Thread Bret Busby
On 15/08/2015, Carl Johnson wrote: > Bret Busby 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 dis

Re: How to disable certain keys

2015-08-15 Thread Carl Johnson
Bret Busby 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 disable the key.

Re: How to disable certain keys

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

Re: How to disable certain keys

2015-08-15 Thread Bret Busby
On 15/08/2015, Curt wrote: > On 2015-08-14, Bret Busby 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 key, and, how do I disable the left >> hand key, and, how do I disa

Re: How to disable certain keys

2015-08-15 Thread Curt
On 2015-08-14, Brian 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 it? Curt fou

Re: How to disable certain keys

2015-08-15 Thread Bret Busby
On 15/08/2015, Brian wrote: > On Fri 14 Aug 2015 at 14:26:23 -0700, Carl Johnson wrote: > >> Brian 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 inadvertentl

Re: How to disable certain keys

2015-08-15 Thread Bret Busby

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 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 disabl

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 Carl Johnson
Brian 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 key, and, how do I disable the left >> hand key, and, how do I disa

Re: How to disable certain keys

2015-08-14 Thread Curt
On 2015-08-14, Bret Busby 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 key, and, how do I disable the left > hand key, and, how do I disable the keys? I'm reading you can u

Re: How to disable certain keys

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

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 key, and, how do I disable the left > hand key, and, how do I disable the keys? > > Than