Execution sous mono : Différence entre versions

De AquavipareGest
(Page créée avec « En complément à Windows, AquavipareGest s'exécute aussi sous Mono (http://www.mono-project.com/) et donc sous Linux, Mac, etc. Pour l'instant, l'installation doit ... »)
 
Ligne 1 : Ligne 1 :
En complément à Windows, AquavipareGest s'exécute aussi sous Mono ([[http://www.mono-project.com/]]) et donc sous Linux, Mac, etc.
+
En complément à Windows, AquavipareGest s'exécute aussi sous Mono (http://www.mono-project.com/) et donc sous Linux, Mac, etc.
  
 
Pour l'instant, l'installation doit être faite sous Windows mais par la suite une version de AquavipareGest Portable verra le jour afin de ne plus avoir besoin de passer par un environnement Windows rien que pour l'installation.
 
Pour l'instant, l'installation doit être faite sous Windows mais par la suite une version de AquavipareGest Portable verra le jour afin de ne plus avoir besoin de passer par un environnement Windows rien que pour l'installation.
 +
  
 
En premier lieu, il est nécessaire d'installer la dernière version de Mono pour le système d'exploitation qui vous concerne (Linux, Mac, etc.)
 
En premier lieu, il est nécessaire d'installer la dernière version de Mono pour le système d'exploitation qui vous concerne (Linux, Mac, etc.)
Mono peut être téléchargé à l'adresse suivante [[http://www.mono-project.com/download/]]
+
Mono peut être téléchargé à l'adresse suivante http://www.mono-project.com/download/
Suivant l'environnement Linux sous lequel vous voulez installer Mono, le package Mono pourra avoir un nom différent tel que mono-stable, MonoFramework, mono-devel or mono-x.x-devel
+
 
 +
Suivant l'environnement Linux sous lequel vous voulez installer Mono, le package Mono pourra avoir un nom différent tel que mono-runtime, mono-complete, mono-stable, MonoFramework, mono-devel or mono-x.x-devel
 +
 
 +
Sur certaines plateformes, l'implémentation Windows Forms(System.Windows.Forms) est dans un package séparé tout comme le namespace Runtime(System.Runtime). AquavipareGest a besoin de ces 2 packages. Si ceux-ci sont dans un  package séparé, merci de les installer aussi.
  
 +
<!--Download the portable version of AquavipareGest(file AquavipareGest-2.xx.zip) and unpack it in a location of your choice.-->
  
Sur certaines platformes, l'implémentation Windows Forms(System.Windows.Forms) est dans un package séparé tout comme le namespace Runtime(System.Runtime). AquavipareGest a besoin de ces 2 packages. Si ceux-ci sont dans un  package séparé, merci de les installer aussi.
 
  
If you want to use auto-type on Linux / Mac OS X / BSD / etc., you additionally need the xdotool package.
+
Une fois Mono et AquavipareGest installés, il vous suffit d'aller dans le répertoire d'installation de AquavipareGest et taper dans une ligne de commande "mono AquavipareGest.exe". Il est aussi possible de de faire un clic droit sur le fichier "AquavipareGest.exe" et choisir l'option "ouvrir avec mono". Si cette option n'est pas disponible, vous pouvez choisir "Ouvrir avec une autre application" et sélectionner "Mono"
Download the portable version of KeePass (file KeePass-2.xx.zip) and unpack it in a location of your choice.
 
When being in the KeePass directory, run the command line "mono KeePass.exe". Alternatively, right-click onto the KeePass.exe file, choose "Open with Other Application" and type in mono as custom command.
 
For the last step you might want to create a shortcut or shell script file with this command line (use an absolute path to KeePass.exe, if the shortcut / shell script file is in a different location).
 
  
 +
<!--
 
Clipboard:
 
Clipboard:
 
On some systems, Mono's clipboard routines don't work properly. In this case, install the xsel package. If xsel is installed, KeePass uses this utility for clipboard operations.
 
On some systems, Mono's clipboard routines don't work properly. In this case, install the xsel package. If xsel is installed, KeePass uses this utility for clipboard operations.
Ligne 38 : Ligne 40 :
 
Double-click the appropriate run_command_i item (for example, when you've used command_5 in the previous steps, double-click run_command_5 now) and specify the hot key of your choice. For example, to use Ctrl+Alt+A as hot key, you'd enter <Control><Alt>a.
 
Double-click the appropriate run_command_i item (for example, when you've used command_5 in the previous steps, double-click run_command_5 now) and specify the hot key of your choice. For example, to use Ctrl+Alt+A as hot key, you'd enter <Control><Alt>a.
 
Important: for global auto-type, the version of the xdotool package must be 2.20100818.3004 or higher! If your distribution only offers an older version, you can download and install the latest version of the package manually, see the xdotool website.
 
Important: for global auto-type, the version of the xdotool package must be 2.20100818.3004 or higher! If your distribution only offers an older version, you can download and install the latest version of the package manually, see the xdotool website.
 +
-->
  
 +
Lors de la mise en place de cette page, AquavipareGest fonctionnait parfaitement avec mono. Il est possible que suite à une mise à jour de Mono, AquavipareGest ne soit plus totalement fonctionnel.
  
Setup  Portable KeePass using Mono
+
En cas d'erreur, n'hésitez pas à me contacter par [mailto:aquavipare@free.fr mail]
The approach below worked perfectly when this documentation was written. However, as this type of Mono installation is nowhere mentioned on the Mono website, it might stop working with a future Mono release.
 
 
 
Although almost all of today's PCs can run .NET applications (the .NET Framework is already preinstalled on Windows ≥ Vista, and for all major Linux / Mac OS X distributions Mono is available, which actually even is a dependency of the GNOME ≥ 2.16 desktop), you still might want to run KeePass 2.x on a PC without any .NET support, like an old Windows XP system where you don't have administrative rights to install the .NET Framework.
 
 
 
For such a situation, you can create a portable version of KeePass using Mono, which works on PCs without .NET. To do this, follow these steps (assuming a Windows PC):
 
 
 
Download the latest portable ZIP package of KeePass 2.x (file KeePass-2.xx.zip). Unpack it to some location, e.g. a folder E:\KeePass on your USB stick.
 
Download the latest Mono installer. Run it to locally install Mono on your current PC (e.g. on C:). KeePass doesn't require GTK+, GNOME or XSP, so you can disable the options for these during the installation.
 
After installing Mono, copy the whole Mono application folder (e.g. C:\Program Files\Mono) to your USB stick, e.g. to E:\Mono.
 
In order to simplify starting KeePass, create a batch file on your USB stick, e.g. E:\RunKeePass.bat. This batch file should run KeePass using the mono.exe application on the USB stick. For example, with the paths above, the content of the batch file would look like:
 
START "" Mono\bin\mono.exe KeePass\KeePass.exe
 
In order to run KeePass on a PC without .NET support, simply plug in the USB stick and run the batch file.
 
 
 
The approach above should be seen as the very last possibility to run KeePass 2.x. Installing .NET support (either the .NET Framework or Mono) is highly recommended instead!
 

Version du 17 décembre 2014 à 09:38

En complément à Windows, AquavipareGest s'exécute aussi sous Mono (http://www.mono-project.com/) et donc sous Linux, Mac, etc.

Pour l'instant, l'installation doit être faite sous Windows mais par la suite une version de AquavipareGest Portable verra le jour afin de ne plus avoir besoin de passer par un environnement Windows rien que pour l'installation.


En premier lieu, il est nécessaire d'installer la dernière version de Mono pour le système d'exploitation qui vous concerne (Linux, Mac, etc.) Mono peut être téléchargé à l'adresse suivante http://www.mono-project.com/download/

Suivant l'environnement Linux sous lequel vous voulez installer Mono, le package Mono pourra avoir un nom différent tel que mono-runtime, mono-complete, mono-stable, MonoFramework, mono-devel or mono-x.x-devel

Sur certaines plateformes, l'implémentation Windows Forms(System.Windows.Forms) est dans un package séparé tout comme le namespace Runtime(System.Runtime). AquavipareGest a besoin de ces 2 packages. Si ceux-ci sont dans un package séparé, merci de les installer aussi.


Une fois Mono et AquavipareGest installés, il vous suffit d'aller dans le répertoire d'installation de AquavipareGest et taper dans une ligne de commande "mono AquavipareGest.exe". Il est aussi possible de de faire un clic droit sur le fichier "AquavipareGest.exe" et choisir l'option "ouvrir avec mono". Si cette option n'est pas disponible, vous pouvez choisir "Ouvrir avec une autre application" et sélectionner "Mono"


Lors de la mise en place de cette page, AquavipareGest fonctionnait parfaitement avec mono. Il est possible que suite à une mise à jour de Mono, AquavipareGest ne soit plus totalement fonctionnel.

En cas d'erreur, n'hésitez pas à me contacter par mail