short-keys for pasting different texts

René list.account at gmx.net
Sat Feb 11 20:08:30 UTC 2006


> Am 11.02.2006, 15:08 Uhr, schrieb Olafur Arason <olafra at gmail.com>:
> 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

good. very gooood!
as i am writing usually in german, i face a difficulty with signs like  
äöüé and so on.
how to manage that, Olafur?




More information about the ubuntu-users mailing list