Thanks for your replay. I found solution few minutes ago. The problem was I had to run my program with root permissions so I used sudo. I thought I tested it without sudo but I was wrong. In sudo’s manual I found it:
‑E
The ‑E (preserve environment) option indicates to the security policy that the user wishes to preserve their existing environment variables. The security policy may return an error if the ‑E option is specified and the user does not have permission to preserve the environment.
Now my programs sees environmental variables.
JF002: You don’t need to use parameter: -nomouse, it works without it :)
Thanks for your help!
↧