每次我执行诸如启动或停止服务之类的操作时都会收到此消息。
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "en_US:en",
LC_ALL = (unset),
LC_MESSAGES = "en_US.UTF-8",
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
(Reading database …
Run Code Online (Sandbox Code Playgroud) 今天早上有一些 ppa 更新,其中之一是Caffeine。它最初工作正常,它确实出现在启动应用程序列表中,但没有出现在面板中。
我尝试删除它并安装它,但没有做任何事情。我还认为它可能是我的主题和图标,所以我将其全部设置为默认值无效。
我认为是Caffeine 2.7,不确定我是2.6还是什么。这是一个官方值得信赖的ppa。
有人遇到这个问题吗?
我还注意到咖啡因确实起作用。我在 3 分钟时设置了昏暗的设置,当全屏运行 YT 视频时,它不会进入屏幕保护程序。当闲置时,它会进入屏幕保护程序。
我最近在Lenovo T400 2765上从 Ubuntu 18.04.4 更新到 20.04.1 。当我通过 VGA 连接外部富士通西门子 P19-1A显示器时,它在“设置” > “显示”中显示为“未知显示”。Ubuntu 18.04.4 中并非如此。
此外,原始分辨率 (1280x1024)不可用。
以下是xrandr
有关监视器的信息:
$ xrandr --listmonitors
Monitors: 2
0: +XWAYLAND0 1440/300x900/190+0+768 XWAYLAND0
1: +XWAYLAND1 1024/271x768/203+0+0 XWAYLAND1
Run Code Online (Sandbox Code Playgroud)
...
$ xrandr
Screen 0: minimum 16 x 16, current 1440 x 1668, maximum 32767 x 32767
XWAYLAND0 connected 1440x900+0+768 (normal left inverted right x axis y axis) 300mm x 190mm
1440x900 60.03*+
XWAYLAND1 connected …
Run Code Online (Sandbox Code Playgroud) 我正在运行 Ubuntu 12.04。在联想 Thinkpad T400 上。我连接了一个外部显示器作为第二个显示器。笔记本电脑位于外部屏幕下方。笔记本电脑的原始分辨率为 1440x900 (16:10),外接显示器为 1280x1024 (5:4)。有两个图形适配器:一个内部Intel GMA 4500 MHD和一个独立的ATI卡。目前,集成英特尔已启用。
我使用Displays应用程序来安排显示器的位置,使其看起来像这样:
问题:
每当我重新启动计算机时,配置就会丢失。首先,显示是镜像而不是扩展。我必须按Fn+F7两次才能切换到扩展模式。其次,显示设置仍然如下所示:
我知道这在我运行 Ubuntu 10.10 时曾经奏效过。我不知道从什么时候起它不起作用。你知道我如何永久存储设置吗?
有时当我启动 Ubuntu 并按Fn+ 时F7什么也没有发生。当我打开Displays I 并将外部屏幕放在上方并按下“应用”按钮时,没有任何反应。然后,大约一分钟后,设置突然应用。您知道是否有可以帮助分析行为的日志文件吗?
我最近从 Ubuntu 18.04.4 更新到 20.04.1。尽管咖啡因指标列在启动应用程序中......
......它并不会自动出现在顶部的状态栏后,我登录项。这在以前的 Ubuntu 版本中有效。
有什么我可以做的吗?
从 shell 启动应用程序会产生以下输出:
$ caffeine-indicator
/usr/bin/caffeine-indicator:184: PyGIDeprecationWarning: Since version 3.11,
calling threads_init is no longer needed.
See: https://wiki.gnome.org/PyGObject/Threading
GObject.threads_init()
/usr/bin/caffeine-indicator:106: DeprecationWarning:
AyatanaAppIndicator3.Indicator.set_icon is deprecated
self.AppInd.set_icon(icon_name)
Run Code Online (Sandbox Code Playgroud)
当我激活它时,这是输出:
INFO:root:caffeine-indicator is inhibiting desktop idleness
Run Code Online (Sandbox Code Playgroud)
我习惯用快捷键从键盘打开文件夹。替代方案是:
SUPER
+F
打开 Dash File LensCTRL
+ ALT
+ SPACE
,在我的情况)然后我输入文件夹的名称并按下ENTER
它是否被选中。
但是,打开的窗口不是活动的,而是在后台。我必须按ALT
+TAB
才能将其置于前台。
我使用 Ubuntu Precise (12.04.)。
问题:如何配置 Ubuntu、Unity、Nautilus 使新打开的窗口立即成为前台?
编辑:此行为仅在已打开另一个应用程序(例如 GEdit)时发生。当唯一的其他可选实体是桌面时,不会发生这种情况。
如何找出环境变量$MANPATH
设置在哪个配置文件中?有没有办法回溯这些值?
我知道我可以使用find
或来grep 整个文件系统grep
。我zsh
大部分时间都在使用而不是bash
. 我运行 Ubuntu Precise。
我遵循了izx 关于如何使用 texlive-backports PPA 安装 TexLive 2012的建议。在我开始之前,我删除了所有与 TexLive 相关的包。安装完成,一切似乎都正常。我唯一注意到的是安装程序输出中的一些警告。以下是输出的摘录:
Warning: Old configuration style found in /etc/texmf/updmap.d
Warning: For now these files have been included,
Warning: but expect inconsistencies.
Warning: These packages should be rebuild with tex-common.
Warning: Please see /usr/share/doc/tex-common/NEWS.Debian.gz
Warning: found file: /etc/texmf/updmap.d/10lmodern.cfg
Run Code Online (Sandbox Code Playgroud)
在输出的其余部分还有更多这样的:
$ sudo apt-get install texlive
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
latex-beamer latex-xcolor libgraphite3 libkpathsea6 libptexenc1 lmodern pgf prosper …
Run Code Online (Sandbox Code Playgroud) 我正在尝试通过以下方式从 Ubuntu 18.04.5 升级到 20.04.1:
$ sudo do-release-upgrade
Run Code Online (Sandbox Code Playgroud)
这将失败如下:
...
无法计算升级
计算升级时出现无法解决的问题。
这可能是由以下原因造成的:
Ubuntu 未提供的非官方软件包 请使用 ppa-purge 软件包中的“ppa-purge”工具从 Launchpad PPA 中删除软件并再次尝试升级。如果这些都不适用,请在终端中使用命令“ubuntu-bug ubuntu-release-upgrader-core”报告此错误。如果您想自己对此进行调查,“/var/log/dist-upgrade”中的日志文件将包含有关升级的详细信息。具体来说,看看“main.log”和“apt.log”。
的尾部/var/log/dist-upgrade/main.log
包含以下错误:
...
2020-10-11 18:36:30,320 WARNING Can't mark 'ubuntu-desktop' for upgrade (E:Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.)
2020-10-11 18:36:31,747 ERROR Dist-upgrade failed: 'Broken packages after upgrade: colord'
2020-10-11 18:36:31,747 DEBUG abort called
2020-10-11 18:36:31,755 DEBUG openCache()
2020-10-11 18:36:37,070 DEBUG Comparing 4.15.0-117 with
2020-10-11 18:36:37,071 DEBUG Comparing 4.15.0-118 with 4.15.0-117
2020-10-11 18:36:37,824 …
Run Code Online (Sandbox Code Playgroud) 我正在运行Ubuntu 14.04。并安装了Kupfer 208。
出于某种原因,我无法从系统设置(例如Display或Appearance )搜索和启动应用程序。该统一发射找到他们。
我查看了插件的设置和列表,但找不到如何索引System Setting。
20.04 ×3
12.04 ×2
caffeine ×2
display ×2
gnome ×2
10.10 ×1
14.04 ×1
apt ×1
backport ×1
bash ×1
command-line ×1
directory ×1
drivers ×1
evince ×1
fonts ×1
gconf ×1
gpu-driver ×1
kupfer ×1
laptop ×1
latex ×1
launcher ×1
locale ×1
manpage ×1
mesa ×1
nautilus ×1
panel ×1
ppa ×1
server ×1
unity ×1
wayland ×1
zsh ×1