[Ubuntu-QC] le presse-papier et xfreerdp

Steve Nadeau stevenado at gmail.com
Jeu 15 Mai 16:16:39 UTC 2014


Salut Frédéric!

Je suis avec la version XFREERDP 1.0.1 qui est incluse avec Ubuntu
12.04, celle du PPA est la version 1.1, il y a eu un changement de
façon d'écrire les paramètres dont le +CLIPBOARD mais ça ne fonctionne
pas dans la 1.0.1.



mais voilà que j'ai inversé des paramètres dans ma commande pour le
terminal Windows et maintenant tout fonctionne comme par magie, crime,
ça fait un mois que je fouille pour arriver à faire marcher tout ça...

voici la commande fonctionnelle avec le presse-papiers, les
imprimantes et les lecteurs partagés:

bash -c 'xfreerdp --plugin cliprdr -a 32 -d domaine_windows -u $USER
-p $(zenity --password --title Windows) -g $((bc <<<$(xdpyinfo | grep
dimensions | cut -f 2 -d ":"|cut -f 1 -d "x")"*.96")|cut -f 1 -d
".")x$((bc <<<$(xdpyinfo | grep dimensions | cut -f 2 -d ":"|cut -f 2
-d "x"|cut -f 1 -d " ")"*.95")|cut -f 1 -d ".") -z
--ignore-certificate --plugin rdpdr --data printer --data
disk:USB:"/media" disk:Local:"$HOME" -- -x 80 --disable-wallpaper
serveur_windows:3389'

il me reste à faire fonctionner ça avec les applications Outlook et
autres de façon indépendante.

encore merci, pour ton aide et en espérant que cela puisse servir à d'autres!

Steve

-----------------------------------
www.equipeautonomiste.ca
https://twitter.com/Autonomistes
http://www.linkedin.com/company/3225935
facebook.com/groups/equipeautonomiste


