Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have Lubuntu 12.10 installed on my macbook pro and I am new to linux. I want to change the Lubuntu keyboard shortcuts for copying and pasting. I want to change Ctrl+C to Cmd+C and to change Ctrl+V to Cmd+V. I want this to work on all applications like the lxterminal, web browser, text-editor, etc.

share|improve this question
    
Try this: press alt+F2, and then type lxkeymap. Choose your country from the left column and then English (Macintosh) from the right column and then click Apply and close the window. Log out and log back in and see what happens. But please keep a note of the original settings in case you need to revert. I don't use a Mac myself and therefore cannot guarantee that this suggestion will do what you want. –  user25656 Feb 5 '13 at 6:40
add comment

1 Answer

Try finding the ~/.config/openbox/lubuntu-rc.xml document. Make a backup, just in case, then edit the file. It is fairly straight forward - you should be able to edit the individual command button functions, as they come with identifiers in the text above. You can map any action to a key, or combination of keys.

For an example of how to adjust the code, for a similar function, see this post:

Bind the windows key to Lubuntu start menu

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.