AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / user-112929

01AutoMonkey's questions

Martin Hope
01AutoMonkey
Asked: 2025-01-13 19:56:09 +0800 CST

如何在 Ubuntu 24.04 LTS Wayland 上禁用/启用键盘/鼠标(输入设备)?

  • 5

我需要一个 cli 命令来禁用输入设备(键盘和鼠标),以及一个命令来再次启用它们。

要在Xorg上禁用输入设备,方法是:xinput float <id#>,要启用它们,方法是xinput reattach <id#>,但我在Wayland上,如何在那里执行此操作?

keyboard
  • 1 个回答
  • 33 Views
Martin Hope
01AutoMonkey
Asked: 2023-09-24 21:09:05 +0800 CST

每个 GNOME 工作区都有独特的壁纸吗?

  • 6

如何为每个 GNOME 工作区设置独特的壁纸?

gnome
  • 1 个回答
  • 60 Views
Martin Hope
01AutoMonkey
Asked: 2022-03-15 08:47:54 +0800 CST

更改键盘键的功能,例如“Alt gr + z”生成 | 而不是 ”

  • 1

我的键盘对程序员不友好,所以我想手动更改某些键的工作方式:

Alt gr+不z应该产生|«

Alt gr+不x应该产生<»

Alt gr+不c应该产生>¢

我该怎么做呢?


$ setxkbmap -query
rules:      evdev
model:      pc105
layout:     is,us
variant:    ,
keyboard
  • 1 个回答
  • 92 Views
Martin Hope
01AutoMonkey
Asked: 2020-11-21 11:52:06 +0800 CST

Firefox/Chrome,如何将 localhost 和 wikipedia.org 列入白名单?

  • 0

在 Firefox 和 Chrome 上,我如何允许本地网络和Wikipedia(localhost、192.168.1.*、*.wikipedia.org等)但阻止其他所有内容?本质上是一个白名单。但是,我仍然希望系统上的其他工具能够完全访问 Internet,例如git、wget等,因此该解决方案不得影响它们。

本质上是在浏览器级别而不是在系统级别将互联网列入白名单。

networking firefox browser google-chrome localhost
  • 2 个回答
  • 947 Views
Martin Hope
01AutoMonkey
Asked: 2020-05-08 14:31:00 +0800 CST

如何在 Wine 中安装 HTML (Gecko) 支持?

  • 4

我正在尝试运行一个游戏安装程序,该安装程序需要我向下滚动许可协议才能继续,它使用一些 IE 技术以 HTML 呈现,所以我相信我需要 wine-gecko.. 但是我该如何安装它?

wine msiexec /i wine-gecko-2.47.1-x86_64.msi只是给我:

0009:err:mscoree:LoadLibraryShim error reading registry key for installroot
0009:err:mscoree:LoadLibraryShim error reading registry key for installroot
0009:err:mscoree:LoadLibraryShim error reading registry key for installroot
0009:err:mscoree:LoadLibraryShim error reading registry key for installroot

不能滚动意味着不能同意许可协议。


见:https ://wiki.winehq.org/Gecko

我正在运行 Ubuntu 20.04。

编辑#1

当 wine 初始化自己时,我得到了这个:

wine: created the configuration directory '/home/myuser/.wine'
0012:err:ole:marshal_object couldn't get IPSFactory buffer for interface {00000131-0000-0000-c000-000000000046}
0012:err:ole:marshal_object couldn't get IPSFactory buffer for interface {6d5140c1-7436-11ce-8034-00aa006009fa}
0012:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hres=0x80004002
0012:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, 80004002
0012:err:ole:get_local_server_stream Failed: 80004002
0014:err:ole:marshal_object couldn't get IPSFactory buffer for interface {00000131-0000-0000-c000-000000000046}
0014:err:ole:marshal_object couldn't get IPSFactory buffer for interface {6d5140c1-7436-11ce-8034-00aa006009fa}
0014:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hres=0x80004002
0014:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, 80004002
0014:err:ole:get_local_server_stream Failed: 80004002

Could not find Wine Gecko. HTML rendering will be disabled.
Could not find Wine Gecko. HTML rendering will be disabled.
wine: configuration in L"/home/myuser/.wine" has been updated.
Could not find Wine Gecko. HTML rendering will be disabled.
0009:err:mshtml:create_document_object Failed to init Gecko, returning CLASS_E_CLASSNOTAVAILABLE

所以看起来它正试图在某个地方找到壁虎..

wine firefox html ie
  • 1 个回答
  • 15269 Views
Martin Hope
01AutoMonkey
Asked: 2019-11-30 12:29:59 +0800 CST

如何通过本地网络从另一台计算机远程使用计算机?

  • 3

我在同一个网络上有两台显示器和两台计算机,其中一台计算机不如另一台那么强大,显示器是相同的。

我想知道的是,如何将功能强大的计算机的 X11 Ubuntu GNOME 桌面环境显示到功能较弱的显示器上(通过本地网络),然后从那里控制它?