Le 15 mai 2014 11:55, Frédéric Côté <frederick.cote at gmail.com> a écrit :
> Pourtant, sur le page de FreeRDP, il n'y a plus cette mention:
> https://github.com/FreeRDP/FreeRDP/wiki/Plugins
>
> De la façon dont ils en parlent sur le site de FreeRDP que tu as inclue, je
> comprend que l'ancienne façon (--plugin cliprdr) ne fonctionnait pas avec
> Windows. Mais la nouvelle façon semble ne plus avoir cette limitation
> (+clipboard).
>
> Avec cette information, ta commande deviendrait:
> Pour Outlook:
> bash -c 'xfreerdp +clipboard --app --plugin rail --data
> "||outlook" -- -a 32 -d domaine_windows -u $USER -p $(zenity
> --password --title Outlook) --plugin rdpsnd -g workarea -z
> --ignore-certificate --plugin rdpdr --data printer --data
> disk:USB:"/media" disk:Local:"$HOME" -- --plugin drdynvc --data tsmf
> -- nom_du_serveur:3389'
>
> Pour Windows:
> bash -c 'xfreerdp -d domaine_windows -u $USER -p $(zenity --password
> --title Terminal) +clipboard --data printer --data
> disk:USB:"/media" disk:Local:"$HOME" -- --plugin cliprdr
> --ignore-certificate -g $((bc <<<$(xdpyinfo | grep dimensions | cut -f
> 2 -d ":"|cut -f 1 -d "x")"*.96")|cut -f 1 -d ".")x$((bc <<<$(xdpyinfo
> | grep dimensions | cut -f 2 -d ":"|cut -f 2 -d "x"|cut -f 1 -d "
> ")"*.95")|cut -f 1 -d ".") -z --disable-wallpaper nom_du_serveur:3389'
>
>
>
>
> 2014-05-15 11:23 GMT-04:00 Steve Nadeau <stevenado at gmail.com>:
>
>> Merci Frédéric pour ta réponse rapide!
>>
>> mais non, la commande est correcte pour la version XFREERDP 1.0.1
>>
>> extrait de: https://github.com/FreeRDP/FreeRDP/wiki/CommandLineInterface
>>
>> Old style options
>>
>> Plugins
>>
>> Option handling was very counter intuitive. The general syntax was
>> --plugin <pluginname> [ --data <plugindata> -- ]
>>
>> -- plugin cliprdr : Synchronize client and server clipboard data.
>> Plain text, Unicode text, HTML content and images are supported on UX
>> platforms. For xfreerdp on Mac, only text works due to the interaction
>> between X Server and the Mac. For windows, cliprdr does not work.
>>
>> -------------------
>>
>> mais là je viens de lire de quoi que je n'avais pas porté attention:
>> For windows, cliprdr does not work.
>>
>> donc, je crois que de là vient le problème...
>>
>> mais bon, pas de clipboard, pas vraiment intéressant pour travailler...
>>
>> merci encore,
>>
>> Steve
>>
>> -----------------------------------
>> www.equipeautonomiste.ca
>> https://twitter.com/Autonomistes
>> http://www.linkedin.com/company/3225935
>> facebook.com/groups/equipeautonomiste
>>
>>
>> Le 15 mai 2014 11:09, Frédéric Côté <frederick.cote at gmail.com> a écrit :
>> > Dans ta commande pour Outlook, il y a une erreur, "--plugin cliprdr"
>> > devrait
>> > être là au lieu de "--plugin clipboard".
>> >
>> > Il semble y avoir eu quelques soucis avec le clipboard depuis quelques
>> > temps, voici un des bug report:
>> > https://bugs.launchpad.net/ubuntu/+source/remmina/+bug/937522
>> >
>> > Personnellement, j'utilise remmina et il ne m'a jamais posé de problème.
>> > Par
>> > contre, je n'utilise pas le clipboard donc je n'ai pas constaté si ça
>> > fonctionne ou non. Et comme je n'ai pas de Windows sous la main je ne
>> > peux
>> > pas tester :)
>> >
>> > Bonne journée,
>> > Frédéric
>> >
>> >
>> >
>> > 2014-05-15 10:54 GMT-04:00 Steve Nadeau <stevenado at gmail.com>:
>> >>
>> >> Bonjour à tous!
>> >>
>> >> est-ce qu'il y en a parmi vous qui doivent utiliser un terminal
>> >> Windows avec Ubuntu?
>> >>
>> >> si oui, utilisez-vous xfreerdp plutôt que remmina?
>> >>
>> >> si c'est le cas, êtes vous en mesure de faire un copier/coller entre
>> >> Ubuntu et Windows?
>> >>
>> >> de mon côté, j'ai beau tout essayer, impossible, rien ne marche.
>> >>
>> >> Il s'agit de mon poste de bureau.
>> >>
>> >> je suis sous Ubuntu 12.04 avec xfreerdp qui est fourni dans la
>> >> logithèque de base, pas le PPA.
>> >>
>> >> la ligne de commande est la suivante :
>> >>
>> >> pour l'accès à l'application Outlook:
>> >>
>> >> bash -c 'xfreerdp --plugin clipboard --app --plugin rail --data
>> >> "||outlook" -- -a 32 -d domaine_windows -u $USER -p $(zenity
>> >> --password --title Outlook) --plugin rdpsnd -g workarea -z
>> >> --ignore-certificate --plugin rdpdr --data printer --data
>> >> disk:USB:"/media" disk:Local:"$HOME" -- --plugin drdynvc --data tsmf
>> >> -- nom_du_serveur:3389'
>> >>
>> >> Pour l'accès à Windows:
>> >>
>> >> bash -c 'xfreerdp -d domaine_windows -u $USER -p $(zenity --password
>> >> --title Terminal) --plugin rdpdr --data printer --data
>> >> disk:USB:"/media" disk:Local:"$HOME" -- --plugin cliprdr
>> >> --ignore-certificate -g $((bc <<<$(xdpyinfo | grep dimensions | cut -f
>> >> 2 -d ":"|cut -f 1 -d "x")"*.96")|cut -f 1 -d ".")x$((bc <<<$(xdpyinfo
>> >> | grep dimensions | cut -f 2 -d ":"|cut -f 2 -d "x"|cut -f 1 -d "
>> >> ")"*.95")|cut -f 1 -d ".") -z --disable-wallpaper nom_du_serveur:3389'
>> >>
>> >>
>> >> uname -a
>> >> Linux POSTEUB1 3.5.0-49-generic #73~precise1-Ubuntu SMP Wed Apr 2
>> >> 18:35:12 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
>> >>
>> >> xfreerdp --version
>> >> This is FreeRDP version 1.0.1
>> >>
>> >> Ubuntu Version 12.04 (precise) 64 bits
>> >> Noyau Linux 3.5.0-49-generic
>> >> Mémoire : 3,7 Gio
>> >> CPU: Intel(R) Core(tm) i5-3470 CPU @ 3.20GHz × 4
>> >> GNOME 3.4.2
>> >>
>> >> --
>> >> Ubuntu-quebec mailing list
>> >> Ubuntu-quebec at lists.ubuntu.com
>> >> https://lists.ubuntu.com/mailman/listinfo/ubuntu-quebec
>> >
>> >
>> >
>> >
>> > --
>> > "In a world without walls, who really needs Windows"
>> > "Nothing is foolproof because fools are so ingenious"
>> >
>> > --
>> > Ubuntu-quebec mailing list
>> > Ubuntu-quebec at lists.ubuntu.com
>> > https://lists.ubuntu.com/mailman/listinfo/ubuntu-quebec
>> >
>>
>> --
>> Ubuntu-quebec mailing list
>> Ubuntu-quebec at lists.ubuntu.com
>> https://lists.ubuntu.com/mailman/listinfo/ubuntu-quebec
>
>
>
>
> --
> "In a world without walls, who really needs Windows"
> "Nothing is foolproof because fools are so ingenious"
>
> --
> Ubuntu-quebec mailing list
> Ubuntu-quebec at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-quebec
>



More information about the Ubuntu-quebec mailing list