Quote:
Originally Posted by twobob
I don't care where I get it.
All i need is Screen X & Y.
Anything...
|
Don't know if I got exactly what you mean... If you need screen width and height I've found this script on kterm launch one:
Code:
#WIDTH=`xwininfo -root|grep Width|cut -d ':' -f 2`
# use wider keyboard layout for screen width greater than 600 px
#if [ ${WIDTH} -gt 600 ]; then
# PARAM="-l ${EXTENSION}/layouts/keyboard-wide.xml"
#fi
So it would be:
Code:
WIDTH=`xwininfo -root|grep Width|cut -d ':' -f 2`
HEIGHT=`xwininfo -root|grep Height|cut -d ':' -f 2`
If you meant the X Y cursor position... ignore this comment xD