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

Re: How to disable certain keys



On 17/08/2015, Brian <ad44@cityscape.co.uk> wrote:
> On Sun 16 Aug 2015 at 21:18:10 +0200, tomas@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, tomas@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 caps lock. The
>> > desire to go to root to do things easily done from a user account is
>> > prevalent. Is it worth having a multi-user system?
>>
>> Nit-pick: my solution goes to root to enable the user to do things in
>> a specific way. The content of .Xmodmap (or its presence at all) is
>> the user's realm.
>
> 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 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

I do have a file.xinputrc

Should the line "xmodmap .xmodmap" be inserted in the .xinputrc file,
in the absence of an .xsessionrc file?


-- 
Bret Busby
Armadale
West Australia
..............

"So once you do know what the question actually is,
 you'll know what the answer means."
- Deep Thought,
 Chapter 28 of Book 1 of
 "The Hitchhiker's Guide to the Galaxy:
 A Trilogy In Four Parts",
 written by Douglas Adams,
 published by Pan Books, 1992

....................................................


Reply to: