Thanks Mads, but I solved the question with this code on wiki of Freerdp:

/opt/freerdp/bin/xfreerdp --plugin rdpdr --data disk:usb:/media/ --
192.168.1.13


[]'s
Renato


2011/1/13 Mads Kiilerich <m...@kiilerich.com>

> Renato Rudnicki wrote, On 01/13/2011 12:51 PM:
>
>  Hey Guys !!!
>>
>> I had a custom Linux with an older version of Freerdp and I added a code
>> in / trunk / libfreerdp / xkbkeymap.c with this code:
>>
>>
>>        case VK_F10:
>>            if (flags == 0xC000)
>>            system("/usr/bin/sudo /scripts/usb_mount.sh");
>>            printf("usb_mount OK \n");
>>            break;
>>        case VK_F4:
>>            if (flags == 0xC000)
>>            system("/usr/bin/sudo /scripts/usb_umount.sh");
>>            printf("usb_umount OK \n");
>>            break;
>>
>>
>> So when I used F10 for example, he called my usb_mount.sh script. Now I
>> need to do the same thing about the code of Freerdp 0.8.2, but the structure
>> of Freerdp changed, so I do not know how to do it.
>> Can anyone help me and tell me which file I can put the above code to
>> rerun my usb_mount.sh when I press F10?
>>
>
> See http://thread.gmane.org/gmane.network.freerdp.devel/83/focus=84 and
> http://thread.gmane.org/gmane.network.freerdp.devel/83/focus=91
>
> /Mads
>
------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Freerdp-devel mailing list
Freerdp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freerdp-devel

Reply via email to