Clipboards problems with rdesktop
Brought to you by:
perseo22
I have problems to copy/paste. Many times I have to copy twice for it work from the TS session, like copy, minimize, maximize,copy and then paste somewhere.
By the way, I think PAC should allow custom options for rdesktop just like it has for ssh. So I could try to use '-r clipboard:[off|PRIMARYCLIPBOARD|CLIPBOARD]': enable clipboard.
Hello!
There's not much I can do about rdp clipboard problems... in the end, PAC acts jut as a front-end for the rdpclient executable.
Anyway, I think it would be a nice idea to add some more options to it! SO, I'll do it! :)
Thanks a lot for trying PAC!
- David.
Didn't see any option for this. As a quick fix, you can prepend the arguments to enable clipboard to the rdesktop pm file.
edit /YOUR_PAC_INSTALL/lib/method/PACMethod_rdesktop.pm:
change the $txt variable in _parseOptionsToCfg from
my $txt = '';
to
my $txt = '-5 -K -r clipboard:CLIPBOARD';
In my case changing the $txt variable in _parseOptionsToCfg did not help.
Adding . " -r clipboard:CLIPBOARD" at the end of $connection_cmd and $connection_txt after the line
} elsif ( $METHOD eq 'rdesktop' ) {
helped (in file /opt/pac/lib/pac_conn).