Re: Configuring hotplugged input devices

2019-11-30 Thread deloptes
Nicolas George wrote: > Ok, you win: obviously you knew all along how to edit xorg.conf without > editing it. I stand corrected. I did not say I knew how to do it. I said I understood what you are doing. I am also not English native speaker, but you could put some more effort to make precise sta

Re: Configuring hotplugged input devices

2019-11-30 Thread Nicolas George
deloptes (12019-11-30): > It makes no sense to argue with true believers > I got it also from the first time, but seems like you didn't with the third > time either :) > I first tried xkbcomp & Co may be 12y ago. I think I got it already the > first time. Ok, you win: obviously you knew all alon

Re: Configuring hotplugged input devices

2019-11-30 Thread deloptes
Nicolas George wrote: >> The logical consequence is a contradiction caused by your statement. > > Your reasoning is flawed. > It makes no sense to argue with true believers >> So you do not edit xorg.conf at the end. > > Congratulations, you got it the third time. > I got it also from the f

Re: Configuring hotplugged input devices

2019-11-30 Thread Nicolas George
deloptes (12019-11-30): > The logical consequence is a contradiction caused by your statement. Your reasoning is flawed. > So you do not edit xorg.conf at the end. Congratulations, you got it the third time. > What you do is, you pass perhaps commands to the Xorg server. Indeed, you are starti

Re: Configuring hotplugged input devices

2019-11-30 Thread deloptes
Nicolas George wrote: > Indeed, you cannot edit a file without the permissions. The logical > consequence is that the result can be achieved without editing the file > at all. The power of X11 and the power of logical reasoning are > wonderful, aren't they? > The logical consequence is a contrad

Re: Configuring hotplugged input devices

2019-11-30 Thread The Wanderer
On 2019-11-30 at 12:04, deloptes wrote: > The Wanderer wrote: > >> I understand this to mean: "there is a known way to achieve what I >> want by editing xorg.conf, but I want a solution which can be >> configured and adjusted by an ordinary user, and thus a solution >> which requires that the use

Re: Configuring hotplugged input devices

2019-11-30 Thread Nicolas George
deloptes (12019-11-30): > "without root permissions to edit xorg.conf" is contradiction in itself as > the file (if it exists) is r/w only by root, so you can not edit xorg.conf > without root permissions. Indeed, you cannot edit a file without the permissions. The logical consequence is that the

Re: Configuring hotplugged input devices

2019-11-30 Thread deloptes
The Wanderer wrote: > I understand this to mean: "there is a known way to achieve what I want > by editing xorg.conf, but I want a solution which can be configured and > adjusted by an ordinary user, and thus a solution which requires that > the user have permissions to edit xorg.conf is not viabl

Re: Configuring hotplugged input devices

2019-11-30 Thread The Wanderer
On 2019-11-30 at 08:54, deloptes wrote: > Andrei POPESCU wrote: > >>> I want a solution for simple users, without root permissions to >>> edit xorg.conf. >>> >>> If there is no standard solution, would you like one? I have a >>> small program that can serve as the basis for one, I can publish >>

Re: Configuring hotplugged input devices

2019-11-30 Thread deloptes
Andrei POPESCU wrote: >> I want a solution for simple users, without root permissions to edit >> xorg.conf. >> >> If there is no standard solution, would you like one? I have a small >> program that can serve as the basis for one, I can publish it if that >> would be useful. > > This looks like

Re: Configuring hotplugged input devices

2019-11-30 Thread Andrei POPESCU
On Lu, 25 nov 19, 15:01:03, Nicolas George wrote: > Hi. > > What is the standard for a user to automatically configure hotplugged > input devices under X11, to set the keyboard layout, repeat speed, > pointer acceleration, etc.? I'm not aware of any (admittedly, it's been a while since I had a pr

Re: Configuring hotplugged input devices

2019-11-25 Thread Nicolas George
Greg Wooledge (12019-11-25): > > Next time, read the > > question, assume that whoever asks knows what they are asking, > ... no. This is NOT a rational assumption, not on this mailing list. > > Most of the time, people are not asking the right questions, because > they have a flawed understandi

Re: Configuring hotplugged input devices

