LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   To disable cut, copy, paste options in the Edit menu. (https://www.linuxquestions.org/questions/linux-newbie-8/to-disable-cut-copy-paste-options-in-the-edit-menu-878561/)

Aswathy 05-03-2011 09:23 AM

To disable cut, copy, paste options in the Edit menu.
 
I am using Ubuntu 10.04. I want to disable the cut, copy, paste options in the Edit menu when my system is connected by rdesktop. I want to make a write/copy protected session in the rdesktop. I have disabled the keybord shortcuts like Ctrl+X ,Ctrl+V, Ctrl+C by disabling their Keysyms in the rdesktop code. Now I need to disable the options in the edit menu.

John VV 05-04-2011 03:35 AM

I just have to ask
Why ???

MTK358 05-04-2011 07:46 AM

Quote:

Originally Posted by Aswathy (Post 4345102)
I am using Ubuntu 10.04. I want to disable the cut, copy, paste options in the Edit menu when my system is connected by rdesktop. I want to make a write/copy protected session in the rdesktop. I have disabled the keybord shortcuts like Ctrl+X ,Ctrl+V, Ctrl+C by disabling their Keysyms in the rdesktop code. Now I need to disable the options in the edit menu.

If you mean in the "Edit" menu of applications, then this is impossible.

They're hard-coded into the applications, so there's no external way to customize them (although there might be a few exceptions).

Aswathy 05-05-2011 02:09 AM

Thank you,
Is there any way to mask the events generated by those options. That is when my system is connected to another via rdesktop, rdesktop sends all the events generated in the client to the server software(Xrdp). The server do all the operations corresponding to the event and send the result back to the rdesktop. Is there any way of detecting the events generated by cut, copy options in the Edit menu and prevent the sending of those events to the server software(Xrdp).
Actually my aim is to setup a write/copy protected session in Rdesktop, for that I need to disable all cut, copy, paste option in the client system when it is connected to the rdesktop.


All times are GMT -5. The time now is 06:17 PM.