LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 05-31-2013, 07:52 PM   #1
el_gallo_azul
LQ Newbie
 
Registered: Jul 2009
Location: Darwin, Australia
Distribution: Ubuntu 12.04
Posts: 16

Rep: Reputation: 0
Question Without selecting other text to copy, I want to be able to paste specific text


I need to be able to paste specified text (eg. using ctrl-V, to web form fields), without having selected that text somewhere else and copied it beforehand.

For example, every web form known to man requires you to enter your email address. My hands don't work very well, so I would like to find a way NOT to have to type it all the time.

To me, it sounds like a job for the terminal (and in my case, Cuttlefish), or possibly assigning a keyboard shortcut to pasting specific text.

At the moment, there are only two items of text for which this would be useful to me, but it would be EXTREMELY useful.

PS: I don't know whether 'copy' sends selected text to the clipboard, one of the clipboards (if there are more than one), or somewhere else.
 
Old 05-31-2013, 08:34 PM   #2
Habitual
LQ Addict
 
Registered: Jan 2011
Posts: 8,248
Blog Entries: 11

Rep: Reputation: 2287Reputation: 2287Reputation: 2287Reputation: 2287Reputation: 2287Reputation: 2287Reputation: 2287Reputation: 2287Reputation: 2287Reputation: 2287Reputation: 2287
Quote:
Originally Posted by el_gallo_azul View Post
For example, every web form known to man requires you to enter your email address. My hands don't work very well, so I would like to find a way NOT to have to type it all the time.
LastPass!

Formfill screenie
Fill it once in lastpass, and forget it until you need it.

for shorter texts and what not, get a clipboard manager, I use ClipIt

Last edited by Habitual; 05-31-2013 at 08:36 PM.
 
Old 05-31-2013, 11:46 PM   #3
el_gallo_azul
LQ Newbie
 
Registered: Jul 2009
Location: Darwin, Australia
Distribution: Ubuntu 12.04
Posts: 16

Original Poster
Rep: Reputation: 0
Thanks for the reply.

I have LastPass, and use Fill Forms. But if, for example, I only want to fill in my email address, I need to enter my LastPass password in order to use the Fill Forms function. My LastPass password is not the most secure password in the world, but secure enough. In any case, entering my password is as difficult as typing my email address. I am after a one- or two-click process to get, for example, my email address into a field.

I did a search this morning, and found a number of clipboard manager applications, but rather than install another application I have a strong hunch that the functionality already exists in Linux.
 
Old 06-01-2013, 12:11 AM   #4
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,464

Rep: Reputation: Disabled
Why not set up a custom keyboard shortcut?
Quote:
After pressing Alt+Ctrl+H the input of 'Hello' will be simulated, as if you typed it. This is especially useful if you have call to frequently type a word (for instance, 'unsigned'). Every keypress in the input is separated by a colon ':' . Note that the keypresses literally mean keypresses, so you have to write what you would press on the keyboard. In the table below, the left column shows the input and the right column shows what to type.

"enter" (i.e. new line) Enter or Return
a (i.e. small a) A
A (i.e. capital a) Shift+A
: (colon) Shift+;
' ' (space) Space
This is from KDE's system settings: custom shortcuts but I'm sure you can find the equivalent on your system.
ciao,
jdk

Last edited by jdkaye; 06-01-2013 at 12:12 AM.
 
Old 06-01-2013, 05:47 AM   #5
el_gallo_azul
LQ Newbie
 
Registered: Jul 2009
Location: Darwin, Australia
Distribution: Ubuntu 12.04
Posts: 16

Original Poster
Rep: Reputation: 0
Yup. That's what I need. Now I just have to and find out how to set up my custom keyboard shortcuts. I know where custom keyboard shortcuts can be set up, but I need to know what the command is.

Where was that quote from?

Last edited by el_gallo_azul; 06-01-2013 at 05:51 AM. Reason: I missed the punchline
 
Old 06-01-2013, 07:54 AM   #6
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,464

Rep: Reputation: Disabled
Quote:
Originally Posted by el_gallo_azul View Post

Where was that quote from?
Where I said it was from. In KDE, open up the kickoff menu and select "System Settings". In the topmost section entitled "Common Appearance and Behaviour" select the item on the right "Shortcuts and Gestures". Click on that and you'll find "Custom Shortcuts" as the first item.
ciao,
jdk
 
Old 06-01-2013, 06:06 PM   #7
el_gallo_azul
LQ Newbie
 
Registered: Jul 2009
Location: Darwin, Australia
Distribution: Ubuntu 12.04
Posts: 16

Original Poster
Rep: Reputation: 0
OK thanks. I use Ubuntu 12.04, and it seems that another application is required as it says on

https://help.ubuntu.com/community/KeyboardShortcuts

under 'Text Entry Shortcuts'.

The KDE method sounds like the way to travel.
 
Old 06-01-2013, 08:16 PM   #8
el_gallo_azul
LQ Newbie
 
Registered: Jul 2009
Location: Darwin, Australia
Distribution: Ubuntu 12.04
Posts: 16

