Bonsoir,
Je viens d'installer tcplay (créer, lire, modifier des fichiers TrueCrypt).
Dans /usr/bin existe bien un fichier tcplay, mais comment lancer tcplay et créer un lanceur dans la barre d'activités?
Merci de votre aide
Cordialement
Renyeu
Dans quel environnement de bureau ?
Bonjour,
Fedora 18 Gnome...
Merci de ton aide
Cdlt
Renyeu
Ah navré, pour Gnome je ne peux pas t'aider, mais ici les bonnes volontés ne manquent pas 🙂
Salut dans gnome pour creer un lanceur, tu peux :

soit dans
/usr/share/applications
creer un fichier du type tcplay.desktop

ce fichier devra contenir des infos du type

[Desktop Entry]
Encoding=UTF-8
Name=tcplay
GenericName=tcplay
Comment=" ce à quoi sert le fichier"
Exec=/usr/bin/tcplay  ( localisation de l'executable)
Icon=/chemin/icon/programm/tcplay.png ( remplacer par le chemin de l'icon du prog)
Terminal=false ( remplacer par true si l'appli doit être lancée depuis un terminal)
Type=Application
Categories=Graphics;Science;Education ( à choisir ou completer)
puis ensuite , une fois ce fichier edité et enregistré,
alt+F2
r
pour relancer gnome-shell et prendre en compte les changements
normalement ton appli tcplay est dans le menu de gnome-shell dans la section que tu auras choisi.

soit

le même fichier dans
/usr/local/share/applications
soit dans
 .local/share/applications
Merci.
J'essaie de faire la manip demain et je te tiens au courant du résultat.
Cdlt
Renyeu
ca marche avec le fichier .desktop dans le dossier /home/xxx/.local/share/applications
p
Bonjour,
J'avance lentement n'étant pas "un foudre de guerre de la console" :roll:
J'ai crée le fichier tcplay.desktop dans usr/share/applications. Pour l'instant, je n'y ai rien écrit.
J'ai voulu savoir ce qu'était les fichiers tcplay, tcptraceroute et traceroute via le terminal, voilà le retour:
[renyeu2@localhost ~]$ cd /usr/bin/
[renyeu2@localhost bin]$ sudo tcptraceroute 
[sudo] password for renyeu2: 
Usage: /bin/tcptraceroute [-hvnFSAE] [-i dev] [-f furst_ttl] [-l length]
	[-q nqueries] [-t tos] [-m max_ttl] [-p src_port] [-s src_addr]
	[-w wait_time]  host  [dest_port]  [length]
[renyeu2@localhost bin]$ sudo traceroute
Usage:
  traceroute [ -46dFITnreAUDV ] [ -f first_ttl ] [ -g gate,... ] [ -i device ] [ -m max_ttl ] [ -N squeries ] [ -p port ] [ -t tos ] [ -l flow_label ] [ -w waittime ] [ -q nqueries ] [ -s src_addr ] [ -z sendwait ] [ --fwmark=num ] host [ packetlen ]
Options:
  -4                          Use IPv4
  -6                          Use IPv6
  -d  --debug                 Enable socket level debugging
  -F  --dont-fragment         Do not fragment packets
  -f first_ttl  --first=first_ttl
                              Start from the first_ttl hop (instead from 1)
  -g gate,...  --gateway=gate,...
                              Route packets through the specified gateway
                              (maximum 8 for IPv4 and 127 for IPv6)
  -I  --icmp                  Use ICMP ECHO for tracerouting
  -T  --tcp                   Use TCP SYN for tracerouting (default port is 80)
  -i device  --interface=device
                              Specify a network interface to operate with
  -m max_ttl  --max-hops=max_ttl
                              Set the max number of hops (max TTL to be
                              reached). Default is 30
  -N squeries  --sim-queries=squeries
                              Set the number of probes to be tried
                              simultaneously (default is 16)
  -n                          Do not resolve IP addresses to their domain names
  -p port  --port=port        Set the destination port to use. It is either
                              initial udp port value for "default" method
                              (incremented by each probe, default is 33434), or
                              initial seq for "icmp" (incremented as well,
                              default from 1), or some constant destination
                              port for other methods (with default of 80 for
                              "tcp", 53 for "udp", etc.)
  -t tos  --tos=tos           Set the TOS (IPv4 type of service) or TC (IPv6
                              traffic class) value for outgoing packets
  -l flow_label  --flowlabel=flow_label
                              Use specified flow_label for IPv6 packets
  -w waittime  --wait=waittime
                              Set the number of seconds to wait for response to
                              a probe (default is 5.0). Non-integer (float
                              point) values allowed too
  -q nqueries  --queries=nqueries
                              Set the number of probes per each hop. Default is
                              3
  -r                          Bypass the normal routing and send directly to a
                              host on an attached network
  -s src_addr  --source=src_addr
                              Use source src_addr for outgoing packets
  -z sendwait  --sendwait=sendwait
                              Minimal time interval between probes (default 0).
                              If the value is more than 10, then it specifies a
                              number in milliseconds, else it is a number of
                              seconds (float point values allowed too)
  -e  --extensions            Show ICMP extensions (if present), including MPLS
  -A  --as-path-lookups       Perform AS path lookups in routing registries and
                              print results directly after the corresponding
                              addresses
  -M name  --module=name      Use specified module (either builtin or external)
                              for traceroute operations. Most methods have
                              their shortcuts (`-I' means `-M icmp' etc.)
  -O OPTS,...  --options=OPTS,...
                              Use module-specific option OPTS for the
                              traceroute module. Several OPTS allowed,
                              separated by comma. If OPTS is "help", print info
                              about available options
  --sport=num                 Use source port num for outgoing packets. Implies
                              `-N 1'
  --fwmark=num                Set firewall mark for outgoing packets
  -U  --udp                   Use UDP to particular port for tracerouting
                              (instead of increasing the port per each probe),
                              default port is 53
  -UL                         Use UDPLITE for tracerouting (default dest port
                              is 53)
  -D  --dccp                  Use DCCP Request for tracerouting (default port
                              is 33434)
  -P prot  --protocol=prot    Use raw packet of protocol prot for tracerouting
  --mtu                       Discover MTU along the path being traced. Implies
                              `-F -N 1'
  --back                      Guess the number of hops in the backward path and
                              print if it differs
  -V  --version               Print version info and exit
  --help                      Read this help and exit

Arguments:
+     host          The host to traceroute to
      packetlen     The full packet length (default is the length of an IP
                    header plus 40). Can be ignored or increased to a minimal
                    allowed value
[renyeu2@localhost bin]$ sudo tcplay 
usage: tcplay -c -d device [-g] [-z] [-a pbkdb_hash] [-b cipher]
              [-f keyfile_hidden] [-k keyfile] [-x pbkdf_hash] [-y cipher]
       tcplay -i -d device [-e] [-f keyfile_hidden] [-k keyfile]
              [-s system_devcie]
       tcplay -m mapping -d device [-e] [-f keyfile_hidden] [-k keyfile]
              [-s system_device]
       tcplay -h | -v

Valid commands are:
 -c, --create
	 Creates a new TC volume on the device specified by -d or --device.
 -h, --help
	 Print help message and exit.
 -i, --info
	 Gives information about the TC volume specified by -d or --device.
 -m <mapping name>, --map=<mapping name>
	 Creates a dm-crypt mapping with the given name for the device
	 specified by -d or --device.
 -v, --version
	 Print version message and exit.

Valid options for --create are:
 -a <pbkdf prf algorithm>, --pbkdf-prf=<pbkdf prf algorithm>
	 Specifies which hashing function to use for the PBKDF password
	 derivation when creating a new volume.
	 To see valid options, specify '-a help'.
 -b <cipher>, --cipher=<cipher>
	 Specifies which cipher to use when creating a new TC volume.
	 To see valid options, specify '-b help'.
 -g, --hidden
	 Specifies that the newly created volume will contain a hidden volume.
 -x <pbkdf prf algorithm>, --pbkdf-prf=<pbkdf prf algorithm>
	 Specifies which hashing function to use for the PBKDF password
	 derivation when creating a new hidden volume.  By default, the
	 same as for the outer volume will be used.
	 To see valid options, specify '-x help'.
 -y <cipher>, --cipher=<cipher>
	 Specifies which cipher to use when creating a new hidden volume.
	 By default, the same as for the outer volume will be used.
	 To see valid options, specify '-y help'.
 -z, --insecure-erase
	 Skips the erase of the disk. Possible security hazard.

Valid options for --info and --map are:
 -e, --protect-hidden
	 Protect a hidden volume when mounting the outer volume.
 -s <disk path>, --system-encryption=<disk path>
	 Specifies that the disk (e.g. /dev/da0) is using system encryption.

Valid options common to all commands are:
 -d <device path>, --device=<device path>
	 Specifies the path to the volume to operate on (e.g. /dev/da0s1).
 -f <key file>, --keyfile-hidden=<key file>
	 Specifies a key file to use for the hidden volume password derivation.
	 This option is only valid in combination with -e, --protect-hidden
	 or -g, --hidden.
 -k <key file>, --keyfile=<key file>
	 Specifies a key file to use for the password derivation, can appear
	 multiple times.
[renyeu2@localhost bin]$ 
Pour pouvoir écrire tcplay.desktop, il faudrait que la cible de mon lanceur soit identifiée: tcplay, tcptraceroute, traceroute ou autre... :-?
Pour y lier une icône: ou se trouve-t-elle?
J'ai un doute: tcplay tourne-t-il uniquement sur un terminal (ligne de commande) ou une interface graphique 😐
Le mystère s'épaissit...Quel challenge! Merci de votre aide.
Cdlt
Renyeu