You are not logged in.

#1 2020-09-19 19:00:39

nashjc
Member
Registered: 2016-04-01
Posts: 27

Where (which file / location) to put command to enable touchpad

I've installed BL He on a Dell Inspiron 3000. (small blue laptop, rather underpowered).
It unfortunately has a touchscreen. The touchPAD works until login, then as the last parts of the GUI
come up (I think Conky), touchpad stops working.

Issuing
   synclient TouchPadOff=0

gets it going again. I've tried editing autostart, but that seems to be run before whatever disables
the pad. xinput commands can turn the touchSCREEN off and on, but don't seem to enable to touchPAD.
(Sorry if the caps are annoying, but it's easy to get confused).

So I know how to get going, but I'd like to put the command somewhere that I don't have to do it each login.

Essentially I need to know how to issue the synclient command very late in the login process.

Thanks.

JN

Offline

#2 2020-09-19 19:42:03

Sector11
Conky 1.9er Mod Squid
From: Upstairs
Registered: 2015-08-20
Posts: 6,437

Re: Where (which file / location) to put command to enable touchpad

How about in a bash file that runs as the very last line in the openbox autostart file?

Just a shot in the dark - NOT TESTED - NOT AN EXPERT

xset -dpms &
xset s off &
xset -b &
nitrogen --restore &
compton --config ~/.config/compton/S11.compton.conf &
thunar --daemon &
fbpanel &
(sleep 1s && volumeicon) &
(sleep 1s && artha) &
(sleep 1s && discord --start-minimized) &
(sleep 2s && ~/bin/tpad.sh) &
exit
#!/bin/bash
##   ~/bin/tpad.sh
##   start touchpad

synclient TouchPadOff=0
exit

The sun will never set if you keep walking towards it. - my son
Being positive doesn't understand physics.
_______________________________
Debian 10 Buster = SharpBang ♯!

Offline

#3 2020-09-19 20:13:48

nashjc
Member
Registered: 2016-04-01
Posts: 27

Re: Where (which file / location) to put command to enable touchpad

I didn't try a script at end of autostart, but did put the command
there.

I think that the touchpad is turned off AFTER the autostart runs.

JN

Offline

#4 2020-09-19 20:51:55

damo
....moderator....
Registered: 2015-08-20
Posts: 6,329

Re: Where (which file / location) to put command to enable touchpad

nashjc wrote:

...
Essentially I need to know how to issue the synclient command very late in the login process.

Thanks.

JN

As the last command in autostart try

sleep 3 && synclient TouchPadOff=0

Experiment with the sleep value so it works after the shortest time necessary. If you add an ampersand after the command it will be forked off and autostart will exit. Without it, autostart will wait until the command completes.

Also, check out Arch wiki - Dell Inspiron 3000
(NB the Debian packages aren't "xf86-*" but xserver-xorg-input-evdev and xserver-xorg-input-libinput)


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#5 2020-09-21 17:44:12

ohnonot
...again
Registered: 2015-09-29
Posts: 4,917
Website

Re: Where (which file / location) to put command to enable touchpad

^ I hope the longer delay fixes it.

Out of curiosity, does the touchSCREEN work?


BL quote proposals to this thread please.
my repos / my repos

Offline

Board footer

Powered by FluxBB