在 LibreOffice Impress 演示文稿(Ubuntu 16.04 上的版本 5.1.4.2)中,当我单击“插入”->“对象”->“公式”时,我看到一个可视化工具栏,可让我添加方程式元素,例如分数等。但是:
我在 Ubuntu 16.04 上有 Python 3.8。
我安装了 python3-tk(它是在 matplotlib 中显示图所必需的):
Reading package lists... Done
Building dependency tree
Reading state information... Done
python3-tk is already the newest version (3.5.1-1).
0 upgraded, 0 newly installed, 0 to remove and 12 not upgraded.
Run Code Online (Sandbox Code Playgroud)
和python3.8-tk:
Reading package lists... Done
Building dependency tree
Reading state information... Done
python3.8-tk is already the newest version (3.8.2-1+xenial1).
0 upgraded, 0 newly installed, 0 to remove and 12 not upgraded.
Run Code Online (Sandbox Code Playgroud)
但是没有找到:
$ python3.8 -m tkinter
Traceback (most recent call …
Run Code Online (Sandbox Code Playgroud) 每当我尝试打印到 HP 打印机时,我都会在打印机附近收到“过滤器失败”通知。“sudo service cups status”显示以下错误消息:
error: Failed to create /var/spool/cups/tmp/.hplip
Run Code Online (Sandbox Code Playgroud)
我怎样才能解决这个问题?
编辑:
$ sudo namei -l /var/spool/cups/tmp/.hplip
Run Code Online (Sandbox Code Playgroud)
返回:
f: /var/spool/cups/tmp/.hplip
drwxr-xr-x root root /
drwxr-xr-x root root var
drwxr-xr-x root root spool
drwx--x--- root lp cups
drwxrwx--T root lp tmp
drwxr-xr-x lp lp .hplip
Run Code Online (Sandbox Code Playgroud) 我刚刚将 Ubuntu 从 16.04 升级到 18.04,并收到以下消息:
The upgrade has completed but there were errors during the upgrade process.
To continue please press [ENTER]
Run Code Online (Sandbox Code Playgroud)
没有关于这些错误的进一步信息。按 ENTER 后,我做了:
sudo apt update
sudo apt upgrade
sudo apt dist-upgrade
sudo apt do-release-upgrade
Run Code Online (Sandbox Code Playgroud)
没有错误,我收到消息:
Checking for a new Ubuntu release
There is no development version of an LTS available.
To upgrade to the latest non-LTS develoment release
set Prompt=normal in /etc/update-manager/release-upgrades.
Run Code Online (Sandbox Code Playgroud)
我担心这个“升级过程中出现错误”的消息,因为我读到升级后,重新启动后可能会出现问题 - 桌面可能不会显示。如何检查升级过程中发生了什么错误以及如何修复这些错误?
为了简化桌面上许多窗口之间的导航,我想为每个窗口设置不同的标题颜色。这可能吗?
我有 12.04 与 Unity。
我想用点画一个图:
y >= f(x)
Run Code Online (Sandbox Code Playgroud)
其中 f(x) 是我定义的某个函数。
使用 xy 图,我只能绘制函数:
y = f(x)
Run Code Online (Sandbox Code Playgroud)
使用面积图,我可以绘制单列的面积(即不是 y 作为 x 的函数)。有什么办法可以填充xy曲线上方的区域?
编辑:当 x 值是线性的(即 0, 1, 2, ...)时,很容易通过仅使用 y 系列的面积图来填充曲线下方的区域,如下所示(右):
当我这样做时:
cd /home/erelsgl/git/erel-sites; git commit -m "test"
Run Code Online (Sandbox Code Playgroud)
我得到正确的:
On branch master
Your branch is up-to-date with 'origin/master'.
nothing to commit, working directory clean
Run Code Online (Sandbox Code Playgroud)
但是,当我将同一行放在我帐户的 crontab 中时,我在日志文件中看到:
*** Please tell me who you are.
Run
git config --global user.email "you@example.com"
git config --global user.name "Your Name"
to set your account's default identity.
Omit --global to set the identity only in this repository.
fatal: unable to auto-detect email address (got 'erelsgl@erelsgl-computer')
Run Code Online (Sandbox Code Playgroud)
我在 crontab 中输入了“whoami”并得到了与外部相同的答案(“erelsgl”)。
我还尝试将推荐的“git config --global”命令放在 crontab 中(我已经在 crontab 外成功运行了它们),但这没有帮助。
我应该怎么做才能从 …
当我签署文档时,我可以选择要使用的密钥,例如:
gpg --default-key=BF8C1203 --clearsign message.txt
Run Code Online (Sandbox Code Playgroud)
当我验证文档时,我没有看到此选项,我只能执行以下操作:
gpg --verify message.txt.asc
Run Code Online (Sandbox Code Playgroud)
GPG 如何知道使用什么公钥进行验证?有没有办法告诉它使用不同的公钥?
我有一台 Brother 一体机 (MFC-J4420DW)。我安装了它的驱动程序,并且可以从 Ubuntu 16.04 进行打印。但是,当我尝试扫描(使用简单扫描)时,未检测到扫描仪。
我运行 Brother 的诊断实用程序:
sudo brsaneconfig4 -d
Run Code Online (Sandbox Code Playgroud)
并收到以下消息:
# No USB scanners found. If you expected something different, make sure that
# you have loaded a kernel driver for your USB host controller and have setup
# the USB system correctly. See man sane-usb for details.
Run Code Online (Sandbox Code Playgroud)
我不明白这个消息。我查看了 man sane-usb 但看到可能已经过时的说明(例如 libusb 应该至少是版本 0.1.6。我有 2:1.0.20-1)。
如何帮助 Ubuntu 检测我的 USB 扫描仪?
今天,当我更新后重新启动家里的电脑时,除了我之外,我看到了两个新用户:“jicofo”和“jvb”。我当然没有添加这些用户。他们是谁,我为什么需要他们?