xdotool - segmentation fault (core dumped)

Clash Royale CLAN TAG#URR8PPP up vote
0
down vote
favorite
I installed xdotool in Ubuntu. But it says segmentation fault (core dumped) when I inputted command xdotool getmouselocation. How to solve it?
xdotool
 |Â
show 3 more comments
up vote
0
down vote
favorite
I installed xdotool in Ubuntu. But it says segmentation fault (core dumped) when I inputted command xdotool getmouselocation. How to solve it?
xdotool
What version of Ubuntu are you using? Are you actually running X, or another system like Wayland or Mir?
â wjandrea
May 11 at 18:47
my ubuntu version is ubuntu 16.04.What is the X?
â shen xu
May 12 at 13:52
en.wikipedia.org/wiki/X_Window_System
â wjandrea
May 12 at 18:24
How to install X_Window_System in ubuntu 16.04?
â shen xu
May 13 at 12:50
I had install X Window System use the command 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".Than xdotool can work now.
â shen xu
May 13 at 23:39
 |Â
show 3 more comments
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I installed xdotool in Ubuntu. But it says segmentation fault (core dumped) when I inputted command xdotool getmouselocation. How to solve it?
xdotool
I installed xdotool in Ubuntu. But it says segmentation fault (core dumped) when I inputted command xdotool getmouselocation. How to solve it?
xdotool
edited May 11 at 18:47
Olimjon
1,872423
1,872423
asked May 11 at 17:10
shen xu
12
12
What version of Ubuntu are you using? Are you actually running X, or another system like Wayland or Mir?
â wjandrea
May 11 at 18:47
my ubuntu version is ubuntu 16.04.What is the X?
â shen xu
May 12 at 13:52
en.wikipedia.org/wiki/X_Window_System
â wjandrea
May 12 at 18:24
How to install X_Window_System in ubuntu 16.04?
â shen xu
May 13 at 12:50
I had install X Window System use the command 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".Than xdotool can work now.
â shen xu
May 13 at 23:39
 |Â
show 3 more comments
What version of Ubuntu are you using? Are you actually running X, or another system like Wayland or Mir?
â wjandrea
May 11 at 18:47
my ubuntu version is ubuntu 16.04.What is the X?
â shen xu
May 12 at 13:52
en.wikipedia.org/wiki/X_Window_System
â wjandrea
May 12 at 18:24
How to install X_Window_System in ubuntu 16.04?
â shen xu
May 13 at 12:50
I had install X Window System use the command 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".Than xdotool can work now.
â shen xu
May 13 at 23:39
What version of Ubuntu are you using? Are you actually running X, or another system like Wayland or Mir?
â wjandrea
May 11 at 18:47
What version of Ubuntu are you using? Are you actually running X, or another system like Wayland or Mir?
â wjandrea
May 11 at 18:47
my ubuntu version is ubuntu 16.04.What is the X?
â shen xu
May 12 at 13:52
my ubuntu version is ubuntu 16.04.What is the X?
â shen xu
May 12 at 13:52
en.wikipedia.org/wiki/X_Window_System
â wjandrea
May 12 at 18:24
en.wikipedia.org/wiki/X_Window_System
â wjandrea
May 12 at 18:24
How to install X_Window_System in ubuntu 16.04?
â shen xu
May 13 at 12:50
How to install X_Window_System in ubuntu 16.04?
â shen xu
May 13 at 12:50
I had install X Window System use the command 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".Than xdotool can work now.
â shen xu
May 13 at 23:39
I had install X Window System use the command 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".Than xdotool can work now.
â shen xu
May 13 at 23:39
 |Â
