short-keys for pasting different texts
Olafur Arason
olafra at gmail.com
Fri Feb 10 11:30:49 UTC 2006
Install xsel ( sudo apt-get install xsel )
run gedit script1.sh
add to it:
echo "Text" | xsel -i -b
or if you have a textfile
xsel -i -b < /home/user/textfile
run gconf-editor
go to apps -> metacirty -> keyboard_commands
and add the location to your script like /home/user/script1.sh
to command_1 and so on
then in apps -> metacity -> global_keybindings
and add your keybinding to run_command_1 and so on
Then try it, it will load the text to the clipboard then you can just paste
Olafur Arason
On 2/9/06, René <list.account at gmx.net> wrote:
>
> hello
> does anyone have an idea how to accomplish, that i can have a set of
> (short)texts, which i can paste with short-keys (or other handling) where
> ever the cursor stays. would be great!
> regards,
> René
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>
More information about the ubuntu-users
mailing list