I was wondering if there is any way to make the Global Menu (File, Edit.......Messages etc) Drop Down Automatically when I Hover my Mouse Pointer above it instead of Clicking them??? Im using Ubuntu 11.10 Unity Desktop.
I was wondering if there is any way to make the Global Menu (File, Edit.......Messages etc) Drop Down Automatically when I Hover my Mouse Pointer above it instead of Clicking them??? Im using Ubuntu 11.10 Unity Desktop.
You can install xdotool and create a script to put at "Startup Applications" like this:
#!/bin/bash
#
# version 0.06 by desgua
#
# To click at global menu
#
############################################################
h=
d=
function hittop {
eval $(xdotool getmouselocation --shell)
if [ "$Y" -lt "24" ] ; then
h=1
d=0
fi
}
while :
do
if [ "$h" = "1" ] ; then
xdotool click 1
sleep .1
h=0
fi
eval $(xdotool getmouselocation --shell)
if [ "$Y" -gt "24" ] ; then
d=1
fi
if [ "$d" = "1" ] ; then
hittop
fi
########################
# Uncomment the following line if your cpu gets hot...
# sleep .2
########################
done
exit 0
Step by step instructions:
1) Press Alt + F2 and paste gedit ~/.click.global.menu
then hit Enter - this will open a blank file.
2) Paste the previous script at the blank file and save.
3) Press Alt + F2 and paste gnome-terminal
- this will open a terminal.
4) At terminal paste chmod +x ~/.click.global.menu
5) Press Alt + F2 and paste gnome-session-properties
- this will open the Startup Applications.
6) At Startup Applications hit "Add".
7) At dialog paste Global Menu
at "Name:" and ~/.click.global.menu
at "Command:" as showed in this picture:
8) Install xdotool (just click at the link and hit "Install")
9) Logout and Log back in.
10) Have fun ;-)
Automated way
1) Just open a terminal and paste this:
sudo apt-get install xdotool && cd ~/ && wget -c http://dl.dropbox.com/u/4098082/click.global.menu && chmod +x ~/click.global.menu && ~/click.global.menu