show 3 more comments
2 Answers
2
active
oldest
votes
up vote
0
down vote
You might be using not real display. To correct this, do:
export DISPLAY=:0
xdotool getmouselocation
If it did not work, this link might be useful.
I had correct this: export DISPLAY=:0 xdotool getmouselocation. But it says "Error:Can't open display:(null) Failed creating new xdo instance" now.
â shen xu
May 12 at 13:57
try to useexport DISPLAY=:1, then try again
â Olimjon
May 12 at 14:24
I had try to use "export DISPLAY=:1",But it says "segmentation fault (core dumped)" now.
â shen xu
May 13 at 12:15
I had install X Window System use the command 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".Than xdotool can work now.
â shen xu
May 13 at 23:41
But it has another question.Please look at the link "youtube.com/watch?v=25OTHjiVHZg".The value is x:512 y:384 of the screen coordinates,But the coordinates value is x:512 y:384 still when i change the location of mouse pointer in screen.Why the coordinates value do not change?I want get the screen coordinates current value of mouse pointer.
â shen xu
May 13 at 23:41
add a comment |Â
up vote
0
down vote
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.
Please look at the new question link askubuntu.com/questions/1035940/â¦
â shen xu
May 15 at 12:51
add a comment |Â
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
You might be using not real display. To correct this, do:
export DISPLAY=:0
xdotool getmouselocation
If it did not work, this link might be useful.
I had correct this: export DISPLAY=:0 xdotool getmouselocation. But it says "Error:Can't open display:(null) Failed creating new xdo instance" now.
â shen xu
May 12 at 13:57
try to useexport DISPLAY=:1, then try again
â Olimjon
May 12 at 14:24
I had try to use "export DISPLAY=:1",But it says "segmentation fault (core dumped)" now.
â shen xu
May 13 at 12:15
I had install X Window System use the command 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".Than xdotool can work now.
â shen xu
May 13 at 23:41
But it has another question.Please look at the link "youtube.com/watch?v=25OTHjiVHZg".The value is x:512 y:384 of the screen coordinates,But the coordinates value is x:512 y:384 still when i change the location of mouse pointer in screen.Why the coordinates value do not change?I want get the screen coordinates current value of mouse pointer.
â shen xu
May 13 at 23:41
add a comment |Â
up vote
0
down vote
You might be using not real display. To correct this, do:
export DISPLAY=:0
xdotool getmouselocation
If it did not work, this link might be useful.
I had correct this: export DISPLAY=:0 xdotool getmouselocation. But it says "Error:Can't open display:(null) Failed creating new xdo instance" now.
â shen xu
May 12 at 13:57
try to useexport DISPLAY=:1, then try again
â Olimjon
May 12 at 14:24
I had try to use "export DISPLAY=:1",But it says "segmentation fault (core dumped)" now.
â shen xu
May 13 at 12:15
I had install X Window System use the command 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".Than xdotool can work now.
â shen xu
May 13 at 23:41
But it has another question.Please look at the link "youtube.com/watch?v=25OTHjiVHZg".The value is x:512 y:384 of the screen coordinates,But the coordinates value is x:512 y:384 still when i change the location of mouse pointer in screen.Why the coordinates value do not change?I want get the screen coordinates current value of mouse pointer.
â shen xu
May 13 at 23:41
add a comment |Â
up vote
0
down vote
up vote
0
down vote
You might be using not real display. To correct this, do:
export DISPLAY=:0
xdotool getmouselocation
If it did not work, this link might be useful.
You might be using not real display. To correct this, do:
export DISPLAY=:0
xdotool getmouselocation
If it did not work, this link might be useful.
answered May 11 at 17:42
Olimjon
1,872423
1,872423
I had correct this: export DISPLAY=:0 xdotool getmouselocation. But it says "Error:Can't open display:(null) Failed creating new xdo instance" now.
â shen xu
May 12 at 13:57
try to useexport DISPLAY=:1, then try again
â Olimjon
May 12 at 14:24
I had try to use "export DISPLAY=:1",But it says "segmentation fault (core dumped)" now.
â shen xu
May 13 at 12:15
I had install X Window System use the command 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".Than xdotool can work now.
â shen xu
May 13 at 23:41
But it has another question.Please look at the link "youtube.com/watch?v=25OTHjiVHZg".The value is x:512 y:384 of the screen coordinates,But the coordinates value is x:512 y:384 still when i change the location of mouse pointer in screen.Why the coordinates value do not change?I want get the screen coordinates current value of mouse pointer.
â shen xu
May 13 at 23:41
add a comment |Â
I had correct this: export DISPLAY=:0 xdotool getmouselocation. But it says "Error:Can't open display:(null) Failed creating new xdo instance" now.
â shen xu
May 12 at 13:57
try to useexport DISPLAY=:1, then try again
â Olimjon
May 12 at 14:24
I had try to use "export DISPLAY=:1",But it says "segmentation fault (core dumped)" now.
â shen xu
May 13 at 12:15
I had install X Window System use the command 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".Than xdotool can work now.
â shen xu
May 13 at 23:41
But it has another question.Please look at the link "youtube.com/watch?v=25OTHjiVHZg".The value is x:512 y:384 of the screen coordinates,But the coordinates value is x:512 y:384 still when i change the location of mouse pointer in screen.Why the coordinates value do not change?I want get the screen coordinates current value of mouse pointer.
â shen xu
May 13 at 23:41
I had correct this: export DISPLAY=:0 xdotool getmouselocation. But it says "Error:Can't open display:(null) Failed creating new xdo instance" now.
â shen xu
May 12 at 13:57
I had correct this: export DISPLAY=:0 xdotool getmouselocation. But it says "Error:Can't open display:(null) Failed creating new xdo instance" now.
â shen xu
May 12 at 13:57
try to use
export DISPLAY=:1, then try againâ Olimjon
May 12 at 14:24
try to use
export DISPLAY=:1, then try againâ Olimjon
May 12 at 14:24
I had try to use "export DISPLAY=:1",But it says "segmentation fault (core dumped)" now.
â shen xu
May 13 at 12:15
I had try to use "export DISPLAY=:1",But it says "segmentation fault (core dumped)" now.
â shen xu
May 13 at 12:15
I had install X Window System use the command 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".Than xdotool can work now.
â shen xu
May 13 at 23:41
I had install X Window System use the command 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".Than xdotool can work now.
â shen xu
May 13 at 23:41
But it has another question.Please look at the link "youtube.com/watch?v=25OTHjiVHZg".The value is x:512 y:384 of the screen coordinates,But the coordinates value is x:512 y:384 still when i change the location of mouse pointer in screen.Why the coordinates value do not change?I want get the screen coordinates current value of mouse pointer.
â shen xu
May 13 at 23:41
But it has another question.Please look at the link "youtube.com/watch?v=25OTHjiVHZg".The value is x:512 y:384 of the screen coordinates,But the coordinates value is x:512 y:384 still when i change the location of mouse pointer in screen.Why the coordinates value do not change?I want get the screen coordinates current value of mouse pointer.
â shen xu
May 13 at 23:41
add a comment |Â
up vote
0
down vote
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.
Please look at the new question link askubuntu.com/questions/1035940/â¦
â shen xu
May 15 at 12:51
add a comment |Â
up vote
0
down vote
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.
Please look at the new question link askubuntu.com/questions/1035940/â¦
â shen xu
May 15 at 12:51
add a comment |Â
up vote
0
down vote
up vote
0
down vote
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.
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.
edited May 14 at 17:21
wjandrea
7,14242155
7,14242155
answered May 14 at 4:47
shen xu
12
12
Please look at the new question link askubuntu.com/questions/1035940/â¦
â shen xu
May 15 at 12:51
add a comment |Â
Please look at the new question link askubuntu.com/questions/1035940/â¦
â shen xu
May 15 at 12:51
Please look at the new question link askubuntu.com/questions/1035940/â¦
â shen xu
May 15 at 12:51
Please look at the new question link askubuntu.com/questions/1035940/â¦
â shen xu
May 15 at 12:51
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1034997%2fxdotool-segmentation-fault-core-dumped%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
What version of Ubuntu are you using? Are you actually running X, or another system like Wayland or Mir?
â wjandrea
May 11 at 18:47
my ubuntu version is ubuntu 16.04.What is the X?
â shen xu
May 12 at 13:52
en.wikipedia.org/wiki/X_Window_System
â wjandrea
May 12 at 18:24
How to install X_Window_System in ubuntu 16.04?
â shen xu
May 13 at 12:50
I had install X Window System use the command 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".Than xdotool can work now.
â shen xu
May 13 at 23:39