You are not logged in.

#1 2019-08-27 12:18:59

zw963
Member
Registered: 2018-06-18
Posts: 200

new added user could not load synclient driver.(Solved)

my default user name is zw963,  i add this user when i install arch linux from cd media.

after reboot, and  install xf86-input-synaptics, i can access current touchpad config with:

 $: synclient
# many settings ...

yes, above command is worked with user zw963.

then i create a new user (wenjuan) with:

# useradd -m wenjuan
# passwd wenjuan

and i add this new user to many groups too.

$: id wenjuan
uid=1001(wenjuan) gid=1001(wenjuan) groups=1001(wenjuan),94(floppy),96(scanner),98(power),998(wheel),995(audio),994(disk),991(lp),986(video),108(vboxusers)

But, no luck, synclient not work for this new user:

 $: synclient 
Couldn't find synaptics properties. No synaptics driver loaded?

both user is is with a clean HOME,  so i don't think this issue is caused by some config in $HOME.

anyone can help why differnt user cause this? thank you.


[wenjuan@lggram ~]$ xinput
WARNING: running xinput against an Xwayland server. See the xinput man page for details.
⎡ Virtual core pointer                          id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer  (2)]
⎜   ↳ xwayland-pointer:16                       id=6    [slave  pointer  (2)]
⎜   ↳ xwayland-relative-pointer:16              id=7    [slave  pointer  (2)]
⎣ Virtual core keyboard                         id=3    [master keyboard (2)]
    ↳ Virtual core XTEST keyboard               id=5    [slave  keyboard (3)]
    ↳ xwayland-keyboard:16                      id=8    [slave  keyboard (3)]

Last edited by zw963 (2019-08-28 03:33:04)

Offline

#2 2019-08-27 12:32:05

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,523
Website

Re: new added user could not load synclient driver.(Solved)

First, why are you trying to use synaptics?  Did you see the highlighted note at the top of the wiki page?

When you tried the command with the new user, was that a fresh login with that user in their own session, or did you su or change user from within the first user's session?


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#3 2019-08-27 13:26:00

zw963
Member
Registered: 2018-06-18
Posts: 200

Re: new added user could not load synclient driver.(Solved)

Trilby wrote:

First, why are you trying to use synaptics?  Did you see the highlighted note at the top of the wiki page?

Because touchpad always cause issue when typing (only on linux, win 10 is OK), i always disable it before, but for now,
i want to try use make it more useful, maybe there are more easy way to set, but, i consider write a script invoke like
this is ok.

if synclient &>/dev/null; then

    synclient TapButton1=1 TapButton2=1 TapButton3=0
    # synclient ClickFinger1=0 ClickFinger2=0 ClickFinger3=0

    # Disable touchpad while typing
    synclient PalmDetect=1
    synclient PalmMinWidth=8
    synclient PalmMinZ=100

   # 这个允许:首先双击触摸板,此时已经高亮了选区,移动鼠标来允许选择选区。
   synclient TapAndDragGesture=1
fi

i occur some issue too, need test config use a new user.


When you tried the command with the new user, was that a fresh login with that user in their own session, or did you su or change user from within the first user's session?

.

always a refresh login, even, i will always reboot laptop to login with new user.

Offline

#4 2019-08-27 13:59:14

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,523
Website

Re: new added user could not load synclient driver.(Solved)

zw963 wrote:

Because touchpad always cause issue when typing (only on linux, win 10 is OK)

That's not a reason to use a deprecated tool that has been replaced.  Libinput is perfectly capable of disabling the touchpad while typing - and at least anecdotally from people who have used both, libinput is better at it than synaptics.  Just google "disable touchpad while typing libinput" and you'll get ample results.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#5 2019-08-28 03:32:39

zw963
Member
Registered: 2018-06-18
Posts: 200

Re: new added user could not load synclient driver.(Solved)

That's not a reason to use a deprecated tool that has been replaced.  Libinput is perfectly capable of disabling the touchpad while typing - and at least anecdotally from people who have used both, libinput is better at it than synaptics.  Just google "disable touchpad while typing libinput" and you'll get ample results.

Thank you a lot for this tip, i will try libinput, and config again.

--------------------------------------------

BTW:  i found the reason cause this, a very low level error.

When i use "old user", i use budgie-desktop, it use X11 as backend,  but when i logged in use "new user",
default use Gnome, it use Wayland as backend, synclient is not work in this case.

I will switch to libinput,  to ensure it worked in all cases.

Offline

Board footer

Powered by FluxBB