Re: [Evolution] Some Questions Pertaining to Evolution



Haha, the original mail with the wrong date didn't came through the list.
Here it is again, now with a resized picture:

Hi,

I hit on an idea.

You could assign a shortcut to a script to get emoticons for coping and
pasting.

If I push Shift+Ctrl+S when in Evolutions editor window, I get the
window shown by the attached screenshot. With the mouse I could copy an
emoticon and paste it into Evolution's editor window.

You simply could copy and paste the below script. Save it as
/usr/local/bin/schar and make it executable by running

  sudo chmod a+x /usr/local/bin/schar





[rocketmouse@archlinux ~]$ cat /usr/local/bin/schar 
#!/bin/dash
# /usr/local/bin/schar Ralf Mardorf 2017-03-22

special_characters() {
cat<<EOF
Use Shift+Ctrl+U or copy and paste
                        0       1       2       3       4       5       6       7       8       9       A     
  B       C       D       E       F
U+1F60x         😀       😁       😂       😃       😄       😅       😆       😇       😈       😉       😊       😋     
  😌       😍       😎       😏
U+1F61x         😐       😑       😒       😓       😔       😕       😖       😗       😘       😙       😚       😛     
  😜       😝       😞       😟
U+1F62x         😠       😡       😢       😣       😤       😥       😦       😧       😨       😩       😪       😫     
  😬       😭       😮       😯
U+1F63x         😰       😱       😲       😳       😴 😵     😶       😷       😸       😹       😺       😻       😼     
  😽       😾       😿
U+1F64x         🙀       🙁       🙂       🙃       🙄       🙅       🙆       🙇       🙈       🙉       🙊       🙋     
  🙌       🙍       🙎       🙏
EOF
}

zenity --warning --title="special characters" --width=800 --height=100 --no-wrap 
--text="$(special_characters)"

exit





I don't know how to assign shortcuts to a script for GNOME, but for
openbox I only need to add the following to the rc file.





[rocketmouse@archlinux ~]$ grep "Shift+Ctrl" -A 5 ~/.config/openbox/rc.xml 
    <!-- Shift+Ctrl -->
    <keybind key="S-C-S">
      <action name="Execute">
        <command>schar</command>
      </action>
    </keybind>





Regards,
Ralf

Attachment: special_characters.jpg
Description: JPEG image



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]