Original Poster
Rep: Reputation: 0
I ended up installing xbindkeys like it says on https://help.ubuntu.com/community/KeyboardShortcuts under 'Text Entry Shortcuts'.

I've set up two keyboard shortcuts for the moment. They work when pasting my text into a web browser, but not into a terminal console or gedit text editor.

When I originally posted this yesterday, I had a picture in my head of exactly what jdkaye describes in KDE.

Ubuntu 12.04 doesn't do that.

Last edited by el_gallo_azul; 06-01-2013 at 08:17 PM. Reason: I left out a relevant bit
 
Old 06-01-2013, 11:25 PM   #9
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,464

Rep: Reputation: Disabled
Is this what you want? http://www.kubuntu.org/
jdk
 
Old 06-03-2013, 02:24 AM   #10
el_gallo_azul
LQ Newbie
 
Registered: Jul 2009
Location: Darwin, Australia
Distribution: Ubuntu 12.04
Posts: 16

Original Poster
Rep: Reputation: 0
Hmmm possibly. Over the last 7 years, I've installed and used at least 7 distributions, and sampled quite a few others from live CDs. I was happy to finally settle on Ubuntu (probably in 2011) which has generally done everything I want it to, and yes I was quite disappointed that I had to install xbindkeys to do something which I thought would be available from a basic installation.

I haven't tried Kubuntu before, so now I have to work out if it's worth my while to find out the hard way what Kubuntu can't do that Ubuntu can. I'll have to ponder it.

Thanks.
 
Old 06-03-2013, 04:42 AM   #11
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,464

Rep: Reputation: Disabled
G'day (sorry I couldn't resist)
Doesn't ubuntu allow you to have more than one desktop available? Debian does. When the login screen comes on you can select a menu (rather than continuing with the default setting) which gives you a choice of several desktops provided you've installed them. All else remains the same so there's not much to ponder. If you can't do that with Ubuntu then score points for Debian and send Ubuntu to the sin bin.
Ciao,
jdk
 
Old 06-04-2013, 06:18 AM   #12
el_gallo_azul
LQ Newbie
 
Registered: Jul 2009
Location: Darwin, Australia
Distribution: Ubuntu 12.04
Posts: 16

Original Poster
Rep: Reputation: 0
I just created a new account with the objective of setting it up with KDE. I logged out, then logged back in to the new account, but I can't work out how to chage the desktop to KDE. Even Ubuntu Help doesn't return any results for KDE. I'll go back there now and try installing new software and what options there are.
 
Old 06-04-2013, 06:29 AM   #13
el_gallo_azul
LQ Newbie
 
Registered: Jul 2009
Location: Darwin, Australia
Distribution: Ubuntu 12.04
Posts: 16

Original Poster
Rep: Reputation: 0
I just created a new account with the objective of setting it up with KDE. I logged out, then logged back in to the new account, but I can't work out how to chage the desktop to KDE. Even Ubuntu Help doesn't return any results for KDE. I'll go back there now and try installing new software and what options there are.
EDIT: I see that it is possible to 'sudo apt-get install kubuntu-desktop' so I'll try that tomorrow.
 
Old 06-04-2013, 11:49 AM   #14
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,464

Rep: Reputation: Disabled
When you have more than one desktop installed you can selection which one you want from the login screen. Look around the screen (I don't know where they put it in Ubuntu for any icons you can click. One icon should be for exiting and the other should give you a choice of which desktop you want to log into. Let us know how you're making out.
ciao,
jdk
 
Old 06-06-2013, 03:47 AM   #15
el_gallo_azul
LQ Newbie
 
Registered: Jul 2009
Location: Darwin, Australia
Distribution: Ubuntu 12.04
Posts: 16

Original Poster
Rep: Reputation: 0
OK I've got the KDE (kubuntu) desktop up and running.

1. It seems to require more sitting and waiting that the standard (Gnome?) Ubuntu.
2. I couldn't find the text "After pressing Alt+Ctrl+H the input of 'Hello' will be simulated, as if you typed it." anywhere in the Help.
3. I have configured a custom shortcut (a Global Shortcut) that should write my email address in the field currently containing my cursor when I type Ctrl+Alt+E. I have tested it but it doesn't seem to work. I think I'll sleep on it and have another go tomorrow or something.
 
  


Reply

Tags
command line, paste, shortcuts, terminal


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Putty crashes when selecting text to copy m.collingwood Linux - Software 4 03-12-2013 11:17 PM
How-to cut specific text from cell and paste into new column ivn Linux - Newbie 5 12-17-2011 08:53 PM
Copy and paste from a text console. stf92 Slackware 36 09-23-2011 05:26 PM
[SOLVED] copy and paste text among text documents in Linux ethereal1m Linux - Newbie 5 03-28-2010 03:14 AM
Which light text editor can copy text from file and paste in browser? davidas Linux - Software 9 03-06-2006 11:28 AM


All times are GMT -5. The time now is 04:14 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration