GDM-如何启用触摸板点击


10

我已在Gnome中启用了点击式单击,但在GDM上不起作用。

我尝试dconf-editor以root身份运行以修改设置,但无济于事。

我也尝试运行,sudo -u gdm gsettings set org.gnome.desktop.peripherals.touchpad tap-to-click true但出现以下错误

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

如何在GDM上启用点击式点击


我不知道GDM但这对每个拱版本我已经试过它的工作:forums.kali.org/...
约翰小号

Answers:


7

你必须出口$(dbus-launch),并设置gsettings后端(上测试archlinuxgdm 3.18.2):

  1. 切换到VT(例如Ctrl+ Alt+ F3),以root用户身份登录并运行:

    su - gdm -s /bin/sh
    

    将用户切换到gdm

  2. 然后运行:

    export $(dbus-launch)
    

    和:

    GSETTINGS_BACKEND=dconf gsettings set org.gnome.desktop.peripherals.touchpad tap-to-click true
    

    运行exit或按Ctrl+ D返回到帐户。

  3. 重新启动显示管理器:

    systemctl restart gdm
    

还原几乎相同,只是更改truefalse@步骤2。


在Debian的拉伸切换用户Debian-gdmsu - Debian-gdm -s /bin/sh
Sławek

那么如何保持这些设置呢?
iLemming

确认正在开发
Fedora30。– Zhro
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.