5 linux terminal google-chrome shell
有没有办法使用终端命令关闭特定的 Chrome 选项卡?我尝试了以下命令:
kill -9 <pid of Chrome tab>:它不是关闭选项卡,而是杀死选项卡(“他死了吉姆”消息出现并且选项卡仍然存在)killall chrome:关闭所有打开的 Chrome 浏览器Alf*_*.37 -2
将活动选项卡更改为下一个右侧选项卡:
xdotool windowactivate --sync <window> key Ctrl + Tab
Run Code Online (Sandbox Code Playgroud)
将活动选项卡更改为左下一个选项卡:
xdotool windowactivate --sync <window> Ctrl + Shift + Tab
Run Code Online (Sandbox Code Playgroud)
通过以下方式关闭活动浏览器选项卡:
xdotool windowactivate --sync <window> Ctrl + w
Run Code Online (Sandbox Code Playgroud)
备注: 德语键盘上的 Strg 键在英语键盘上通常标记为 Ctrl 或 Control。
| 归档时间: |
|
| 查看次数: |
6526 次 |
| 最近记录: |