linux - 如何使用很棒的 wm 在私密模式下打开 chrome 窗口?
问题描述
我有下面的代码可以在正常模式下打开 Chrome,但我也想有一个私人模式的快捷方式。
awful.key({ modkey, }, "b", function () awful.spawn.with_shell("google-chrome") end,
{description = "open chrome", group = "launcher"}),
提前致谢!
解决方案
尝试添加-incognito
:
awful.key({ modkey, }, "b", function () awful.spawn.with_shell("google-chrome -incognito") end, {description = "open chrome", group = "launcher"}),
推荐阅读
- python-3.6 - python3库安装后消失
- sql - 如何获取表的所有匹配列的值并存储在SQL中的新表中
- python - Python中嵌套定义的语法功能是什么?
- oracle - 如何在不在最终用户电脑上安装 Oracle 客户端的情况下使 Windows 窗体应用程序与 Oracle 一起工作
- apache-kafka - 使用 Kafka 排序器删除 Hyperledger Fabric 网络
- android - 解析单个对象响应
- javascript - 映射数组播放列表返回意外令牌
- kubernetes - Google Container Engine 错误:没有最低可用性
- php - 我想了解主题开发中的翻译功能
- matlab - 无效的训练数据。对于输出模式为“last”的循环层,响应必须是分类列向量