我正在使用 Ubuntu 19.04 并下载了 MySQL APT 配置的 8.13 版并运行了这些命令
wget https://dev.mysql.com/get/mysql-apt-config_0.8.13-1_all.deb
dpkg -i mysql-apt-config_0.8.13-1_all.deb
Run Code Online (Sandbox Code Playgroud)
我检查mysql.list使用
vi /etc/apt/sources.list.d/mysql.list
Run Code Online (Sandbox Code Playgroud)
并发现配置了版本8。然后我跑了
apt install mysql-server
apt-cache show mysql-server
apt update
Run Code Online (Sandbox Code Playgroud)
但是我还是不能安装MySQL 8。APT仍然指向5.7。
更新:现在有一个新的、非常通用的解决方案可用。它可以与 Firefox 和其他在 KDE 中运行的 GTK 应用程序配合使用。参见DK Bose的回答。
原问题:
我想在 Kubuntu 12.04 的 Firefox 中使用 KDE 文件对话框(文件打开、文件保存)。
这需要类似于古老的 KGtk 脚本的东西,但适用于 KDE 4.x 和最新的 Firefox 版本。
OpenSuse 提供了这种功能。Kubuntu 放弃了它,但肯定有人致力于将其带回 Kubuntu(我希望)。
请注意,我不是在询问主题/外观。我问的是实际使用 KDE 文件对话框而不是 XUL 或 GTK 对话框。
并且首选项 ui.allow_platform_file_picker 不会影响这一点。我已经尝试将其设置为 true 和 false。这两个选项都不会导致使用 KDE 对话框。
我在台式机上使用 Ubuntu 17.10,我一直在使用 Etherape 监控网络流量。我注意到从我的 PC(casa 主机名)到 googleusercontent.com (104.198.143.177) 的 HTTP 请求。
所以我使用lsof并ss“识别”这些请求背后的过程。
使用lsof -i:
NetworkMa 778 root 20u IPv4 546772 0t0 TCP casa:53671->177.143.198.104.bc.googleusercontent.com:http (SYN_SENT)
NetworkMa 778 root 20u IPv4 546772 0t0 TCP casa:53671->177.143.198.104.bc.googleusercontent.com:http (ESTABLISHED)
Run Code Online (Sandbox Code Playgroud)
使用ss -rep dst 104.198.143.177:
tcp SYN-SENT 0 1 casa%enp4s0:53671 177.143.198.104.bc.googleusercontent.com:http users:(("NetworkManager",pid=778,fd=20)) timer:(on,964ms,0) ino:546772 sk:6df <->
tcp ESTAB 0 87 casa%enp4s0:53671 177.143.198.104.bc.googleusercontent.com:http users:(("NetworkManager",pid=778,fd=20)) timer:(on,300ms,0) ino:546772 sk:6df <->
Run Code Online (Sandbox Code Playgroud)
似乎 NetworkManager (pid 778) 正在向 googleusercontent 发送请求,并且每 5 分钟发生 …
只是想放弃一个问题,因为这个问题似乎已经存在很长一段时间了。
刚刚我在 Macbook Pro 上安装了新的 Ubuntu 18.04,我注意到 kworker 占用了大量 CPU:
3411 root 20 0 0 0 0 R 84,4 0,0 6:12.23 kworker/0:0
Run Code Online (Sandbox Code Playgroud)
以下是有关我的设置的一些其他信息:
lsb_release -a:
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04 LTS
Release: 18.04
Codename: bionic
Run Code Online (Sandbox Code Playgroud)
uname -a:
Linux MacbookPro 4.15.0-20-generic #21-Ubuntu SMP Tue Apr 24 06:16:15 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
Run Code Online (Sandbox Code Playgroud)
现在我在谷歌上搜索这个问题的答案,实际上找到了很多答案。这个线程中的答案对我有用:为什么 kworker cpu 使用率变得如此高?
我所要做的就是禁用gpe06,然后占用的 kworker 进程就消失了。首先我寻找导致 CPU 负载过高的 gpe:
grep . -r /sys/firmware/acpi/interrupts/
Run Code Online (Sandbox Code Playgroud)
然后浏览列表并找到占用资源的 gpe 并将其禁用: …
r在使用+组合键后出现的Enter a Command对话框中键入是否与打开终端并执行相同?AltF2gnome-shell --replace &
具体来说,他们是否在“幕后”执行相同的代码?
Vmware 不再针对 4.4.0-143-generic 进行编译,4.4.0-142-generic 是 VMware Workstation 12.5.9 的最新工作内核
我有一个 Intel UHD 620 GPU,它的驱动程序在 18.04 Bionic 上使我处于矛盾的位置:
xserver-xorg-video-all,一切正常,但视频会撕裂;xserver-xorg-video-intel(除其他xserver-xorg-video-*包),我可以通过设置修复撕裂TearFree的/etc/X11/xorg.conf.d/20-intel.conf,但系统是不稳定的(我假定由于驱动程序版本不正确的支持)。在 19.04 Disco 上,它提供了xserver-xorg-video-intel( 2:2.99.917+git20180925-2, 与2:2.99.917+git20171229-1)的更新版本,我可以同时获得稳定性和 TearFree,但是,无法在 18.04 Bionic 中安装该软件包(最终是由于 libc)。
有什么方法可以在 18.04 上获得英特尔更新的驱动程序(打包、编译,任何方式)?或者,有没有办法在不使用英特尔版本的驱动程序的情况下修复撕裂?
在我的 Ubuntu 18.04 中,我安装了 OpenConnect v7.08-3。但它没有 GlobalProtect 支持。OpenConnect v8.02-1 具有 GlobalProtect 支持。如何在 ubuntu 18.04 中安装它?
18.04 ×4
16.04 ×1
19.04 ×1
cpu ×1
cpu-load ×1
dialog ×1
firefox ×1
gnome-open ×1
gnome-shell ×1
kde ×1
kernel ×1
lsof ×1
macbook ×1
macbook-pro ×1
mysql ×1
networking ×1
openconnect ×1
restart ×1
video-driver ×1
vmware ×1
xdg-open ×1
xorg ×1
xserver ×1