Without selecting other text to copy, I want to be able to paste specific text
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.
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.
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.
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.
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
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
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
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
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.
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
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.
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.
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
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.