如何从终端重新加载Google Chrome标签页? [英] How to reload Google Chrome tab from terminal?

查看:173
本文介绍了如何从终端重新加载Google Chrome标签页?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有一种方法可以仅使用终端在Ubuntu中重新加载Google Chrome标签页.我不想只是打开一个新窗口,而是要刷新一个标签页!

Is there a way to reload a Google Chrome tab in Ubuntu using just the terminal. I don't want to just open a new window, but to actually refresh a tab!

其他问题: 在其他浏览器(例如Opera,Safari,Firefox)中也是可能的.

Extra question: Is this possible in other browsers as well such as Opera, Safari, Firefox.

推荐答案

sudo apt-get update

sudo apt-get install xdotool

DISPLAY=:0 xdotool key F5

这就是您所需要的.

这篇关于如何从终端重新加载Google Chrome标签页?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