LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 02-15-2013, 04:35 AM   #1
Scarmage
LQ Newbie
 
Registered: Jan 2013
Distribution: RHEL 6.3
Posts: 6

Rep: Reputation: Disabled
Additional keyboard shortcuts for Copy, Paste etc.


Hi, my first post here.

Just starting to get familiar with RHEL 6.3. Is there any way to add custom keyboard shortcuts for basic system functions like Copy and Paste?

Specifically, I'd like to use Ctrl+J to copy and Ctrl+K to paste. And I need to use these shortcuts across all applications.

In the 'Control Center', I have the option to create new shortcuts, but I don't know what command to use for copy and paste.
 
Old 02-15-2013, 05:00 AM   #2
shivaa
Senior Member
 
Registered: Jul 2012
Location: Grenoble, Fr.
Distribution: Sun Solaris, RHEL, Ubuntu, Debian 6.0
Posts: 1,800
Blog Entries: 4

Rep: Reputation: 286Reputation: 286Reputation: 286
Best one are:

CTRL+INSERT .......... To copy
SHIFT+INSERT .......... To paste

These shortcuts will work everywhere, in CLI as well as GUI. (Even in Windows based machine they work fine),
 
Old 02-15-2013, 05:13 AM   #3
Scarmage
LQ Newbie
 
Registered: Jan 2013
Distribution: RHEL 6.3
Posts: 6

Original Poster
Rep: Reputation: Disabled
Nah, I have to type a lot, and those shortcuts are not convenient. I prefer Ctrl+J and Ctrl+K for copy and paste, respectively. How can I do that?
 
Old 02-15-2013, 07:06 AM   #4
Mr. Alex
Senior Member
 
Registered: May 2010
Distribution: No more Linux. Done with it.
Posts: 1,238

Rep: Reputation: Disabled
Ctrl+X
Ctrl+C
Ctrl+V
 
Old 02-15-2013, 07:13 AM   #5
Scarmage
LQ Newbie
 
Registered: Jan 2013
Distribution: RHEL 6.3
Posts: 6

Original Poster
Rep: Reputation: Disabled
@Mr. Alex

I already know about those, I want to add the other keyboard shortcuts.
 
Old 02-15-2013, 08:22 AM   #6
shivaa
Senior Member
 
Registered: Jul 2012
Location: Grenoble, Fr.
Distribution: Sun Solaris, RHEL, Ubuntu, Debian 6.0
Posts: 1,800
Blog Entries: 4

Rep: Reputation: 286Reputation: 286Reputation: 286
Well, if you only want to use CTRL+J and CTRL+K, then define custom ones. you can follow this.

But I don't understand, how CTRL+J & K, could be more convinient than CTRL & SHIFT+INSERT... Anyway it's a matter of choice.

Have good luck!
 
Old 02-15-2013, 09:20 AM   #7
Scarmage
LQ Newbie
 
Registered: Jan 2013
Distribution: RHEL 6.3
Posts: 6

Original Poster
Rep: Reputation: Disabled
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?
 
Old 02-15-2013, 10:01 AM   #8
shivaa
Senior Member
 
Registered: Jul 2012
Location: Grenoble, Fr.
Distribution: Sun Solaris, RHEL, Ubuntu, Debian 6.0
Posts: 1,800
Blog Entries: 4

Rep: Reputation: 286Reputation: 286Reputation: 286
Which gnmore version you've?

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.

Last edited by shivaa; 02-15-2013 at 10:03 AM.
 
Old 02-15-2013, 10:27 AM   #9
Scarmage
LQ Newbie
 
Registered: Jan 2013
Distribution: RHEL 6.3
Posts: 6

Original Poster
Rep: Reputation: Disabled
I have Gnome 2.28.2

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.
 
Old 02-15-2013, 11:16 AM   #10
shivaa
Senior Member
 
Registered: Jul 2012
Location: Grenoble, Fr.
Distribution: Sun Solaris, RHEL, Ubuntu, Debian 6.0
Posts: 1,800
Blog Entries: 4

Rep: Reputation: 286Reputation: 286Reputation: 286
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.

Last edited by shivaa; 02-15-2013 at 11:19 AM.
 
Old 02-15-2013, 11:33 AM   #11
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Debian
Posts: 6,142

Rep: Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314
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.
 
Old 02-15-2013, 11:40 AM   #12
shivaa
Senior Member
 
Registered: Jul 2012
Location: Grenoble, Fr.
Distribution: Sun Solaris, RHEL, Ubuntu, Debian 6.0
Posts: 1,800
Blog Entries: 4

Rep: Reputation: 286Reputation: 286Reputation: 286
Quote:
Originally Posted by DavidMcCann View Post
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.
 
Old 02-16-2013, 10:31 AM   #13
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Debian
Posts: 6,142

Rep: Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314
@ shivaa

Not on this computer. I do check before posting!
 
Old 02-17-2013, 07:42 PM   #14
Scarmage
LQ Newbie
 
Registered: Jan 2013
Distribution: RHEL 6.3
Posts: 6

Original Poster
Rep: Reputation: Disabled
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).
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Is there terminal program that supports copy&paste with keyboard (read for specifics) robsku Linux - Desktop 1 08-18-2009 02:11 AM
KDE Keyboard Shortcuts with different Keyboard Layout hellblade Linux - Software 5 04-18-2006 12:40 AM
copy/paste/cut keyboard shortcuts stimpsonjcat Linux - Newbie 4 05-23-2005 06:49 PM
how to copy and paste acd copy cd paschim Linux - General 2 04-05-2004 09:25 AM
copy&paste with keyboard? doublefailure Linux - General 5 03-31-2002 03:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:22 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration