该dd
命令通常用于对驱动器或分区进行映像备份。但是,如果源驱动器不可靠或出现故障,它的性能就会很差。我读到ddrescue
/dd_rescue
是用于从坏驱动器恢复映像的好工具,因为它智能地尝试重新读取第一次未能读取的扇区。
但是在 Ubuntu 存储库中,我看到两个不同的ddrescue
程序,在不同的地方显示了 3 个不同但相似的名称:ddrescue
, gddrescue
, dd_rescue
. 有什么不同?
我希望cowsay
在每个终端窗口中显示一条消息。我使用的命令是
fortune | cowsay
Run Code Online (Sandbox Code Playgroud)
有什么想法可以在我开始新的终端会话时让它出现吗?
我在安装和删除已编译的软件时一直遇到问题,所以我决定将软件从源代码构建到 .deb 包中,以便于安装/删除。
作为最终用户,我想知道一种将源代码构建到 .deb 包中的简单快捷的方法。
我试过了:
我有一个间歇性问题(在使用不同的连接一段时间后会自行解决),导致 Internet 请求失败,使用一个特定的无线网络。关联一个AP后大约5次请求后,ping
会报错
ping: sendmsg: No buffer space available
Run Code Online (Sandbox Code Playgroud)
就像在Wifi 连接但没有数据传输中一样: "ping: sendmsg: No buffer space available"。
如果相关,我在Centrino Ultimate-N 6300 [8086:4238]
Thinkpad X201 上看到了无线接口。错误 #836250可能与此相关。
虽然我可以解决这个问题,但我想知道:这个错误消息是什么意思?特别是,它在谈论什么缓冲区?
运行cat /proc/sys/kernel/tainted
打印当前内核污点值(以 10 为基数)。我的理解是这个值是一个位域,其中每一位表示特定类型的污点是否存在。您可以使用提取位
python3 -c 'from pprint import pprint; pprint(list(zip(range(50), reversed(bin(int(open("/proc/sys/kernel/tainted").read()))[2:]))))'
Run Code Online (Sandbox Code Playgroud)
我已经搜索过文档,但我所看到的仅标识了 0 到 10 位的含义。例如,http : //www.kernel.org/doc/Documentation/sysctl/kernel.txt说:
tainted:
Non-zero if the kernel has been tainted. Numeric values, which can be
ORed together. The letters are seen in "Tainted" line of Oops reports.
1 (P): A module with a non-GPL license has been loaded, this
includes modules with no license.
Set by modutils >= 2.4.9 and module-init-tools.
2 (F): A module was force loaded by …
Run Code Online (Sandbox Code Playgroud) 是否有任何用于创建 ubuntu/debian 包的图形工具?
当我在 VLC 或其他电影播放器中观看带字幕的电影时,字幕不像在 Windows 上那样清晰。
它很薄,似乎变灰了,而在 Windows 上的 VLC 中,我有一个清晰的白色字幕(我检查了 Windows 和 Ubuntu 中 VLC 字幕的设置,它们是相同的)。
我正在使用 Arial,首先我认为它是字体,因为它不包含在 Ubuntu 默认中,所以我更改了它但没有结果。
Ubuntu:
视窗:
我不知道如何使字幕工作。我打算永远切换到 Ubuntu,但是有很多像这样的细节问题确实让我的行动变得困难。
是否有工具可以让我执行以下顺序?
(Chromium 插件Vimium为浏览器选项卡提供了一个类似的功能:在该环境中按Shift-T列出所有选项卡,输入一些单词以按标题过滤,然后按 Enter 以显示所选选项卡。)
我一直看到对名为Editable Menu Accelerators
or的配置选项的引用Editable Menu Shortcut Keys
。
这正是我所需要的,但我读过的关于如何找到该功能的所有说明都将我引向了死胡同。
我正在运行 Ubuntu 10.4,并检查了它的帮助文件Desktop User Guide
。
在部分8.2.1.4.?Interface Preferences
它说:
"...the Interface tabbed section in the Appearance preference tool
to customize the appearance of menus, menubars, and toolbars
for applications that are part of GNOME."
Run Code Online (Sandbox Code Playgroud)
这个Interface
选项卡在 Ubuntu 10.4 中不存在(......好吧,谁移动了它?!..我在哪里?)
这个功能仍然可用吗?
我认为它确实存在,并且现在可以通过其他方式访问......但是如何?
PS:澄清......我想修改特定应用程序的菜单项加速器(不是系统范围的热键)
deb ×2
packaging ×2
bash ×1
checkinstall ×1
command-line ×1
community ×1
dd ×1
ddrescue ×1
fonts ×1
fortune ×1
gnome ×1
gtk ×1
kernel ×1
nautilus ×1
networking ×1
partitioning ×1
ping ×1
productivity ×1
scripts ×1
shortcuts ×1
subtitle ×1
terminology ×1
user-profile ×1
vlc ×1
wireless ×1