体验越接近直接使用功能强大的计算机越好。例如在滞后、延迟、帧率、图像质量等方面。

一种解决方案是TeamViewer,我还没有在本地网络上尝试过,但是当我在互联网上使用它时,体验并不理想。

因此,鉴于此:

  • 什么是最好的 FOSS 解决方案?
  • 什么是最好的专有解决方案?

我想这应该是可能的,因为Google Stadia应该能够做到这一点,即使在互联网上以 1080p 60 FPS(但考虑到视频游戏)。

奖金问题

  • 这也可以在 Raspberry Pi 4 上完成吗?
  • 正确的术语是“瘦客户端”吗?
  • 如何做同样的事情,但在 Wayland 上?
networking xorg monitor x11-forwarding
  • 2 个回答
  • 348 Views
Martin Hope
01AutoMonkey
Asked: 2019-08-24 07:10:35 +0800 CST

如何在 Ubuntu 18.04 LTS 上安装最新的 Linux 内核、Mesa、Intel/AMD GPU 驱动程序和 Xorg..?[复制]

  • 1
这个问题在这里已经有了答案:
什么是硬件支持 (HWE)? (2 个回答)
3年前关闭。

在 Ubuntu 18.04 LTS 上,如何获得:

  • Linux 内核: 5.0 或更高版本。
  • Mesa 库: 19.0 或更高版本。
  • 英特尔显卡驱动程序: ...?(最新的)
  • AMD 显卡驱动程序: ...?(最新的)
  • 许格: ……?(最新的)

我有两台机器,一台配备 Intel 的 GPU,另一台配备 AMD。

问这个问题的另一种方法是:如何优化游戏(例如 Steam)并充分利用新硬件,特别是在Ubuntu 18.04 LTS上?

drivers ppa kernel graphics 18.04
  • 1 个回答
  • 1626 Views
Martin Hope
01AutoMonkey
Asked: 2018-04-25 09:52:16 +0800 CST

当默认的文本转语音程序 (spd-say) 说话时伴随着噪音/噼啪声/嗡嗡声(和一些回声),如何解决?

  • 6
spd-say "Hello world!"

我在笔记本电脑(戴尔 XPS 15)上运行 Ubuntu 17.10。我没有注意到这台机器上的任何其他应用程序有任何音频问题。我sudo apt dist-upgrade最近才完成,所以一切都是最新的。

> lspci | grep Audio
00:03.0 Audio device: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller (rev 06)
00:1b.0 Audio device: Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller (rev 05)

> spd-say --version
spd-say: 0.8.7
Copyright (C) 2002-2012 Brailcom, o.p.s.

> uname -sr
Linux 4.13.0-39-generic

如果我更改计算机上的音量,问题仍然存在,但如果我使用参数(减小的音量)随机运行应用程序几次,它会暂时-i -50消失,但我正在寻找更持久的解决方案。

sound text-to-speech
  • 1 个回答
  • 1704 Views
Martin Hope
01AutoMonkey
Asked: 2016-06-23 15:25:18 +0800 CST

我可以只使用干净的 Ubuntu 安装上可用的软件包来创建互联网白名单吗?(也许 /etc/hosts.allow?)

  • 3

我希望不能访问任何站点,除非它在白名单上,而且我宁愿不使用 Privoxy 之类的东西,我可以用 Ubuntu 做到这一点吗?

我在想也许我可以使用/etc/hosts,/etc/hosts.allow和/或/etc/hosts.deny. 我的第一个想法是以某种方式阻止所有使用hosts.deny,然后在hosts.allow. 那可能吗?如果是这样,我该如何定义诸如“所有站点直接到本地主机”之类的内容hosts.deny,然后在中定义“这些站点除外” hosts.allow?

proxy
  • 1 个回答
  • 3968 Views

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    如何运行 .sh 脚本?

    • 16 个回答
  • Marko Smith

    如何安装 .tar.gz(或 .tar.bz2)文件?

    • 14 个回答
  • Marko Smith

    如何列出所有已安装的软件包

    • 24 个回答
  • Marko Smith

    无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗?

    • 25 个回答
  • Martin Hope
    Flimm 如何在没有 sudo 的情况下使用 docker? 2014-06-07 00:17:43 +0800 CST
  • Martin Hope
    Ivan 如何列出所有已安装的软件包 2010-12-17 18:08:49 +0800 CST
  • Martin Hope
    La Ode Adam Saputra 无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗? 2010-11-30 18:12:48 +0800 CST
  • Martin Hope
    David Barry 如何从命令行确定目录(文件夹)的总大小? 2010-08-06 10:20:23 +0800 CST
  • Martin Hope
    jfoucher “以下软件包已被保留:”为什么以及如何解决? 2010-08-01 13:59:22 +0800 CST
  • Martin Hope
    David Ashford 如何删除 PPA? 2010-07-30 01:09:42 +0800 CST

热门标签

10.10 10.04 gnome networking server command-line package-management software-recommendation sound xorg

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve