You are not logged in.
This is just a little thing on XFCE that shouldn't bother me as much as it does, but it does. Using XFCE w/Compiz & dual monitors, upon boot the mouse pointer's default location is centered between the 2 monitors (so half the pointer is on one monitor, the other half the other). While on my Cinnamon installation, the mouse pointer is centered in the primary monitor upon boot. Is there a way to set the pointer to be centered in the primary monitor instead of between the 2 monitors on XFCE? I don't think it's related to Compiz, but rather XFCE itself.
Last edited by Annoyingduck (2017-09-07 23:28:42)
Offline
In your "~/.xinitrc" file / autostart file:
xdotool mousemove 800 600
Offline
In your "~/.xinitrc" file / autostart file:
xdotool mousemove 800 600
My .xinitrc file only contains "exec startxfce4", not clear on the autostart directory, as the original is only a file. Are you suggesting adding
xdotool mousemove 800 600
to that file?
Offline
Sure, give it a try in your "~/.xinitrc" file.
xdotool mousemove 800 600
exec startxfce4"
You can read more about it here: https://wiki.archlinux.org/index.php/Xf … plications
Offline
Yes, add the xdotool command before your exec line.
If your .xinitrc only contains 'exec startxfce4' then it's missing some vital lines. Read the xinit wiki article for more details.
Last edited by Slithery (2017-07-19 15:05:29)
Offline
I misunderstood the directions here, didn't realize a program needed to be installed - I assumed it was a file edit of some kind. Anyways this is how I did it:
-Install xdotool (missing in the response)
-Add this command to startup applications:
xdotool mousemove 960 540
-Adjust numbers to the position you want the mouse in. For 1920x1080 screeens, 960 540 centers the mouse.
Offline