Setup a standard useful cygwin environment to make Windows feel more like Linux
Install All Cygwin 1.7+ Default Packages PLUS the following additions and automatically included dependencies:
Base>gzip
Mail>mutt
Mail>email
Mail>procmail
Mail>grepmail
Mail>procmail
Utils>gnupg
Utils>cpio
Utils>screen
Utils>ipcalc
Net>openssh
Net>openssl
Net>rsync
Net>curl
Editors>vim
Editors>gvim
System>util-linux
System>ping
Math>bc
NOTE: X-Windows needed
X11>xorg-X11-server
X11>xauth
X11>fvwm (basic windiwmanager)
X11>x-start-Icon
X11>cygwin-x-docgzip
To set the homedirs to encrypted Windows space:
vi /etc/passwd and change the home path to your encrypted documents and settings user folder. (this updates the $HOME variable)
Next, rename the current home folder for the user to user.bck, create a symlink by the same name in /home that points to the same folder you just set the passwd file to.
Launch Cygwin and edit the terminal window properties under the Layout Tab. Set the Window buffer size to 80, 300. Set the window size to 80,28.
Make sure your windows user name is the same as your linux username, otherwise you’ll always have to type username@hostname when trying to do anything useful – FYI this will break all your screen scripts. If it is NOT the same between windows and linux, create a personal ssh_config file.
# vi ~/.ssh/config
and add the line:
User UserNameYouWantHere
Set the X display output variable.
# vi ~/.bashrc
add the line:
export DISPLAY=:0.0
——————————
Mouse – (enable paste with track pad mouse buttons)
Windows Control Panel > Mouse > Buttons Tab > Change Both Buttons Drop Down Selection to Middle Button Click.
Xwindows Server Start on Boot:
Copy the Xwin Server Shortcut to – C:\Documents and Settings\All Users\Start Menu\Programs\Startup\
Leave a Reply