2019-11-25 Thread Greg Wooledge
On Mon, Nov 25, 2019 at 05:14:03PM +0100, Nicolas George wrote: > Next time, read the > question, assume that whoever asks knows what they are asking, ... no. This is NOT a rational assumption, not on this mailing list. Most of the time, people are not asking the right questions, because they ha

Re: Configuring hotplugged input devices

2019-11-25 Thread Nicolas George
Jonas Smedegaard (12019-11-25): > ...and that's when I stopped caring. Good, since you had nothing to contribute here. It would have saved your time and mine if you had noticed this earlier. Next time, read the question, assume that whoever asks knows what they are asking, and do not propose to ed

Re: Configuring hotplugged input devices

2019-11-25 Thread Nicolas George
Jonas Smedegaard (12019-11-25): > I don't think you can apply high-level XKB mapping to a specific > keyboard device But you can: -i deviceid If source or destination is a valid X display, load the keymap from/into the device with the specified ID (not name)

Re: Configuring hotplugged input devices

2019-11-25 Thread Jonas Smedegaard
Quoting Nicolas George (2019-11-25 16:42:40) > I hope you can grasp the difference. ...and that's when I stopped caring. Enjoy your life, - Jonas -- * Jonas Smedegaard - idealist & Internet-arkitekt * Tlf.: +45 40843136 Website: http://dr.jones.dk/ [x] quote me freely [ ] ask before reu

Re: Configuring hotplugged input devices

2019-11-25 Thread Jonas Smedegaard
Quoting David Wright (2019-11-25 16:29:07) > My problem is knowing what to put in the script to make a keyboard > layout apply only to a specific keyboard. I connect two keyboards; one > is an old IBM M with British layout (PS/2), the other is a Logitech > K520 with US layout (wireless). > > Cu

Re: Configuring hotplugged input devices

2019-11-25 Thread Nicolas George
Jonas Smedegaard (12019-11-25): > udev is the standard - it is an infrastructure where you can then hook > tools onto. Unicode is the standard, but not the standard about what I am asking. Speaking about Unicode here is irrelevant. Same goes for udev. > Somewhere you need root access - to insta

Re: Configuring hotplugged input devices

2019-11-25 Thread Nicolas George
David Wright (12019-11-25): > My problem is knowing what to put in the script to make a keyboard > layout apply only to a specific keyboard. I connect two keyboards; > one is an old IBM M with British layout (PS/2), the other is a > Logitech K520 with US layout (wireless). > > Currently the machin

Re: Configuring hotplugged input devices

2019-11-25 Thread David Wright
On Mon 25 Nov 2019 at 09:32:43 (-0500), Henning Follmann wrote: > On Mon, Nov 25, 2019 at 03:01:03PM +0100, Nicolas George wrote: > > What is the standard for a user to automatically configure hotplugged > > input devices under X11, to set the keyboard layout, repeat speed, > > pointer acceleration

Re: Configuring hotplugged input devices

2019-11-25 Thread Jonas Smedegaard
Quoting Nicolas George (2019-11-25 15:40:12) > Henning Follmann (12019-11-25): > > > I want a solution for simple users, without root permissions to edit > > > xorg.conf. > > > That's what udev is for > > Thanks, but no, not at all: I specifically requested a solution for > simple users, while ud

Re: Configuring hotplugged input devices

2019-11-25 Thread Nicolas George
Henning Follmann (12019-11-25): > > I want a solution for simple users, without root permissions to edit > > xorg.conf. > That's what udev is for Thanks, but no, not at all: I specifically requested a solution for simple users, while udev requires root privileges to write in /etc/udev. Furthermor

Re: Configuring hotplugged input devices

2019-11-25 Thread Henning Follmann
On Mon, Nov 25, 2019 at 03:01:03PM +0100, Nicolas George wrote: > Hi. > > What is the standard for a user to automatically configure hotplugged > input devices under X11, to set the keyboard layout, repeat speed, > pointer acceleration, etc.? > > I know how to do it manually using xinput and xkbc

Configuring hotplugged input devices

2019-11-25 Thread Nicolas George
Hi. What is the standard for a user to automatically configure hotplugged input devices under X11, to set the keyboard layout, repeat speed, pointer acceleration, etc.? I know how to do it manually using xinput and xkbcomp. I would like a generic solution, whatever desktop environment may propos