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-854479

cheater's questions

Martin Hope
cheater
Asked: 2020-08-04 05:00:58 +0800 CST

使烦人的可执行文件对 bash 选项卡完成不可见(cd-it8 等)

  • 1

使用命令行时,cd是最常用的 shell 命令之一。我已经习惯了键入cd、按tab,然后tab再次按以查看要cd进入的目录的能力。Ubuntu 最近开始包含该colord软件包,其工具以cd. 现在,如果我按cdand tab,我会得到:

$ cd
cd                 cd-fix-profile     cd-it8             
cd-create-profile  cd-iccdump         

cd-*当我使用命令行时,如何确保所有这些可执行文件都不会出现?我认为它们是操作系统所必需的,所以我不能只是将它们移出或重命名它们;但是,当我在 bash 中时,我不希望它们完成甚至可见。

请注意,这是在 Ubuntu 18.04 附带的 bash 4.4.20(1) 下。

顺便说一句:这些可执行文件是否仍包含在 Ubuntu 20.04 中?

command-line bash auto-completion 18.04
  • 1 个回答
  • 264 Views
Martin Hope
cheater
Asked: 2018-08-03 15:59:24 +0800 CST

在 Ubuntu 18.04 中未检测到 Belkin Thunderbolt 3 Dock USB A 端口

  • 1

我有一台带有 Ubuntu 18.04 的 Lenovo Yoga 920 i7-8550U。我得到了 Belkin Thunderbolt 3 Dock,我通过随附的 USB C 电缆将其连接到笔记本电脑上的 USB C/Thunderbolt 3 端口。确切的型号名称是“Thunderbolt™ 3 Express Dock HD - Dual 4k Display, 85W PSU”,可在此处、此处和此处找到(多个链接以防止位腐烂)。没有检测到连接到 Belkin 扩展坞上的 USB A 端口的设备,并且 dmesg 上没有输出。端口确实有电源,但仅此而已。扩展坞上的第二个 USB C 端口也无法识别 USB 设备。我通过 USB C 到 USB A 转换器连接了键盘,它无法输入任何字符。但是,第二个 USB C 端口确实可以使用 USB C 到 DP 电缆,并且以这种方式连接的显示器确实可以显示图像。扩展坞上的 DP 端口也可以工作。lsusb 或 lspci 都不显示端口。这些端口可以在 Windows 10 和朋友的 Macbook Pro 上运行。我该怎么做才能让这些端口正常工作?

user@lenovo:~$ lsusb
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 008: ID 0cf3:e300 Atheros Communications, Inc.
Bus 001 Device 003: ID 06cb:0081 Synaptics, Inc.
Bus 001 Device 002: ID 5986:210d Acer, Inc
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
user@lenovo:~$ lsusb -t
/: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 10000M
/: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 480M
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/6p, 5000M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/12p, 480M
|__ Port 1: Dev 2, If 1, Class=Video, Driver=uvcvideo, 480M
|__ Port 1: Dev 2, If 0, Class=Video, Driver=uvcvideo, 480M
|__ Port 5: Dev 3, If 0, Class=Vendor Specific Class, Driver=, 12M
|__ Port 8: Dev 8, If 1, Class=Wireless, Driver=btusb, 12M
|__ Port 8: Dev 8, If 0, Class=Wireless, Driver=btusb, 12M
user@lenovo:~$ lspci
00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v6/7th Gen Core Processor Host Bridge/DRAM Registers (rev 08)
00:02.0 VGA compatible controller: Intel Corporation UHD Graphics 620 (rev 07)
00:04.0 Signal processing controller: Intel Corporation Skylake Processor Thermal Subsystem (rev 08)
00:08.0 System peripheral: Intel Corporation Skylake Gaussian Mixture Model
00:14.0 USB controller: Intel Corporation Sunrise Point-LP USB 3.0 xHCI Controller (rev 21)
00:14.2 Signal processing controller: Intel Corporation Sunrise Point-LP Thermal subsystem (rev 21)
00:15.0 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #0 (rev 21)
00:15.1 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #1 (rev 21)
00:15.3 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #3 (rev 21)
00:16.0 Communication controller: Intel Corporation Sunrise Point-LP CSME HECI #1 (rev 21)
00:19.0 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO UART Controller #2 (rev 21)
00:1c.0 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port (rev f1)
00:1c.4 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #5 (rev f1)
00:1d.0 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #9 (rev f1)
00:1f.0 ISA bridge: Intel Corporation Device 9d4e (rev 21)
00:1f.2 Memory controller: Intel Corporation Sunrise Point-LP PMC (rev 21)
00:1f.3 Audio device: Intel Corporation Sunrise Point-LP HD Audio (rev 21)
00:1f.4 SMBus: Intel Corporation Sunrise Point-LP SMBus (rev 21)
01:00.0 PCI bridge: Intel Corporation JHL6540 Thunderbolt 3 Bridge (C step) [Alpine Ridge 4C 2016] (rev 02)
02:00.0 PCI bridge: Intel Corporation JHL6540 Thunderbolt 3 Bridge (C step) [Alpine Ridge 4C 2016] (rev 02)
02:01.0 PCI bridge: Intel Corporation JHL6540 Thunderbolt 3 Bridge (C step) [Alpine Ridge 4C 2016] (rev 02)
02:02.0 PCI bridge: Intel Corporation JHL6540 Thunderbolt 3 Bridge (C step) [Alpine Ridge 4C 2016] (rev 02)
02:04.0 PCI bridge: Intel Corporation JHL6540 Thunderbolt 3 Bridge (C step) [Alpine Ridge 4C 2016] (rev 02)
03:00.0 System peripheral: Intel Corporation JHL6540 Thunderbolt 3 NHI (C step) [Alpine Ridge 4C 2016] (rev 02)
37:00.0 USB controller: Intel Corporation JHL6540 Thunderbolt 3 USB Controller (C step) [Alpine Ridge 4C 2016] (rev 02)
6b:00.0 Network controller: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter (rev 32)
6c:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd Device a808
user@lenovo:~$ lspci -t
-[0000:00]-±00.0
±02.0
±04.0
±08.0
±14.0
±14.2
±15.0
±15.1
±15.3
±16.0
±19.0
±1c.0-[01-6a]----00.0-[02-6a]–±00.0-[03]----00.0
| ±01.0-[04-36]–
| ±02.0-[37]----00.0
| -04.0-[38-6a]–
±1c.4-[6b]----00.0
±1d.0-[6c]----00.0
±1f.0
±1f.2
±1f.3
-1f.4
drivers usb peripherals 18.04 thunderbolt
  • 3 个回答
  • 3521 Views
Martin Hope
cheater
Asked: 2018-07-29 11:21:28 +0800 CST

在 RALT+hjkl 上使用光标键的具体步骤是什么?

  • 2

我希望右键与, , ,Alt一起按下时分别用作向左、向下、向上和向右箭头键。hjkl

否则我不需要正确的Alt钥匙来工作,但如果它可能是一把Alt钥匙,那就太好了。当与 一起使用时Ctrl,光标键应该像通常的那样工作。在 Firefox 编辑框中编辑文本时,Ctrl++应向右跳过一个单词R_Alt。l

我如何实现这一目标?

我尝试了多种方法,但我不想在这里发布它们,因为它们都不起作用。我在 2010 年第一次尝试实现这一点,但当时没有很多材料。现在环顾四周,似乎也没有太多关于它的信息。我当前的操作系统是 Ubuntu 18.04,64 位。

keyboard keyboard-layout 18.04
  • 1 个回答
  • 128 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