====== Paste Selection in http://ix.io ====== This script uses curl and xsel to make Geany paste your editor selection in [[http://ix.io|http://ix.io]] and return the URL in your clipboard. Download the script below. You will need to ''chmod u+x geany-ix-io.sh'' to make the script executable. Add the custom command to Geany: Edit -> Format -> Send Selection To -> Set Custom Commands -> Add Type the name of script (geany-ix-io.sh) or optionally you can write the whole custom command here: sh -c "curl -s -F 'f:1=<-' ix.io | xsel -ib; exit 1" Both, script or one liner command, will work very well. #!/bin/bash # The script need be in path or you will need specify complete script path # in Custom Commands Add box. sel=$(< /dev/stdin); curl -s -F "f:1=$sel" http://ix.io | xsel -ib echo -n "$sel"; exit 1 {{tag>configure ix.io xsel script}}