User Tools

Site Tools


other:win7apps

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
other:win7apps [2015/06/11 14:25]
jypeter Added an 'uninstall cygwin' section
other:win7apps [2018/03/13 14:18] (current)
jypeter Replaced asterix with obelix everywhere
Line 20: Line 20:
     * from //Canopy Packages// (note: if you know that you have an academic license, but you only get //​Subscribe//​ instead of //Install// next to the packages available in Canopy Packages, just quit and restart Canopy): basemap, basemap_ld, cartopy, netCDF4     * from //Canopy Packages// (note: if you know that you have an academic license, but you only get //​Subscribe//​ instead of //Install// next to the packages available in Canopy Packages, just quit and restart Canopy): basemap, basemap_ld, cartopy, netCDF4
   * Click on //Updates NN// again, and install them, if some new updates are available   * Click on //Updates NN// again, and install them, if some new updates are available
 +
 +===== VcXsrv Windows X Server =====
 +
 +<note important>​VcXsrv is now pre-installed on your Windows machine instead of [[#​cywin-x|Cygwin-X]]. It should work more reliably with the LSCE servers, but does not provide all the resources of Cygwin-X. You may want to install Cygwin-X as well, in some special cases</​note>​
 +
 +Web & Download: http://​vcxsrv.sourceforge.net/​
 +
 +==== Setup ====
 +
 +  * Start //XLaunch// to configure VcXsrv
 +  * Select //One large window//, then //Next//
 +  * Select //Open session via XDMCP//, then //Next//
 +  * Select //Connect to host **obelix**//​ and //Terminate on server reset//, then //Next//
 +  * Use the settings specified below, then //Next//
 +    * Select //​Clipboard//​
 +    * **Unselect** //Native opengl//, unless you know what you are doing!
 +      * FIXME We should try to keep it selected and check if ''​glxgears''​ works correctly, with and without setting the ''​LIBGL_ALWAYS_INDIRECT''​ environment variable
 +  * Click on //Save configuration//​ to save the settings on the Windows desktop (e.g //​obelix_VcXsrv.xlaunch//​),​ then //Finish//. VcXsrv will automatically start.\\ The next time you want to start VcXsrv, just click on the //​obelix_VcXsrv.xlaunch//​ file that you have saved on your desktop
 +
 +==== Notes ====
 +
 +  * Once you have started VcXsrv and logged in with you account on one of the obelix servers, it is highly suggested to **activate the windows wireframe moving mode** by typing:\\ ''​gconftool-2 %%--%%set /​apps/​metacity/​general/​reduced_resources %%--%%type bool true''​
 +  * If you just need to run an //X server// (instead of using XDMCP), e.g. when you are outside LSCE, just start //VcXsrv// from the Windows Start Menu
  
 ===== Cygwin-X ===== ===== Cygwin-X =====
  
-<​note ​important>​Cygwin/​X ​should already ​be installed on your LSCE machine\\ This section covers the reinstallation/​update,​ or installation from scratch</​note>​+<​note ​warning>​Cygwin/​X ​used to be pre-installed on your LSCE machine ​but the connection with the obelixN servers in XDMCP mode became unreliable\\ The Windows machines now use [[#​vcxsrv_windows_x_server|VcXsrv]] but you may still need to install Cygwin-X in some special cases\\ This section covers the reinstallation/​update,​ or installation from scratch</​note>​
  
 Web & Download: http://​x.cygwin.com/​ Web & Download: http://​x.cygwin.com/​
Line 35: Line 58:
   * Select a scratch directory for downloading the installation packages\\ e.g. <​disk>:​\Scratch\<​your_login>​\CygwinX   * Select a scratch directory for downloading the installation packages\\ e.g. <​disk>:​\Scratch\<​your_login>​\CygwinX
   * Accept the //Direct Connection//​   * Accept the //Direct Connection//​
-  * Select a nearby mirror\\ e.g. http://​mirror.switch.ch+  * Select a nearby mirror\\ e.g. http://​mirror.easyname.at
   * The Select Packages window should start with the Category view. If this is not the case, click several times on the View button to select the Category view   * The Select Packages window should start with the Category view. If this is not the case, click several times on the View button to select the Category view
     * When you select a package, the dependencies will automatically be selected as well     * When you select a package, the dependencies will automatically be selected as well
Line 56: Line 79:
   * Click Next and accept the suggested extra packages (dependencies)   * Click Next and accept the suggested extra packages (dependencies)
   * Click Next and wait for the download and installation   * Click Next and wait for the download and installation
-    * Warning! If you get the //unable to extract /​usr/​bin/​cygwin1.dll//​ error message during the installation,​ open the task manager, go to the Processes tab, kill the //​cygserver//​ process, then click on //Retry//+    * Warning! If you get the //unable to extract /​usr/​bin/​cygwin1.dll//​ error message during the installation,​ open the task manager, go to the **Services** (not //Processes//) tab, kill the //​cygserver//​ process, then click on //Retry//
   * Accept the default icons creations and exit   * Accept the default icons creations and exit
  
Line 64: Line 87:
  
   * An xterm should appear   * An xterm should appear
-    * Note: this will **NOT** work if you already have a running X server connected to the LSCE asterix ​servers in XDMCP mode+    * Note: this will **NOT** work if you already have a running X server connected to the LSCE obelix ​servers in XDMCP mode
   * Type '​xterm'​ and check you get a new xterm window   * Type '​xterm'​ and check you get a new xterm window
   * In the notification zone, right-click on the X icon and choose About. You should get Version 1.16.1 (2014-10-17) or higher   * In the notification zone, right-click on the X icon and choose About. You should get Version 1.16.1 (2014-10-17) or higher
   * Type '​glxgears'​ and check that you get a window with rotating gears   * Type '​glxgears'​ and check that you get a window with rotating gears
   * Type '​glxinfo|grep -i opengl'​ and check the vendor string: it should be the same as your computer'​s graphics card   * Type '​glxinfo|grep -i opengl'​ and check the vendor string: it should be the same as your computer'​s graphics card
-  * Type 'ssh -Y <​your_login>​@asterix1.saclay.cea.fr' to login to asterix1+  * Type 'ssh -Y <​your_login>​@obelix2.lsce.ipsl.fr' to login to obelix2
     * do the '​xterm'​ test     * do the '​xterm'​ test
     * do the '​glxinfo|grep -i opengl'​ test     * do the '​glxinfo|grep -i opengl'​ test
-    * exit asterix+    * exit obelix
   * More tests with x11perf??   * More tests with x11perf??
  
Line 84: Line 107:
     * You can find the installed version of Cygwin at the top of the file (e.g. //Release: 1.16.0.0//)     * You can find the installed version of Cygwin at the top of the file (e.g. //Release: 1.16.0.0//)
   * Discussion: http://​blog.gmane.org/​gmane.os.cygwin.xfree   * Discussion: http://​blog.gmane.org/​gmane.os.cygwin.xfree
 +
 +==== Cygwin-X tips and tricks ====
 +
 +=== Where are the directories?​ ===
 +
 +  * You can use ''​df -h''​ to get information about the partitions
 +  * The Linux root (''/''​) directory is located in ''​C:​\cygwin''​ or ''​C:​\cygwin64''​ (depending if you are using a 32bit or 64bit Windows).\\ e.g. ''/​home''​ is actually in ''​C:​\cygwin64\home''​
 +  * The ''​C:''​ Windows partition (accessible with ''​cd c:''​ from cygwin) is in ''/​cygdrive/​c''​ (from cygwin)
 +
 +=== Solving Cygwin directories access rights ===
 +
 +You may encounter Windows access rights problem when using cygwin:
 +  * you don't have the correct ownership or enough rights to remove c:\cygwin
 +  * when starting cygwin/X, you get an error message saying that you can't write/​access ''/​var/​log/​xwin/​XWin.0.log''​
 +  * ...
 +
 +These problems can be solved with cygwin!
 +  * Start a cygwin shell with administrator rights\\ ''​Start => All Programs => Cygwin Bash Shell => right-click and choose to run as administrator''​
 +  * Use standard Linux commands to check and fix the access rights
 +    * ''​ls -l'',​ ''​chmod'',​ ''​chown'',​ ''​chgrp'',​ ...
 +      * e.g., to solve the XWin.0.log above, you can use: ''​chmod a+rwx /​var/​log/​xwin''​
  
 ==== Uninstalling Cygwin-X ==== ==== Uninstalling Cygwin-X ====
Line 92: Line 136:
   * An interesting thread about uninstall: http://​superuser.com/​questions/​167219/​how-to-completely-uninstall-remove-cygwin-from-windows-7   * An interesting thread about uninstall: http://​superuser.com/​questions/​167219/​how-to-completely-uninstall-remove-cygwin-from-windows-7
     * Look for hints in there if you get some weird access rights problems!     * Look for hints in there if you get some weird access rights problems!
-      * Some Windows command lines have some potential: icacls+      * Some Windows command lines have some potential: ​''​takeown'',​ ''​icacls''​
  
 ==== Using Cygwin-X at LSCE ==== ==== Using Cygwin-X at LSCE ====
  
-We use //XDMCP query on asterix// in order to open a full Linux environment running on one of the asterix ​server, displayed in a full-screen window on the local desktop+We use //XDMCP query on obelix// in order to open a full Linux environment running on one of the obelix ​server, displayed in a full-screen window on the local desktop
  
 Use the following steps to create a shortcut on your desktop that you can use to start Cygwin-X in XDMCP mode: Use the following steps to create a shortcut on your desktop that you can use to start Cygwin-X in XDMCP mode:
   * Right-click on the desktop and choose //New --> Shortcut//   * Right-click on the desktop and choose //New --> Shortcut//
   * Choose the target of the shortcut: //​C:​\cygwin64\bin\XWin.exe//​   * Choose the target of the shortcut: //​C:​\cygwin64\bin\XWin.exe//​
-    * Do not forget to add the extra options to the shortcut, so that it looks like:\\ //​C:​\cygwin64\bin\XWin.exe -wgl -query ​asterix ​-terminate//​+    * Do not forget to add the extra options to the shortcut, so that it looks like:\\ //​C:​\cygwin64\bin\XWin.exe -wgl -query ​obelix ​-terminate//​
     * Note: the //-wgl// argument is optional. It may (or not) give you some increased performance     * Note: the //-wgl// argument is optional. It may (or not) give you some increased performance
-  * Select a name for the shorcut: //Asterix64//, //Asterix//, etc...+  * Select a name for the shorcut: //Obelix64//, //Obelix//, etc...
  
-Once you have started Cygwin and logged in with you account on one of the asterix ​servers, it is highly suggested to activate the windows wireframe moving mode by typing:\\ ''​gconftool-2 --set /​apps/​metacity/​general/​reduced_resources --type bool true''​+Once you have started Cygwin and logged in with you account on one of the obelix ​servers, it is highly suggested to **activate the windows wireframe moving mode by typing**:\\ ''​gconftool-2 ​%%--%%set /​apps/​metacity/​general/​reduced_resources ​%%--%%type bool true''​
  
 ==== Trying to have Cygwin-X work faster on Win7+Intel HDxxx cards ==== ==== Trying to have Cygwin-X work faster on Win7+Intel HDxxx cards ====
  
-  * Activate wireframe mode\\ ''​gconftool-2 --set /​apps/​metacity/​general/​reduced_resources --type bool true''​+  * Activate wireframe mode\\ ''​gconftool-2 ​%%--%%set /​apps/​metacity/​general/​reduced_resources ​%%--%%type bool true''​
   * Check if other metacity parameters should be set?   * Check if other metacity parameters should be set?
     * http://​www.yolinux.com/​TUTORIALS/​GNOME.html#​GCONF     * http://​www.yolinux.com/​TUTORIALS/​GNOME.html#​GCONF
Line 123: Line 167:
   * Enable //MIT-SHM extension// ([[http://​en.wikipedia.org/​wiki/​MIT-SHM|MIT Shared Memory Extension ]])?   * Enable //MIT-SHM extension// ([[http://​en.wikipedia.org/​wiki/​MIT-SHM|MIT Shared Memory Extension ]])?
     * http://​x.cygwin.com/​docs/​ug/​using-shared-memory.html     * http://​x.cygwin.com/​docs/​ug/​using-shared-memory.html
 +
 +===== Panoply ====
 +
 +You can use Panoply to work with **NetCDF** data (and some other geo-referenced data) if you just need a //​quick-look//​ or you are not familiar with NetCDF
 +
 +Web & Download: http://​www.giss.nasa.gov/​tools/​panoply/​
 +
 +{{:​pmip3:​database:​visualizing_netcdf_panoply_seidenglanz.pdf|User manual}} (courtesy of Anne Seidenglanz)\\ [[http://​www.geo.uni-bremen.de/​Interdynamik/​images/​stories/​pdf/​visualizing_netcdf_panoply.pdf|Link to the original version]]
 +
 +===== GIMP ====
 +
 +Web: http://​www.gimp.org/​
 +
 +Download: http://​www.gimp.org/​downloads/​
  
 ===== Gnu emacs + GnuWin DiffUtils ===== ===== Gnu emacs + GnuWin DiffUtils =====
Line 128: Line 186:
 ==== Download ==== ==== Download ====
  
-  - http://​vgoulet.act.ulaval.ca/​emacs/​windows ​(Emacs installer for Windows) +  - Emacs installer for Windows: ​http://​vgoulet.act.ulaval.ca/​emacs/​windows 
-  - http://​gnuwin32.sourceforge.net/​packages/​diffutils.htm ​(Recompiled diff programs for Windows) +  - Recompiled diff programs for Windows (needed for the //ediff// mode): ​http://​gnuwin32.sourceforge.net/​packages/​diffutils.htm 
-  - {{:​other:​emacs_win_7_64_140408.zip|}} ​(JYP'​s ​.emacs ​file)+  - JYP's .emacs file: {{:​other:​emacs_win_7_64_140408.zip|for Windows}} - {{:​other:​emacs_linux_150806.tar|for Linux}} 
 +  - Annotated reference card of the emacs text editor: {{:​other:​newppl:​emacs_jyp.pdf}}
  
 ==== Configuration ==== ==== Configuration ====
Line 147: Line 206:
 ==== Testing the tramp mode ==== ==== Testing the tramp mode ====
  
-Try to open a remote file, in order to check if tramp works correctly\\ e.g. /<​your_login>​@idefix1.saclay.cea.fr:.emacs+Try to open a remote file, in order to check if tramp works correctly\\ e.g. /<​your_login>​@ssh1.lsce.ipsl.fr:.emacs
  
 You will probably get the following error: Couldn'​t find a proper `ls' command You will probably get the following error: Couldn'​t find a proper `ls' command
Line 159: Line 218:
   - Start Emacs   - Start Emacs
  
-==== Notes ====+==== Misc. emacs related notes ==== 
 + 
 +=== Windows specific notes === 
  
   * Installing the DiffUtils packages makes it possible to use the emacs Tools => Compare (ediff) menu   * Installing the DiffUtils packages makes it possible to use the emacs Tools => Compare (ediff) menu
   * If you get the following error when starting emacs\\ error: The directory `~/​.emacs.d/​server'​ is unsafe\\ Use the following solution: http://​stackoverflow.com/​a/​2944197   * If you get the following error when starting emacs\\ error: The directory `~/​.emacs.d/​server'​ is unsafe\\ Use the following solution: http://​stackoverflow.com/​a/​2944197
 +
 +=== Other notes ===
 +
 +  * Commenting/​commenting lines (in a python script, or anything) : ''​M-;''​
 +  * Improving python support: https://​samrelton.wordpress.com/​2013/​09/​16/​emacs-and-python/​
 +    * Not tested! FIXME
  
 ===== QtGrace ===== ===== QtGrace =====
Line 175: Line 243:
   * Go to ''​qtgrace_windows_binary_024\bin''​ and double-click on ''​qtgrace.exe''​   * Go to ''​qtgrace_windows_binary_024\bin''​ and double-click on ''​qtgrace.exe''​
  
-===== Kies (Samsung=====+===== Samsung ​utilities ===== 
 + 
 +  * Smart Switch: http://​www.samsung.com/​fr/​support/​smartswitch/​ 
 + 
 +  * Kies & Kies3, for older phones: http://​www.samsung.com/​fr/​support/​usefulsoftware/​KIES/​JSP 
 + 
 +===== Malwarebytes Anti-Malware ​=====
  
-Web & Download: ​http://www.samsung.com/fr/​support/​usefulsoftware/​KIES/​JSP+Web & Download: ​https://www.malwarebytes.org/
  
 ===== Putty ===== ===== Putty =====
Line 184: Line 258:
  
 Download: http://​www.chiark.greenend.org.uk/​~sgtatham/​putty/​download.html (Get the //Windows installer for everything except PuTTYtel//) Download: http://​www.chiark.greenend.org.uk/​~sgtatham/​putty/​download.html (Get the //Windows installer for everything except PuTTYtel//)
 +
 +More information:​ http://​ciclad-web.ipsl.jussieu.fr/​data/​documents/​ssh_putty_v2_2011-1.pdf
  
 ==== Configuring and using pageant ==== ==== Configuring and using pageant ====
 +
 +FIXME
  
 ==== Notes ==== ==== Notes ====
Line 201: Line 279:
 ===== Microsoft synctoy ===== ===== Microsoft synctoy =====
  
-<note tip>This is a free and easy to install backup program that will only copy new/​modified files</​note>​+<note tip>This is a free and easy to install backup program that will only copy new/​modified files\\ \\ Using synctoy is very similar to using Linux //rsync//</​note>​
  
 Web & Download: http://​www.microsoft.com/​en-us/​download/​details.aspx?​id=15155 Web & Download: http://​www.microsoft.com/​en-us/​download/​details.aspx?​id=15155
Line 209: Line 287:
 The idea is to create pairs of folders (//left// folder and //right// folder) and to keep them synchronized The idea is to create pairs of folders (//left// folder and //right// folder) and to keep them synchronized
  
-  * Click on Create New Folder Pair +  * Click on //Create New Folder Pair// 
-  * Choose a Left Folder on the computer\\ e.g. F:​\Users\jypeter +  * Choose a //Left Folder// **on the computer**\\ e.g. ''​F:​\Users\jypeter''​ 
-  * Choose a Right Folder on the backup disk\\ e.g. J:​\Backup_JYP\<​your_computer_model>​\Windata_<​your_login>​ +  * Choose a //Right Folder// **on the backup disk**\\ e.g. ''​J:​\Backup_JYP\Dell_Precision_T1700\Windata_jypeter''​ 
-  * Click Next and choose Echo, because we want the backup to be an exact copy of the original folder +  * Click //Next// and choose ​//Echo//, because we want the backup to be an exact copy of the original ​folder 
-  * Click Next and give a meaningful name to the folder pair\\ e.g. \<​your_computer_model>​ Windata_<​your_login>​+    * Warning! //Exact copy// means that if something is removed in the //left// folder and you run synctoy, synctoy will also erase the same thing in the //​right// ​folder 
 +  * Click Next and give a meaningful name to the folder pair\\ e.g. ''​<​your_computer_model>​ Windata_<​your_login>​''​
   * Finish...   * Finish...
-  * Select the folder pair and click on Change options +  * Select the folder pair and click on //Change options// 
-    * Enable Exclude system files +    * Enable ​//Exclude system files// 
-    * Disable Save overwritten files in the Recycle Bin +    * Disable ​//Save overwritten files in the Recycle Bin// 
-  * Click on Preview and check the list of actions that the backup program will use+  * Click on //Preview// and check the list of actions that the backup program will use
   * Click on Run   * Click on Run
  
Line 243: Line 322:
  
 Download: http://​www.xnview.com/​en/​xnview/#​downloads Download: http://​www.xnview.com/​en/​xnview/#​downloads
 +
 +===== BlueScreenView =====
 +
 +This utility makes it possible to display information about previous crashes of a Win computer. Use this if your PC has experienced a BSOD (//Blue Screen of Death//) and you want to know what happened
 +
 +Web & Download: http://​www.nirsoft.net/​utils/​blue_screen_view.html
 +
 +===== HTTrack Website Copier =====
 +
 +This utility makes it possible to download a web site for backup (e.g. HTML backup/​export of a Joomla web site) or offline usage
 +
 +Web & Download: http://​www.httrack.com/​page/​1/​en/​index.html
 +
  
 /* standard page footer */ /* standard page footer */
other/win7apps.1434032702.txt.gz · Last modified: 2015/06/11 14:25 by jypeter