Modifications

De AquavipareGest

Execution sous mono

1 606 octets supprimés, 28 mai 2015 à 14:12
aucun résumé de modification
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 Une version portable de AquavipareGest Portable verra le jour est disponible afin de ne plus avoir besoin de passer par un environnement Windows rien que pour l'installation. Il suffit de télécharger [http://aquaviparegest.aquavipare.fr/AquavipareGest/AquavipareGest_Portable.zip AquavipareGest Portable] et d'extraire les fichiers à l'emplacement de votre choix.
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-stable, MonoFramework, mono-devel or mono-x.x-devel
== Linux ==
En premier lieu, il est nécessaire d'installer la dernière version de Mono pour la distribution vous concernant.
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 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.Sur certaines plateformes, you additionally need the xdotool package.Download the portable version of KeePass l'implémentation Windows Forms(file KeePass-2System.xxWindows.zipForms) and unpack it in a location of your choiceest dans un package séparé tout comme le namespace Runtime(System.When being in the KeePass directory, run the command line "mono KeePassRuntime).exe"AquavipareGest a besoin de ces 2 packages. Alternatively, rightSi ceux-click onto the KeePass.exe fileci sont dans un package séparé, 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)merci de les installer aussi.
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.
Global Auto-Type:In order to use global auto-typeUne fois Mono installé et AquavipareGest extrait à l'emplacement de votre choix, you need to create an appropriate system-wide hot keyil vous suffit d'aller dans le répertoire de AquavipareGest et taper dans une ligne de commande "mono AquavipareGest.exe". This only needs to be done manually onceIl est aussi possible d'aller avec l'explorateur de fichier dans le répertoire de AquavipareGest et de faire un clic droit sur le fichier "AquavipareGest. KeePass performs global auto-type when itexe" et choisir l's invoked with the --auto-type command line option"ouvrir avec mono".Si cette option n'est pas disponible, vous pouvez choisir "Ouvrir avec une autre application" et sélectionner "Mono"
Some examples how to create a system-wide hot key for global auto-type, for different operating systems== Mac OSX =='''ATTENTION :Il faut surtout utiliser ces fichiers et non d'autres venant d'autres sites'''
KDE. On Linux systems with KDE, the hot key can be created in Computer -> System Settings -> Shortcuts and Gestures: in this dialog, go Edit -> New -> Global Shortcut -> Command/URL, specify the shortcut on the Trigger tab and enter
mono /YourPathToKeePass/KeePass.exe --auto-type
into the Command/URL field on the Action tab.
Ubuntu Linux ≥ 11.04 (Unity/GNOME). Open the dialog Keyboard Shortcuts in the system preferences, click the Add button, enter KeePass Auto-Type as name and
mono /YourPathToKeePass/KeePass.exe --auto-type
as command, then click [Apply]. Click on Disabled of the newly created item (such that the text 'New shortcut...' appears), press Ctrl+Alt+A, and close the dialog.
Ubuntu Linux ≤ 10.10 (GNOME).
Press Alt-F2, enter gconf-editor and click [OK].
Navigate to apps -> metacity -> keybinding_commands.
Double-click one of the command_i items, enter
mono /YourPathToKeePass/KeePass.exe --auto-type
and click [OK].
Click the global_keybindings node on the left.
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.
Il faudrait donc télécharger et installer ce fichier (Mono Framework) --> http://aquaviparegest.aquavipare.fr/mono_OSX/MonoFramework-MDK-2.10.9_12.macos10.xamarin.x86.dmg
Setup Portable KeePass using Monopuis de même télécharger et installer ce fichier (Xquartz) --> http://aquaviparegest.aquavipare.fr/mono_OSX/XQuartz-2.7.7.dmgThe approach below worked perfectly when this documentation was written<!--http://aquaviparegest.aquavipare. However, as this type of Mono installation is nowhere mentioned on the Mono website, it might stop working with a future Mono releasefr/mono_OSX/AquavipareGest_OSX.command-->
Although almost all of todayAprès l's PCs can run .NET applications (the .NET Framework is already preinstalled on Windows ≥ Vistainstallation de XQuartz, and for all major Linux / Mac OS X distributions Mono is available, which actually even is a dependency of the GNOME ≥ 2il faut redémarrer l'ordinateur.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 Installation de 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.exeIn 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[[Fichier:OSX_Mono_installation_en_cours.png|350px]]  L'installation est terminée [[Fichier:OSX_Mono_installation_termin%C3%A9e.png|650px]]   Une fois mono et XQuartz installé, vous pouvez cliquer sur le fichier "AquavipareGest_OSX.command" pour lancer AquavipareGest. (La première exécution est lente mais les suivantes se feront nettement plus rapidement)Il est possible de mettre ce fichier de commande directement dans le dock pour un accès plus rapide. Si Mac OS vous dit que vous n'avez pas les privilèges pour lancer le fichier de commande. Ouvrez un terminal, aller dans le répertoire de AquavipareGest et taper la commande suivante : ''chmod +xAquavipareGest_OSX.command'' Vous pouvez ensuite relancer le fichier AquavipareGest_OSX.command Faites de même pour le fichier AquavipareGest_MAJ_OSX.command qui vous permettra de mettre à jour le logiciel. AquavipareGest devrait se lancer comme ceci... [[Fichier:OSX_AquavipareGest_sous_OSX.png|650px]]  ----   Si le fichier "AquavipareGest_OSX.command" ne fonctionne pas :il faut ouvrir un terminal et aller dans le répertoire de AquavipareGest Aller dans Utilitaires [[Fichier:OSX_Utilitaires.png|650px]]  Puis choisissez "Terminal" [[Fichier:OSX_Terminal.png|650px]]  Se déplacer dans le répertoire de AquavipareGest et taper les commandes suivantes :''export MONO_MWF_MAC_FORCE_X11=1'' puis la touche Entrée''mono AquavipareGest.exe'' puis la touche Entrée == Avertissement ==Lors de la mise en place de cette page, AquavipareGest 3. Installing 15.NET support (either the 1.0 fonctionnait parfaitement avec mono.NET Framework or Il est possible que suite à une mise à jour de Mono) is highly recommended instead!, AquavipareGest ne soit plus totalement fonctionnel. En cas d'erreur, n'hésitez pas à me contacter par [mailto:aquavipare@free.fr mail]

Menu de navigation