[HOWTO] Use Mtp-Target on GNU/Linux

On this forum, I explain "How To" do things on Mtp Target. If you have a question, check this.
Forum rules
Please, post your message in English!

[HOWTO] Use Mtp-Target on GNU/Linux

Postby [GNU]Soel on Sat Jul 04, 2009 2:04 pm

Sommaire/Summary:

  1. Utiliser MTP-Target (standard)/Use MTP-Target(standard)
  2. Utiliser MTP-Target sous KDE (n'utilisez pas "Utiliser MTP-Target (standard)" avec KDE)/Use MTP-Target on KDE (don't use the "Use MTP-Target(standard)" with KDE)
  3. Créer un icone ou lanceur standard/ Create an icon or launcher standard
  4. Améliorez vos performances/Improve your performance
  5. Changer la résolution et un pseudo à caractères spéciaux sous Linux/ Change the resolution and your special name in Linux
  6. Utiliser Ceb sous Linux/Use CeB on linux

Utiliser mtp-target avec la façon standard:

  • Téléchargez, décompressez l'archive du jeu.
  • Repérez le chemin du dossier contenant votre fichier "start-mtp-target", dans mon cas:
    ~/Jeux/mtp-target
    NOTE: "~" indique votre dossier personnel c'est à dire "/home/anthony" dans mon cas.
  • Ouvrez un terminal et faîtes la commande "cd" et indiquez le chemin du dossier contenant votre fichier "start-mtp-target", dans mon cas ça donne ça:
    cd ~/Jeux/mtp-target
    NOTE: Vous pouvez vous aider des touches de tabulations quand par exemple vous avez tappé ~/J et que un seul de vos dossier commence par un J, grâce à tab, il vous affichera ~/Jeux/ ;).
  • Tappez ensuite la commande suivante:
    bash start-mtp-target
  • Vous voila sur le jeu...

ASTUCE: Avec alt+f2 vous pouvez ouvrir n'importe quel programme sur de nombreux environnements, par exemple sous KDE je fais alt+f2 et je tappe "konsole" ainsi j'accède facilement à mon terminal.
Liste des terminaux souvent utilisés: xterm; gnome-terminal; konsole et yakuake.


Use mtp-target with standard actions:

  • Download, uncompress the archive of the game.
  • Find the folder of the file "start-mtp-target" and remember it, for example for me:
    ~/Jeux/mtp-target
    INDICATION: "~" mean your home, for example for me, it mean "/home/anthony".
  • Open a terminal and use the "cd" command and put the path of the folder of the file "start-mtp-target", for example for me:
    cd ~/Jeux/mtp-target
    INDICATION: You can use the tabs, for exemple is you write ~/J (and you have just one folder who have a "J" in your home) and you push tab, you can see ~/Jeux/ directly.
  • After this, put this command:
    bash start-mtp-target
  • You're on the game...

TIP: With alt+f4 you can open a program in many desktop environments, for example on KDE i use alt+f2 and I write "konsole" to open the terminal.
List of the terminals that I know: xterm; gnome-terminal; konsole and yakuake.



Images:
Image 1
Image 2




Utiliser mtp-target sous GNU/Linux et KDE:

    (Veuillez utiliser Konqueror en gestionnaire de fichiers)
  • Téléchargez l'archive du jeu sur le site.
  • Décompressez l'archive à l'aide de Ark (clic droit décompresser ici).
  • Allez ensuite dans le dossier du jeu contenant start-mtp-target comme ici à l'aide de Konqueror.
  • Appuyez sur f4, un terminal apparaîtra (surement dans une nouvelle fenêtre, ici c'est dans Konqueror)
  • Tappez la commande:
    bash start-mtp-target
  • Vous voila sur le jeu...

Use mtp-target on GNU/Linux and KDE:

    (Please, Use Konqueror in file manager...)
  • Download the game archive on the mtp-target website.
  • Uncompress the game with Ark (right clic dans select that you want uncompress here).
  • Go on the folder of start-mtp-target file like this picture with Konqueror.
  • Push F4, this command open a terminal like in this picture but it's possible you view a new window.
  • Write this command in the terminal:
    bash start-mtp-target
  • You are in the game...


Images:
Image 1
Image 2




Créer un icone ou lanceur standard/ Create an icon or launcher standard

Contenu du lanceur/Content launcher:

Code: Select all
#!/usr/bin/env xdg-open
[Desktop Entry]
Comment=
Exec=bash start-mtp-target
GenericName=Jeu de visée de cibles en 3D
Icon={icon}
Name=Mtp-Target
NoDisplay=false
Path[$e]=$HOME/{folder}
StartupNotify=true
Terminal=0
TerminalOptions=
Type=Application
X-KDE-SubstituteUID=false
X-KDE-Username=


Créer un lanceur (testé sous KDE 4)

  • Vous avez préalablement téléchargé et décompressé l'archive du jeu.
  • Ouvrez un éditeur de texte et collez le "Contenu du lanceur".
  • Modifiez ce lanceur avec les informations vous concernant:
    {icon} : L'icône du lanceur, si nous n'en avez pas ne mettez rien (supprimez {icon})
    {folder}: Le chemin du dossier contenant "start-mtp-target".
    NOTE: "$HOME" désigne le chemin de votre dossier personnel.
  • Enregistrez sous le nom de "Mtp-Target.desktop" sur votre bureau par exemple

Create a launcher (i have created it on KDE 4)

  • You should have the game in your PC.
  • Open a text editor and paste the "Content launcher".
  • Edit this launcher with your informations:
    {icon} : The picture of the launcher, if you don't have a picture, delete the text "{icon}"
    {folder}: The path of the folder of the file "start-mtp-target".
    INDICATION: "$HOME" mean the path of your home.
  • Save with the name "Mtp-Target.desktop" on your desktop for exemple.

Images:
Image 1
Image 2
User avatar
[GNU]Soel
 
Posts: 57
Joined: Sat Mar 01, 2008 12:23 pm
Location: Alpes Française
Score: 8686820
Played Games: 33696
Full Version: 1

Return to How To

Who is online

Users browsing this forum: No registered users and 1 guest