我双击一个.ttf
文件,在默认的字体查看器中打开它。窗口顶部有一个“安装”按钮:
当我单击该按钮时,它会消失,并且文本变为“正在安装”......并且没有其他任何事情发生。
无论我等多久,字体都无法安装。我不得不手动安装它,方法是将它移动到目标位置/usr/share/fonts/truetype
并调整文件权限。
我升级了 Ubuntu,我的 Thunderbird 丢失了所有邮件帐户。(我有一个配置文件,但里面有多个邮件帐户。)一些搜索显示,新版 Snap 版 Thunderbird 将其设置存储在不同的位置。我或许可以将旧目录复制到那里,看看它是否可行,但查看当前目录时,发现有ImapMail
很多不再存在的旧邮件帐户的目录,我想也许从头开始会更好。我能否轻松地从旧位置提取实际的邮件帐户(帐户名称和登录详细信息),并将它们放在新目录中,以便再次同步 IMAP 电子邮件?
顺便说一句,这似乎是升级过程中的一个错误。Ubuntu 升级后旧邮件帐户不应该丢失。我应该在某处报告这个问题吗,还是已经知道了?
我发现一些指南说这曾经很复杂,但现在很简单
sudo apt install obs-studio && sudo apt install v4l2loopback-dkms
这确实给了我 OBS Studio 上的“启动虚拟相机”按钮。当我单击它时,系统会提示我输入密码。就是这样。没有其他事情发生。该按钮仍然显示“启动虚拟摄像头”(它应该更改为“停止虚拟摄像头”)。Firefox、Zoom 或 Cheese 没有检测到虚拟摄像头。
难道我做错了什么?
它会正确下载 Chromium,但随后无法对其进行配置。
$ sudo snap refresh && alert; alert
[sudo] password for webdev:
error: cannot perform the following tasks:
- Run configure hook of "chromium" snap if present (run hook "configure":
-----
Fontconfig warning: "/etc/fonts/conf.d/65-nonlatin.conf", line 8: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/69-unifont.conf", line 4: unknown element "its:rules"
Fontconfig warning: "/etc/fonts/conf.d/69-unifont.conf", line 5: unknown element "its:translateRule"
Fontconfig error: "/etc/fonts/conf.d/69-unifont.conf", line 5: invalid attribute 'translate'
Fontconfig error: "/etc/fonts/conf.d/69-unifont.conf", line 5: invalid attribute 'selector'
Fontconfig error: "/etc/fonts/conf.d/69-unifont.conf", line 6: invalid attribute 'xmlns:its'
Fontconfig error: "/etc/fonts/conf.d/69-unifont.conf", line 6: invalid attribute 'version'
Fontconfig warning: "/etc/fonts/conf.d/70-no-bitmaps.conf", line 4: unknown element "its:rules"
Fontconfig warning: "/etc/fonts/conf.d/70-no-bitmaps.conf", line 5: unknown element "its:translateRule"
Fontconfig error: "/etc/fonts/conf.d/70-no-bitmaps.conf", line 5: invalid attribute 'translate'
Fontconfig error: "/etc/fonts/conf.d/70-no-bitmaps.conf", line 5: invalid attribute 'selector'
Fontconfig error: "/etc/fonts/conf.d/70-no-bitmaps.conf", line 6: invalid attribute 'xmlns:its'
Fontconfig error: "/etc/fonts/conf.d/70-no-bitmaps.conf", line 6: invalid attribute 'version'
Fontconfig warning: "/etc/fonts/conf.d/70-no-bitmaps.conf", line 8: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/80-delicious.conf", line 4: unknown element "its:rules"
Fontconfig warning: "/etc/fonts/conf.d/80-delicious.conf", line 5: unknown element "its:translateRule"
Fontconfig error: "/etc/fonts/conf.d/80-delicious.conf", line 5: invalid attribute 'translate'
Fontconfig error: "/etc/fonts/conf.d/80-delicious.conf", line 5: invalid attribute 'selector'
Fontconfig error: "/etc/fonts/conf.d/80-delicious.conf", line 6: invalid attribute 'xmlns:its'
Fontconfig error: "/etc/fonts/conf.d/80-delicious.conf", line 6: invalid attribute 'version'
Fontconfig warning: "/etc/fonts/conf.d/90-synthetic.conf", line 4: unknown element "its:rules"
Fontconfig warning: "/etc/fonts/conf.d/90-synthetic.conf", line 5: unknown element "its:translateRule"
Fontconfig error: "/etc/fonts/conf.d/90-synthetic.conf", line 5: invalid attribute 'translate'
Fontconfig error: "/etc/fonts/conf.d/90-synthetic.conf", line 5: invalid attribute 'selector'
Fontconfig error: "/etc/fonts/conf.d/90-synthetic.conf", line 6: invalid attribute 'xmlns:its'
Fontconfig error: "/etc/fonts/conf.d/90-synthetic.conf", line 6: invalid attribute 'version'
/usr/share/fonts: caching, new cache contents: 0 fonts, 10 dirs
/usr/share/fonts/X11: caching, new cache contents: 0 fonts, 4 dirs
/usr/share/fonts/X11/Type1: caching, new cache contents: 8 fonts, 0 dirs
/usr/share/fonts/X11/encodings: caching, new cache contents: 0 fonts, 1 dirs
/usr/share/fonts/X11/encodings/large: caching, new cache contents: 0 fonts, 0 dirs
/usr/share/fonts/X11/misc: caching, new cache contents: 89 fonts, 0 dirs
/usr/share/fonts/X11/util: caching, new cache contents: 0 fonts, 0 dirs
/usr/share/fonts/cMap: caching, new cache contents: 0 fonts, 0 dirs
/usr/share/fonts/cmap: caching, new cache contents: 0 fonts, 0 dirs
/usr/share/fonts/eot: caching, new cache contents: 0 fonts, 1 dirs
/usr/share/fonts/eot/font-awesome: caching, new cache contents: 0 fonts, 0 dirs
/usr/share/fonts/fonts-go: caching, new cache contents: 12 fonts, 0 dirs
/usr/share/fonts/opentype: caching, new cache contents: 0 fonts, 20 dirs
/usr/share/fonts/opentype/cabin: caching, new cache contents: 8 fonts, 0 dirs
/usr/share/fonts/opentype/cantarell: caching, new cache contents: 5 fonts, 0 dirs
/usr/share/fonts/opentype/ebgaramond: caching, new cache contents: 10 fonts, 0 dirs
/usr/share/fonts/opentype/font-awesome: caching, new cache contents: 1 fonts, 0 dirs
/usr/share/fonts/opentype/fonts-hosny-amiri: caching, new cache contents: 6 fonts, 0 dirs
/usr/share/fonts/opentype/freefont: caching, new cache contents: 12 fonts, 0 dirs
/usr/share/fonts/opentype/gentiumplus: caching, new cache contents: 2 fonts, 0 dirs
/usr/share/fonts/opentype/ipaexfont-gothic: caching, new cache contents: 1 fonts, 0 dirs
/usr/share/fonts/opentype/ipaexfont-mincho: caching, new cache contents: 1 fonts, 0 dirs
/usr/share/fonts/opentype/ipafont-gothic: caching, new cache contents: 2 fonts, 0 dirs
/usr/share/fonts/opentype/ipafont-mincho: caching, new cache contents: 2 fonts, 0 dirs
/usr/share/fonts/opentype/linux-libertine: caching, new cache contents: 13 fonts, 0 dirs
/usr/share/fonts/opentype/lobster: caching, new cache contents: 1 fonts, 0 dirs
/usr/share/fonts/opentype/lobstertwo: caching, new cache contents: 4 fonts, 0 dirs
/usr/share/fonts/opentype/malayalam: caching, new cache contents: 7 fonts, 0 dirs
/usr/share/fonts/opentype/noto: caching, new cache contents: 73 fonts, 0 dirs
/usr/share/fonts/opentype/stix: caching, new cache contents: 29 fonts, 0 dirs
/usr/share/fonts/opentype/stix-word: caching, new cache contents: 5 fonts, 0 dirs
/usr/share/fonts/opentype/tlwg: caching, new cache contents: 58 fonts, 0 dirs
/usr/share/fonts/opentype/urw-base35: caching, new cache contents: 35 fonts, 0 dirs
/usr/share/fonts/svg: caching, new cache contents: 0 fonts, 1 dirs
/usr/share/fonts/svg/font-awesome: caching, new cache contents: 0 fonts, 0 dirs
/usr/share/fonts/truetype: caching, new cache contents: 2 fonts, 84 dirs
/usr/share/fonts/truetype/Gargi: caching, new cache contents: 1 fonts, 0 dirs
/usr/share/fonts/truetype/Gubbi: caching, new cache contents: 1 fonts, 0 dirs
/usr/share/fonts/truetype/Nakula: caching, new cache contents: 1 fonts, 0 dirs
/usr/share/fonts/truetype/Navilu: caching, new cache contents: 1 fonts, 0 dirs
/usr/share/fonts/truetype/Sahadeva: caching, new cache contents: 1 fonts, 0 dirs
/usr/share/fonts/truetype/Sarai: caching, new cache contents: 1 fonts, 0 dirs
/usr/share/fonts/truetype/abyssinica: caching, new cache contents: 1 fonts, 0 dirs
/usr/share/fonts/truetype/adf: caching, new cache contents: 41 fonts, 0 dirs
/usr/share/fonts/truetype/ancient-scripts: caching, new cache contents: 1 fonts, 0 dirs
/usr/share/fonts/truetype/arphic-bkai00mp: caching, new cache contents: 1 fonts, 0 dirs
/usr/share/fonts/truetype/arphic-bsmi00lp: caching, new cache contents: 1 fonts, 0 dirs
/usr/share/fonts/truetype/arphic-gbsn00lp: caching, new cache contents: 1 fonts, 0 dirs
/usr/share/fonts/truetype/arphic-gkai00mp: caching, new cache contents: 1 fonts, 0 dirs
/usr/share/fonts/truetype/artemisia: caching, new cache contents: 4 fonts, 0 dirs
/usr/share/fonts/truetype/asana-math: caching, new cache contents: 1 fonts, 0 dirs
/usr/share/fonts/truetype/baekmuk: caching, new cache contents: 4 fonts, 0 dirs
/usr/share/fonts/truetype/baskerville: caching, new cache contents: 1 fonts, 0 dirs
/usr/share/fonts/truetype/bodoni-classic: caching, new cache contents: 1 fonts, 0 dirs
/usr/share/fonts/truetype/comfortaa: caching, new cache contents: 3 fonts, 0 dirs
/usr/share/fonts/truetype/complutum: caching, new cache contents: 1 fonts, 0 dirs
/usr/share/fonts/truetype/croscore: caching, new cache contents: 12 fonts, 0 dirs
/usr/share/fonts/truetype/crosextra: caching, new cache contents: 8 fonts, 0 dirs
/usr/share/fonts/truetype/dejavu: caching, new cache contents: 22 fonts, 0 dirs
/usr/share/fonts/truetype/didot: caching, new cache contents: 4 fonts, 0 dirs
/usr/share/fonts/truetype/didot-classic: caching, new cache contents: 1 fonts, 0 dirs
/usr/share/fonts/truetype/droid: caching, new cache contents: 1 fonts, 0 dirs
/usr/share/fonts/truetype/ebgaramond: caching, new cache contents: 10 fonts, 0 dirs
/usr/share/fonts/truetype/font-awesome: caching, new cache contents: 1 fonts, 0 dirs
/usr/share/fonts/truetype/fonts-beng-extra: caching, new cache contents: 6 fonts, 0 dirs
/usr/share/fonts/truetype/fonts-deva-extra: caching, new cache contents: 3 fonts, 0 dirs
/usr/share/fonts/truetype/fonts-gujr-extra: caching, new cache contents: 5 fonts, 0 dirs
/usr/share/fonts/truetype/fonts-guru-extra: caching, new cache contents: 1 fonts, 0 dirs
/usr/share/fonts/truetype/fonts-kalapi: caching, new cache contents: 1 fonts, 0 dirs
/usr/share/fonts/truetype/fonts-orya-extra: caching, new cache contents: 1 fonts, 0 dirs
/usr/share/fonts/truetype/fonts-telu-extra: caching, new cache contents: 2 fonts, 0 dirs
/usr/share/fonts/truetype/fonts-yrsa-rasa: caching, new cache contents: 10 fonts, 0 dirs
/usr/share/fonts/truetype/freefont:
<exceeded maximum runtime of 5m0s>
-----)
是否有解决此问题的已知方法,或者这是我应该在 Launchpad 上报告的错误?
今天早上,我从程序列表中启动了 Slack。一旦它启动并运行,我点击了其中的一个链接,它启动了 Firefox。事实上,它启动了四个 Firefox 窗口,每个窗口都有许多选项卡,因为 Firefox 记得我之前的会话,而我就是这样杂乱无章的。
但是,在程序切换器 ( Alt+ Tab) 中,Firefox 窗口与 Slack 窗口捆绑在一起。在启动器栏中也是如此,Firefox 图标下方没有点,而 Slack 图标显示为五个。我about:profiles
在 Firefox 中访问并重新启动了程序,但它仍然与 Slack 相关联。
我经常通过单击电子邮件中的链接来启动 Firefox,但我从未将它与 Thunderbird 组合在一起。我经常从 Firefox 启动 Slack,方法是打开 Slack 网络应用程序,并在其中选择“打开 Slack 应用程序”选项。这有时会导致 Slack 在 Firefox 窗口中分组(与我今天的情况相反)。
我觉得这有点烦人。有没有简单的方法来修复它?我应该将其报告为错误而不是 / 以及在这里询问吗?
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.3 LTS
Release: 18.04
Codename: bionic
Firefox 内置了一个命令行,它允许各种选项,例如截屏和重新启动浏览器。它曾经用Shift+打开F2,但自从升级到 Firefox 57 后,它不再做任何事情。
自升级以来我已经看到了命令行(它在一个 Firefox 窗口中打开,并且在升级后保持打开状态),所以我知道它仍然存在于 Firefox Quantum 中。但是,我已经关闭了那个窗口,并且无法取回它。现在有不同的键盘快捷键来显示命令行吗?
命令行的Mozilla 文档仍然显示Shift+ F2。
我在 Ubuntu 17.10 上使用 Firefox Quantum 57.0。
出于某种令人难以置信的原因,我们源代码中的 Twig 文件是使用.html
扩展名而不是.twig
扩展名保存的。我遵循指南将自定义突出显示添加到 Gedit,并且我发现的 Twig 荧光笔确实附加到.html
文件(带有<property name="globs">*.twig;*.html;</property>
)。但是,内置的 HTML 荧光笔也会附加到.html
文件(带有<property name="globs">*.html;*.htm</property>
)。这是 Gedit 用于.html
文件的规则集(可能是因为html.lang
按字母顺序比 更早twig.lang
)。
我不经常编辑 HTML 或 Twig,因此我不需要某种自动化解决方案来确定文件的真正类型并应用正确的突出显示。从首选项菜单中选择突出显示就足够了。有没有办法做到这一点?
基本上,当我打开一个.html
文件时,我想要一种方法告诉 Gedit 这个文件实际上是 Twig。
截至今日,
这告诉我,我的键盘已切换到某种非爱尔兰模式,可能是美国模式。然而,在我屏幕的右上角,我看到了一个Ie,如果我点击它,我会看到爱尔兰选项,这是唯一的选项,被选中。是什么赋予了?
键盘布局图表显示了我所期望的,在我期望看到它们的地方有 "、@ 和 € 符号:
文本输入设置也将爱尔兰语显示为唯一可用选项:
因此,如果一切都告诉我我有一个爱尔兰键盘,并且如果直到昨天它还用作爱尔兰键盘,为什么今天突然不是爱尔兰键盘了?我能做些什么呢?
我没有遇到如何在 Nautilus 3.6 及更高版本中创建新的空白文件?,也许是因为我有更新版本的 Nautilus。
$ nautilus --version
GNOME nautilus 3.14.2
我可以很容易地在大多数目录中创建一个空白文件:找到一些空白区域,右键单击,然后选择新建文档 » 空文档。但是,如果文件夹的内容足以填满屏幕,则没有空白区域。如果我切换到图标模式,图标之间会有空白,但在列表模式下,任何地方都没有空白。我不记得过去有过这种困难。右键单击列表模式曾经工作。有什么办法可以恢复旧的行为吗?
我正在运行 Ubuntu 12.04 LTS。如果我打开了几个窗口(比如四到六个,不是很多),然后按Ctrl+ Super+最小化所有窗口D,它们都会立即最小化,没有问题。但是,如果我通过用鼠标单击最小化按钮一次将它们最小化,最后一个通常会挂起。
通常它会在屏幕上暂时显示为幽灵,半最小化(换句话说,向 Unity 启动器栏缩小,一半大小或更小,并且半透明)。通常它最终会清除;有时电脑死机了,我不得不重新启动它。
窗口实际上是什么似乎并不重要。刚才,我不得不用半最小化的 Skype* 重启我的电脑。我已经看到它在终端半最小化之前冻结(并且终端当时甚至没有做任何事情)。唯一的模式是它始终是最后一个最小化的窗口冻结,并且使用键盘快捷键将所有窗口一起最小化效果很好。
到底发生了什么,我该如何阻止它?
$ lspci
00:00.0 Host bridge: Intel Corporation 4 Series Chipset DRAM Controller (rev 03)
00:01.0 PCI bridge: Intel Corporation 4 Series Chipset PCI Express Root Port (rev 03)
00:1a.0 USB controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #4
00:1a.1 USB controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #5
00:1a.2 USB controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #6
00:1a.7 USB controller: Intel Corporation 82801JI (ICH10 Family) USB2 EHCI Controller #2
00:1c.0 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Root Port 1
00:1c.2 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Root Port 3
00:1c.3 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Root Port 4
00:1d.0 USB controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #1
00:1d.1 USB controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #2
00:1d.2 USB controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #3
00:1d.7 USB controller: Intel Corporation 82801JI (ICH10 Family) USB2 EHCI Controller #1
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 90)
00:1f.0 ISA bridge: Intel Corporation 82801JIR (ICH10R) LPC Interface Controller
00:1f.2 SATA controller: Intel Corporation 82801JI (ICH10 Family) SATA AHCI Controller
00:1f.3 SMBus: Intel Corporation 82801JI (ICH10 Family) SMBus Controller
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] RV635 [Radeon HD 3650/3750/4570/4580]
01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] RV635 HDMI Audio [Radeon HD 3600 Series]
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 02)
04:00.0 PCI bridge: Creative Labs [SB X-Fi Xtreme Audio] CA0110-IBG PCI to PCIe Bridge
05:00.0 Audio device: Creative Labs [SB X-Fi Xtreme Audio] CA0110-IBG
glxinfo 太长了,所以我把它放到了Ubuntu pastebin中。
* 我讨厌 Skype,但我需要它来工作。
我刚刚在我的笔记本电脑上安装了 Lubuntu 14.04(取代了以前的双启动 Ubuntu 13.10 / Windows 7,我可怜的小笔记本电脑确实没有足够的空间)。作为安装过程的一部分,我被要求选择我的键盘布局。我选择了爱尔兰语,并仔细检查了有问题的键 (", @, €) 是否正常工作。一切似乎都很好。
现在安装已经完成,但是,我有一个美国键盘,没有明显的方式来改变它(也没有明显的方式来输入 € 符号)。我当然有兴趣解决这个问题,但我也想知道为什么会发生这种情况。
我有一个 Ubuntu 9/Windows 7 双启动。(实际上,我几乎从不使用 Windows 端。)
Ubuntu 一直在烦我更新,所以我试了一下(先备份所有内容)。不知何故,更新失败了(我想是因为有人在中途关闭了计算机的插座)。计算机现在拒绝启动进入 Ubuntu。
现在我有一个 Ubuntu 10.10 安装盘。我想用它来覆盖现有的 Ubuntu 安装,同时保留 Windows 安装。我到了高级的“选择一个分区”部分,但我无法知道哪个分区是哪个。
我所拥有的是
/dev/sda
/dev/sda1 nfts
/dev/sda2 nfts
/dev/sda5 ext4
/dev/sda6 swap
所以,我想单独留下 NFTS 分区(为什么我有两个?)并在/dev/sda5
. 那正确吗?我不确定/dev/sda6
是用来做什么的。什么是“交换区”?我想我会不管它。
所以我选择/dev/sda5
并告诉安装程序将其用作“Ext4 日志文件系统”。安装按钮亮起,但是当我单击它时,我被告知没有定义根文件系统。如何定义根文件系统?
GParted 对此的显示略有不同:
(点击放大。)
我有一张装有 Ubuntu 10.10 的 CD 和一台装有 Ubuntu 8.10 的笔记本电脑。笔记本电脑上有各种各样的污垢,我想保留的任何东西都备份在外部驱动器上,所以我很高兴进行擦除并重新安装而不是更新。因此,在尝试弄清楚如何从 CD 驱动器启动东西之后,我做了一点。
所以屏幕出现了选择:选项是Try Ubuntu和Install Ubuntu。我选择安装并覆盖我当前的安装。到目前为止,一切都很好。然后我会看到一个进度条,上面标有复制文件(我忘记了确切的措辞)和其他选项来填写我的位置、键盘区域设置、用户名和密码。在每个屏幕上都有前进和后退按钮。在最后一个屏幕(密码)上,前进按钮是灰色的。好吧,我想我自己,毫无疑问,当复制文件进度条完成时它会变得活跃。
进度条永远不会完成。它挂起。并且标签从复制文件变为当你准备好的时候。前进按钮保持灰色。后退按钮与您预期的一样无用。没有其他可以点击的。我们陷入了僵局。
我尝试重新启动笔记本电脑,以测试它是否已正确安装。不是。我尝试从 CD 实时运行 Ubuntu,以测试磁盘是否损坏。那也行不通,但我怀疑这只是因为笔记本电脑很旧并且磁盘驱动器很慢。我正在使用 Ubuntu live CD 的另一台计算机上输入这个问题,它工作正常。所以CD没有问题。