S.T.A.L.K.E.R.: Shadow of Chernobyl Tips

Workaround for system mouse cursor displaying during gameplay on Linux

First, note that this is a hack, it's not pretty - and doesn't fix the problem, it just hides it.
What I've used is to set my mouse cursor to a completely transparent one, so that it isn't visible and twitching on my screen while playing.

Preparation


First, create a text file (call it something like transparent.xpm). Paste the following into it:

#define emptyCursor.xpm_width 16
#define emptyCursor.xpm_height 16
static unsigned char emptyCursor.xpm_bits[] = {
   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};

Usage

Now, whenever you want to play, issue this command: xsetroot -cursor transparent.xpm{,} in a terminal from the directory that you saved transparent.xpm in. Note that this makes your cursor transparent, even outside the game. To reset this, either log out and back in again, or try starting the mouse configuration program for your desktop environment (the xfce4 settings manager, and then the mouse applet there for me), that might reset it back without relogging.

It's not pretty, but it works.

Important Information Tips are provided by the CrossOver Community and Advocates. They are not intended to be used for official CodeWeavers Support. For that, please visit our official support pages.
CodeWeavers or its third-party tools process personal data (e.g. browsing data or IP addresses) and use cookies or other identifiers, which are necessary for its functioning and required to achieve the purposes illustrated in our Privacy Policy. You accept the use of cookies or other identifiers by clicking the Acknowledge button.
Please Wait...
eyJjb3VudHJ5IjoiVVMiLCJsYW5nIjoiZW4iLCJjYXJ0IjowLCJ0enMiOi02LCJjZG4iOiJodHRwczpcL1wvbWVkaWEuY29kZXdlYXZlcnMuY29tXC9wdWJcL2Nyb3Nzb3Zlclwvd2Vic2l0ZSIsImNkbnRzIjoxNzMxNDM1MjAzLCJjc3JmX3Rva2VuIjoiSEJrVTRWWlJ2bXdGQkUzeSIsImdkcHIiOjB9