cygwin:如何为远程应用程序创建Windows菜单启动器
我使用.XWinrc文件在远程机器上为Thunderbird(称为mythunderbird)制作了一个应用程序启动器cygwin:如何为远程应用程序创建Windows菜单启动器,cygwin,remote-access,launcher,Cygwin,Remote Access,Launcher,我使用.XWinrc文件在远程机器上为Thunderbird(称为mythunderbird)制作了一个应用程序启动器 menu apps { xterm exec "xterm" "Emacs" exec "emacs" notepad exec notepad xload exec "xload -display %display%" # Comment mythunderbir
menu apps {
xterm exec "xterm"
"Emacs" exec "emacs"
notepad exec notepad
xload exec "xload -display %display%" # Comment
mythunderbird exec "ssh -X mckserver.mckserver.apollo3.com thunderbird"
}
这从多次按键开始(右键单击XWin>(一品脱到应用程序)>单击mythunderbird
有人能告诉我如何将这样一个菜单添加到桌面快捷方式中吗?设置一个快捷方式来运行“xterm”,然后登录到远程服务器并启动Thunderbird很容易,但需要很多步骤和点击
我真正需要做的是知道在启动xterm的默认快捷方式中要更改什么:
C:\cygwin\bin\run.exe -p /usr/X11R6/bin xterm -display 127.0.0.1:0.0 -ls
我喜欢XWinrc应用程序的功能是,它干净地执行了Thunderbird,没有剩余的额外终端运行。如果我在XWinrc之外启动它,我会运行Thunderbird,但也会运行额外的xterm。我让它工作的方法是在我的主目录中的cygwin中创建一个脚本(/home/dave/mythunderbird)哪个进行ssh调用 在windows快捷方式中,设置目标C:\cygwin\bin\run.exe bash-le/home/dave/mythunderbird
run.exe停止显示命令窗口,bash-le从登录shell运行bash中的脚本,我让它工作的方式是在我的主目录(/home/dave/mythunderbird)中的cygwin中生成一个脚本,该脚本执行ssh调用 在windows快捷方式中,设置目标C:\cygwin\bin\run.exe bash-le/home/dave/mythunderbird run.exe停止显示命令窗口,bash-le从登录shell在bash中运行脚本