- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我正在尝试创建一个启动脚本来在 Guake 中打开两个选项卡,执行命令,然后重命名选项卡。不幸的是,这些选项卡没有被重命名。同样令人恼火的是,它在 shell 脚本的目录而不是默认的 ~/目录中打开终端。阅读帮助文件后,我非常确定该脚本是正确的。
帮助文件:
Options:
-h, --help show this help message and exit
-f, --fullscreen Put Guake in fullscreen mode
-t, --toggle-visibility
Toggles the visibility of the terminal window
-p, --preferences Shows Guake preference window
-a, --about Shows Guake's about info
-n NEW_TAB, --new-tab=NEW_TAB
Add a new tab
-s SELECT_TAB, --select-tab=SELECT_TAB
Select a tab
-g, --selected-tab Return the selectd tab index.
-e COMMAND, --execute-command=COMMAND
Execute an arbitrary command in the selected tab.
-r RENAME_TAB, --rename-tab=RENAME_TAB
Rename the selected tab.
-q, --quit Says to Guake go away =(
这是我的 shell 脚本:
#!/bin/sh
# guakeStartup.sh
# open tabs
guake -e "irssi" -r "irssi"
guake -n -e "cd" -r "terminal"
最佳答案
在启动脚本中尝试这样的操作:
guake --rename-tab="irssi" --execute-command="irssi" &
sleep 1 &&
guake --new-tab=2 --rename-tab="terminal" --execute-command="cd" &
或者更像你原来的:
guake -e "irssi" -r "irssi" &
sleep 1 &&
guake -n=2 -e "cd" -r "terminal" &
关于shell - Guake终端启动shell脚本,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27107771/
抱歉,如果之前问过这个问题——我找不到任何类似的问题。 我正在使用Guake! 0.4.4 与 Ubuntu 14.04 LTS。我打开和关闭终端的热键设置为 F12。 当我打开终端时,我希望将焦点放
如何将 guake 恢复为旧选项卡名称(“Terminal1”)guake 现在为每个“cd”命令更改重命名选项卡。并将其重命名为当前工作目录。这需要更多的空间 最佳答案 我找到了这个解决方案。 gc
我正在使用 guake 终端,但它的自动重命名功能让我很烦。我可以为每个选项卡使用相同的名称,即使是手动重命名吗? 最佳答案 就跑 gconftool-2 --set /apps/guake/gene
有什么方法可以从 guake 中的选项卡名称中删除路径吗?我想要自动重命名,但没有路径。通常我在不同的选项卡中打开几个主机,然后根据主机名将它们全部重命名。在每个新标签页上执行相同的操作很烦人。默认行
是否可以让 Guake 终端使用 256 种颜色而不是 8 种颜色? 我在互联网上找到的唯一信息是这个帖子 https://bbs.archlinux.org/viewtopic.php?id=173
怎样才能让Guake终端正确打印,就像在终端中一样?我在StackOverflow中发现了一些问题,但我不知道有关脚本的命令。 这是截图: guake terminal screenshot 这是
我使用此处的指南在 CentOS 上成功安装了 Guake: http://ww.centos.org/modules/newbb/viewtopic.php?viewmode=threaded&or
我做了我的服务 /etc/systemd/system/guake.service 包含 [Unit] Description=Start guake [Service] ExecStart=/bin
如何在我的 ubuntu 机器上安装这个 Guake Dropdown?有没有使用 apt-update 之类的方法。 最佳答案 你试过这个吗? sudo apt-get install guake
使用 Guake 终端这个可自定义且强大的适合各种用户的工具快速访问你的终端。 Guake 终端:GNOME 桌面中自上而下终端 Guake 是一款为 GNOME
我最近安装了 Ubuntu 16.04,为了便于使用 Python2 开发机器学习和其他 AI 程序,我安装了 Anaconda Python2 完整发行版。 我总是使用“guake”终端仿真器,我认
我是一名优秀的程序员,十分优秀!