Re: [DNG] running script on eudev event

2018-08-05 Thread Alessandro Selli
On 05/08/2018 at 20:44, Antony Stone wrote: > On Sunday 05 August 2018 at 20:24:30, Alessandro Selli wrote: > >> On 05/08/2018 at 16:29, Antonio Trkdz.tab wrote: >>> Dear All, >>> >>> I am struggling to understand how to run a script automatically upon >>> plugging a USB keyboard. >>> I know this

Re: [DNG] running script on eudev event

2018-08-05 Thread Antony Stone
On Sunday 05 August 2018 at 20:24:30, Alessandro Selli wrote: > On 05/08/2018 at 16:29, Antonio Trkdz.tab wrote: > > Dear All, > > > > I am struggling to understand how to run a script automatically upon > > plugging a USB keyboard. > > I know this issue is not directly related to Devuan, but I w

Re: [DNG] running script on eudev event

2018-08-05 Thread Alessandro Selli
On 05/08/2018 at 16:29, Antonio Trkdz.tab wrote: > Dear All, > > I am struggling to understand how to run a script automatically upon > plugging a USB keyboard. > I know this issue is not directly related to Devuan, but I will > certainly appreciate a little help. > > I created the following rule a

Re: [DNG] running script on eudev event

2018-08-05 Thread Antony Stone
On Sunday 05 August 2018 at 16:29:05, Antonio Trkdz.tab wrote: > I created the following rule as /etc/udev/rules.d/90-usb-keyboard.rules: > ATTRS{idVendor}=="", ATTRS{idProduct}=="", ACTION=="add", > RUN+="/full/path_to/restore_space_as_modifier.sh" > and reloaded eudev (I am on ASCII).

[DNG] running script on eudev event

2018-08-05 Thread Antonio Trkdz.tab
Dear All, I am struggling to understand how to run a script automatically upon plugging a USB keyboard. I know this issue is not directly related to Devuan, but I will certainly appreciate a little help. I created the following rule as /etc/udev/rules.d/90-usb-keyboard.rules: ATTRS{idVendor}=="X