小编Tre*_*ars的帖子

libinput 手掌检测不起作用

我最近购买了一台新的 Dell XPS 15 并在其上安装了 Debian。它之前运行的是 Windows 10,手掌检测/拒绝功能运行得很好,正如我所期望的那样。但现在,运行 Debian 并使用libinput手掌检测(据我所知)不存在/完全损坏。

\n\n

输出xinput | grep -i touchpad

\n\n
\xe2\x8e\x9c   \xe2\x86\xb3 SynPS/2 Synaptics TouchPad                id=13   [slave  pointer  (2)]\n
Run Code Online (Sandbox Code Playgroud)\n\n

输出xinput list-props 13

\n\n
Device \'SynPS/2 Synaptics TouchPad\':\n    Device Enabled (116):   1\n    Coordinate Transformation Matrix (118): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000\n    libinput Tapping Enabled (269): 1\n    libinput Tapping Enabled Default (270): 0\n    libinput Tapping Drag Enabled (271):    1\n    libinput Tapping Drag Enabled Default …
Run Code Online (Sandbox Code Playgroud)

debian touchpad libinput

5
推荐指数
1
解决办法
3736
查看次数

删除未使用的应用程序/程序

我做了一些搜索,但没有找到完美的答案,所以我想知道,有没有一种好方法可以卸载(并清除其依赖项)在我的 Ubuntu Server 安装中未使用的应用程序/程序?

当我第一次安装 16.04 时,预装了大量程序,我知道它们并非都是无用的,但是我如何摆脱那些我永远不会使用的程序(没有'自安装以来一直使用或运行)?因为当我使用

apt list --installed
Run Code Online (Sandbox Code Playgroud)

有太多的程序,我什至无法向后滚动到足以看到第一个程序。

有什么建议?

ubuntu apt uninstall

4
推荐指数
1
解决办法
7443
查看次数

终端提示写在上面

我应该先说这个终端会话是通过 ssh 从 Windows PuTTY 到 Linux OpenSSH。我不确定这是否重要,但我想我还是应该说出来。

目前,当我在终端中写的内容超过一行时,文本从同一行而不是新行开始,并导致我的提示从这里开始:

trevor@SEARS-SERVER:~$
Run Code Online (Sandbox Code Playgroud)

对此(当然是示例文本):

ne lineSEARS-SERVER:~$ this is the text line that is too long to fit on o
Run Code Online (Sandbox Code Playgroud)

目前我的 PS1 是在我的 .bashrc 中设置的:

export PS1="\n[$(date +%r)] \e]0;\e[0;32m\u\e[m@\e[38;5;52m\h\e[m:\e[38;5;240m\w\e[m\e[97m$\e[m"
Run Code Online (Sandbox Code Playgroud)

此外,当窗口低于一定宽度时,会发生这种情况:

m$ :32:40 PM] trevor@SEARS-SERVER:~
Run Code Online (Sandbox Code Playgroud)

我知道这与我的 PS1 配置或 PuTTY 有关,但我不知道是哪个,或者为什么/如何。有什么帮助吗?

bash prompt putty

2
推荐指数
1
解决办法
636
查看次数

标签 统计

apt ×1

bash ×1

debian ×1

libinput ×1

prompt ×1

putty ×1

touchpad ×1

ubuntu ×1

uninstall ×1