You can define several custom commands [snip]
Enrico, why limit key combos to only the first three?
Just a thought, but if you really need more options, you could always rely on some sort of "helper" application.
For instance, you could assign a script like this for one of your custom commands:
##################################### #!/bin/bash
xmessage -nearmouse "Choose a script:" \ -buttons "Upper:1,Lower:2,Hello:3"
case $? in 1) awk '{print toupper($0)}' ;; 2) awk '{print tolower($0)}' ;; 3) echo "Hello world :-)" ;; *) cat ;; esac #####################################
- Jeff