Additional keyboard shortcuts for Copy, Paste etc.
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'd already checked out gconf-editor, and I couldn't find copy and paste over there.
If you know for a fact that the option is there, could you tell me exactly where it is in the menu?
From system menu, go to System > Preferences > Keyboard Shortcuts, there you can define custom keyboard shortcut(s). If you have any problem, you can click on Help (at bootom of same windows) to read more on how to add shortcut.
I know how to add a shortcut, the problem is I don't know what's the command for 'Copy' and 'Paste'. Once I know what is the command for it, I can create the shortcut and assign a keyboard shortcut to it.
Note that, whatever shortcut you will create, will fall under Custom shortcuts catagory. You cannot create a shortcut for an already existing command. You're going to create a Custom one, so don't ask that I don't know the command. There will be no command(s), but only combination of some keys.
Anyway, go under Keyboard Shortcuts option, click on Add, and a new box will open.
In that box, you will find two options - Name and Command. So add it like,
Quote:
For copy, Name: Mycopy; Command: Ctrl+j
For paste, Name: Mypaste; Command: Ctrl+k
Then under the list of already existing shortcuts, you will see a catagory of Custom shortcuts. And under that you will your Mycopy and Mypaste shortcuts.
You may be able to alter things in a terminal or terminal emulator, but what about applications? For example, Ctrl+Insert works in OpenOffice, but not Shift+Insert; neither works in Gedit.
You may be able to alter things in a terminal or terminal emulator, but what about applications? For example, Ctrl+Insert works in OpenOffice, but not Shift+Insert; neither works in Gedit.
@David:
CTRL+INSERT (Copy)
And
SHIFT+INSERT (Paste)
Both works fine in OpenOffice as well as gedit.
If I use Name: Mycopy, Command: Ctrl+j, it doesn't work.
Ctrl+J is not the command, it's the keyboard shortcut.
Command is what Ctrl+J needs to perform
If that 'command' was already in the list, I could've edited it, since it's not, I need to add it.
So I need to know the command that the keyboard shortcut is going to perform (in this case: copy).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.