LewRockwellFAN wrote:
[...] something I could assign a function key to as the hot key and that would shout out "Over here, four eyes!"
with a bold graphic rather than whisper "here I am." with an anemic little ripple effect.
Using
yad(1), a
zenity(1)'s fork ; for example:
Code:
yad --text '<span font-family="Helvetica" color="gray"><b><big> Over here, four eyes! </big></b></span>' \
--timeout 3 --no-buttons --mouse --on-top --undecorated --skip-taskbar
See:
http://code.google.com/p/yad/LewRockwellFAN wrote:
An alternative, maybe even better, would be a script or program to which I could assign a function key as a hotkey,
that would move the pointer to a standard location, ideally the center of the screen.
Using
xrandr(1),
xdotool(1), and
awk(1).
Code:
xdotool mousemove $(awk -F '[ x]' '/*/ { print $4/2, $5/2 }' <(xrandr))
It also works with multiple screens.