Loading [MathJax]/extensions/tex2jax.js

2017/05/10

Cygwin: the shortcut for starting xterm without the need to run "XWin Server" first

cygwinでxtermを立ち上げるにはいちいちxwin serverとか立ち上げないといけないという死ぬほど面倒な手続きから解放される方法をやっと見つけた。


Run XLaunch at first from the Cygwin-X start menu.

Choose Multiple window.

Make sure that "Start a program" is chosen.

Now you can find some hints for your customize in future.

Keeping the Extra settings default, you can save the launch options to the file named "config.xlaunch".
And then, save this file to your cygwin home dir.

Run a cygwin terminal and exec a command below.

mkshortcut -D -n xterm -a "xlaunch -run ~/config.xlaunch" /usr/bin/run

Now, you can find the "xterm" shortcut on your Desktop (with a nice icon).
Place it in your task bar or start menu as you like.

Enjoy!


0 件のコメント: