I installed xdotool in Ubuntu. But it says segmentation fault (core dumped) when I inputted command xdotool getmouselocation. How to solve it?
Asked
Active
Viewed 2,260 times
2 Answers
0
I had to install X Window System using the commands as follows:
# apt-get install xserver-xorg
# apt-get install x-window-system-core
# dpkg-reconfigure xserver-xorg
# apt-get install gnome-core
# apt-get install gdm xscreensaver
# apt-get install ttf-arphic*
# startx
And input command export DISPLAY=:0. xdotool works now.