侏儒:屏幕键盘不显示,在firefox中滚动不起作用

发布于 2025-01-28 08:50:49 字数 431 浏览 2 评论 0原文

我有一个设置,该设置带有一个通过USB附加到运行GNOME 42/ubuntu的Linux机器22.04的设置。不幸的是,屏幕上的键盘不会出现在Firefox中,也不会在整个页面上滑动以滚动在所选择的文本中滚动结果。

我相信侏儒/穆特没有处于接触模式的错误。运行摘要

gdbus call --session \
--dest org.gnome.Shell \
--object-path /org/gnome/Shell \
--method org.gnome.Shell.Eval \
'imports.gi.Clutter.get_default_backend().get_default_seat().touch_mode'

会导致(false,'')。有没有办法强制触摸模式? Is this the real problem?

I have a setup with a touch screen attached via USB to a linux machine running Gnome 42/Ubuntu 22.04. Unfortunately the on-screen keyboard doesn't show up in Firefox and also swiping across the page to scroll results in the text being selected.

I believe there is a bug with Gnome/Mutter not being in touch mode. Running the snippet

gdbus call --session \
--dest org.gnome.Shell \
--object-path /org/gnome/Shell \
--method org.gnome.Shell.Eval \
'imports.gi.Clutter.get_default_backend().get_default_seat().touch_mode'

Results in (false, ''). Is there a way to force touch mode? Is this the real problem?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

愿与i 2025-02-04 08:50:49

我不确定键盘不显示。但是滚动内容是通过更改Firefox中的两个设置来解决的。

  1. OPEN 关于:config
  2. 查找dom.w3c_touch_events.enabled将其设置为1个
  3. 打开pam_env.conf /code>
  4. 在新行上,附加moz_use_xinput2默认= 1
  5. 重新启动

您的firefox安装现在将启动,就像设备是平板电脑一样,而不是台式机。意味着您可以使用触摸屏捏/缩放等。

I'm not sure about the keyboard not showing up. But the scroll thing is fixed by changing two settings in firefox.

  1. Open about:config
  2. Find dom.w3c_touch_events.enabled set it to 1
  3. Open pam_env.conf found in /etc/security/
  4. On a new line, append MOZ_USE_XINPUT2 DEFAULT=1
  5. Reboot

Your Firefox install will now start as if the device is a tablet, rather than a desktop. Meaning you can pinch/zoom etc. with the touch screen.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文