Comment 52 for bug 12040

Revision history for this message
las (bandara-ls) wrote :

As per

Karl Martin

"After installing the package 'xautomation' I used the following command in session startup:

 xte 'mousemove 10 1040' 'mouseclick 1' 'usleep 100000' 'mouseclick 1' 'mousemove 700 525'

This simulates two mouseclicks over the menu icon (open and close) with a short delay (0.1s) in between and moves the mouse back to the centre of the screen. If you have a smaller screen than 1400x1050 you will have to adjust the coordinates.

Since I put this in session startup the menu opens without delay as it has already been opened at startup.

However, this is a dirty workaround and a real fix would be greatly appreciated."

I added sleep time before xte line and saved as a exec'ble file and used " sh 'path to file' " with out quotations in startup applications and trick worked.Thanx

eg:
sleep 5
xte 'mousemove 1275 10' 'mouseclick 1' 'usleep 100000' 'mouseclick 1' 'mousemove 700 525'

mine is 1280x1024 and menu is located top right.You might want to adjust sleep time according to needs(its in sec's)