You are not logged in.

#1 2016-02-29 15:02:12

entodoays
Member
From: Malta
Registered: 2014-10-25
Posts: 118

GDM tap to click

I noticed that in GDM, tap-to-click doesn't work with the touchpad. I want to enable it.

In the wiki it says to run:

sudo -u gdm gsettings set org.gnome.desktop.peripherals.touchpad tap-to-click true

When I do, I get

(process:7358): dconf-WARNING **: failed to commit changes to dconf: Error spawning command line 'dbus-launch --autolaunch=ab23dee5243241a9801f9948fdb9afa0 --binary-syntax --close-stderr': Child process exited with code 1

If I try using the other method suggested by the wiki, that is, using the gui with:

sudo -u gdm dconf-editor

I get:

No protocol specified
Unable to init server: Could not connect: Connection refused

(dconf-editor:7397): Gtk-WARNING **: cannot open display: :0

I tried running the first command in a virtual terminal and the command exited without any error messages but running:

sudo -u gdm gsettings get org.gnome.desktop.peripherals.touchpad tap-to-click

returned

false

What am I doing wrong?

Offline

#2 2016-04-26 12:41:01

grufo
Member
Registered: 2012-08-09
Posts: 100

Re: GDM tap to click

You should first grant GDM the right to access the X server:

sudo xhost +SI:localuser:gdm

Then you can launch:

sudo -u gdm gsettings set org.gnome.desktop.peripherals.touchpad tap-to-click true

Eventually, you can unable back gdm from accessing the X server:

sudo xhost -SI:localuser:gdm

--grufo

Offline

Board footer

Powered by FluxBB