标签: chrome

为什么“cpulimit”不能限制chrome浏览器?

由于 CPU 使用率高,我想限制 Chromium 网络浏览器cpulimit并使用终端运行:

cpulimit -l 30 -- chromium --incognito
Run Code Online (Sandbox Code Playgroud)

但它并没有像预期的那样限制 CPU 使用率(即最大为 30%)。它再次使用 100%。为什么?我究竟做错了什么?

chrome cpulimit

13
推荐指数
2
解决办法
1762
查看次数

如何更改铬中的语言?

我已经安装了 Chromium,但它在其用户界面和网站中默认使用我的母语(德语)非常糟糕。

我想要英语回来,就像 Firefox 一样。我正在使用 archlinux 的默认包。我查看了设置对话框,但没有发现任何有用的信息。

chrome i18n

12
推荐指数
3
解决办法
4万
查看次数

创建 bash 完成脚本以在等号后自动完成路径?

我想创建一个 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)

bash chrome autocomplete

12
推荐指数
1
解决办法
5962
查看次数

打开磁力链接时将传输设置为默认程序

单击磁力链接(例如 TPB)时,如何设置 Chromium 以打开传输?

Chromium 说它将使用 xdg-open 但通常不会做任何事情

系统:Manjaro Linux 0.8.5.2 全面升级

桌面环境:Xfce 4.10

chrome bittorrent transmission

12
推荐指数
1
解决办法
2万
查看次数

什么是 Google Chrome 中的“钥匙圈”?

每次我运行 Chrome 时,它​​都会要求提供 Default 的密钥环密码。如果我输入密码或按取消,它就会消失,我可以继续。

那么,钥匙圈有什么作用,用我的密码解锁或按取消有什么区别?

gnome chrome gnome-keyring linux-mint

12
推荐指数
1
解决办法
2万
查看次数

如何为 ARM 交叉编译 Chromium?

目标

我需要在mini210s运行Linux 3.0.8 armv7l 的FriendlyARM上安装 Chromium

环境

工具链 depot_tools

得到后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)

arm chrome cross-compilation assembly

12
推荐指数
1
解决办法
2万
查看次数

OpenBSD 上的谷歌浏览器

如何在 OpenBSD 上安装 Google Chrome?

chrome openbsd

11
推荐指数
1
解决办法
8204
查看次数

在哪里下载 Chrome 32 位?

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)对我来说还不够快。

debian chrome 32bit

11
推荐指数
2
解决办法
14万
查看次数

Chromium - Fedora 23 上的 H.264 支持

有没有办法在 Fedora 23/24 上为 Chromium 添加 H.264 支持?

任何解决方法或替代解决方案都可以。

我目前使用spot 的 Chromium repo

编辑:看来,目前没有其他不需要重新编译 Chromium 的选项。编辑:Ubuntu 有添加必要的编解码器的chromium-codecs-ffmpeg-extra 包。但是这种支持必须在 Chromium 编译时启用。

fedora chrome

10
推荐指数
1
解决办法
6207
查看次数

如何从 docker 容器运行 Chromium

环境

  • MacOS 塞拉利昂 10.12.6
  • Docker 版本 17.09.0-ce,构建 afdb6d4
  • Ubuntu 16.04
  • XQuartz 2.7.9

我想将 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)

我敢打赌还有更多

任何指针?

UDPATE - 使用 --privileged

删除错误See thread on …

ubuntu chrome x11 docker

10
推荐指数
1
解决办法
8898
查看次数