由于 CPU 使用率高,我想限制 Chromium 网络浏览器cpulimit
并使用终端运行:
cpulimit -l 30 -- chromium --incognito
Run Code Online (Sandbox Code Playgroud)
但它并没有像预期的那样限制 CPU 使用率(即最大为 30%)。它再次使用 100%。为什么?我究竟做错了什么?
我已经安装了 Chromium,但它在其用户界面和网站中默认使用我的母语(德语)非常糟糕。
我想要英语回来,就像 Firefox 一样。我正在使用 archlinux 的默认包。我查看了设置对话框,但没有发现任何有用的信息。
我想创建一个 bash 完成脚本,它识别表单--arg
和--some-arg=file
.
阅读本教程和 中的一些示例后/usr/share/bash_completion/completions/
,我编写了以下脚本(以节省使用 Chromium 键入一些标志的时间):
_chromium()
{
local cur prev opts
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
# Some interesting options
opts="
--disable-web-security
--easy-off-store-extension-install
--incognito
--load-extension=
--pack-extension=
--pack-extension-key=
--user-data-dir=
"
# Handle --xxxxxx=file
if [[ ${cur} == "--"*"=" ]] ; then
# Removed failures (is my logic OK?)
return 0
fi
# Handle other options
if [[ ${cur} == -* ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
return 0
fi …
Run Code Online (Sandbox Code Playgroud) 单击磁力链接(例如 TPB)时,如何设置 Chromium 以打开传输?
Chromium 说它将使用 xdg-open 但通常不会做任何事情
系统:Manjaro Linux 0.8.5.2 全面升级
桌面环境:Xfce 4.10
每次我运行 Chrome 时,它都会要求提供 Default 的密钥环密码。如果我输入密码或按取消,它就会消失,我可以继续。
那么,钥匙圈有什么作用,用我的密码解锁或按取消有什么区别?
我需要在mini210s
运行Linux 3.0.8 armv7l 的FriendlyARM上安装 Chromium
depot_tools
按照这些指南安装获取代码和
Linux Chromium ARM得到后depot_tools
:
vagrant@vagrant:~/depot_tools$ fetch chromium
Run Code Online (Sandbox Code Playgroud)
export GYP_CROSSCOMPILE=1
export GYP_DEFINES="target_arch=arm arm_float_abi=hard"
Run Code Online (Sandbox Code Playgroud)
vagrant@vagrant:~/depot_tools/src$ ./chrome/installer/linux/sysroot_scripts/install-debian.wheezy.sysroot.py --arch=arm
Installing Debian Wheezy arm root image: /home/vagrant/depot_tools/src/chrome/installer/linux/debian_wheezy_arm-sysroot
Downloading http://storage.googleapis.com/chrome-linux-sysroot/toolchain/285950/debian_wheezy_arm_sysroot.tgz
build/install-build-deps.sh --arm
build/install-build-deps-android.sh
gclient sync
Run Code Online (Sandbox Code Playgroud)
build/gyp_chromium -Goutput_dir=out_arm
ninja -C out_arm/Debug chrome
Run Code Online (Sandbox Code Playgroud)
vagrant@vagrant:~/depot_tools/src$ ninja -C out_arm/Debug chrome
ninja: Entering directory `out_arm/Debug'
[222/18316] CXX obj/third_party/webrtc/modules/audio_coding/codecs/audio_encoder_interface.audio_encoder.o
FAILED: ../../third_party/llvm-build/Release+Asserts/bin/clang++ -MMD -MF …
Run Code Online (Sandbox Code Playgroud) Google 已停止使用 32 位版本的 Chrome,因此在 32 位 Debian 机器上无法再更新 APT 存储库:
W: Failed to fetch http://dl.google.com/linux/chrome/deb/dists/stable/Release Unable to find expected entry 'main/binary-i386/Packages' in Release file (Wrong sources.list entry or malformed file)
Run Code Online (Sandbox Code Playgroud)
似乎还从 Google 服务器中删除了 .deb 文件。
有没有其他地方可以.deb
下载最新版本(46?)?
原因:对于自动 Debian 构建系统(debootstrap
基于),我迫切需要一种安装 Google Chrome 32bit v46(或类似版本)的方法。目前,切换到另一个浏览器(包括 Chromium)对我来说还不够快。
有没有办法在 Fedora 23/24 上为 Chromium 添加 H.264 支持?
任何解决方法或替代解决方案都可以。
我目前使用spot 的 Chromium repo。
编辑:看来,目前没有其他不需要重新编译 Chromium 的选项。编辑:Ubuntu 有添加必要的编解码器的chromium-codecs-ffmpeg-extra 包。但是这种支持必须在 Chromium 编译时启用。
我想将 Chromium 浏览器从 docker 容器打开到我的 Mac 桌面。
docker run -i -t ubuntu:16.04 /bin/bash
apt-get update
apt-get install alsa-base chromium-browser xauth
adduser myuser
Run Code Online (Sandbox Code Playgroud)
docker commit 2862a7bfcc2f acme/mycontainer:0.1
Run Code Online (Sandbox Code Playgroud)
myuser
从容器运行 Chrome 浏览器失败docker run --user myuser -i -t acme/mycontainer:0.1 /usr/bin/chromium-browser
Failed to move to new namespace: PID namespaces supported, Network namespace supported, but failed: errno = Operation not permitted
Run Code Online (Sandbox Code Playgroud)
我敢打赌还有更多
任何指针?
--privileged
删除错误See thread on …
chrome ×10
32bit ×1
arm ×1
assembly ×1
autocomplete ×1
bash ×1
bittorrent ×1
cpulimit ×1
debian ×1
docker ×1
fedora ×1
gnome ×1
i18n ×1
linux-mint ×1
openbsd ×1
transmission ×1
ubuntu ×1
x11 ×1