Re: [pygame] How to prevent mouse initialization in Pygame

2017-08-01 Thread Roman Mescheryakov
Hi Theo, thank you very much for the reply! As of blinking text cursor problem, I succeeded with finding an answer here . In order to get rid of blinking text cursor one should issue under the root user the following command: echo 0 >

Re: [pygame] How to prevent mouse initialization in Pygame

2017-07-28 Thread Roman Mescheryakov
running your systemd+pygame application under limited user? Kind regards, Roman Mescheryakov

Re: [pygame] How to prevent mouse initialization in Pygame

2017-07-27 Thread Roman Mescheryakov
could be isolated in a separate executable file which has root as it’s owner and has setuid bit enabled. After that main process running under limited user could run this helper executable to get the work done. Kind regards, Roman Mescheryakov

Re: [pygame] How to prevent mouse initialization in Pygame

2017-07-24 Thread Roman Mescheryakov
In case somebody interested: running pygame with modified SDL as a systemd service succeeded without any surprises. I also hid mouse cursor with help of pygame.mouse.set_visible(False) call. My next task to solve is hiding blinking text cursor. суббота, 22 июля 2017 г., 19:51:22 UTC+3 пользо

Re: [pygame] How to prevent mouse initialization in Pygame

2017-07-18 Thread Roman Mescheryakov
to run pygame framebuffer graphics as a daemon. I will try using systemd as a daemon supervisor, because this is the default choice in Raspbian. Kind regards, Roman Mescheryakov

Re: [pygame] How to prevent mouse initialization in Pygame

2017-07-17 Thread Roman Mescheryakov
понедельник, 17 июля 2017 г., 21:34:54 UTC+3 пользователь Martin Kühne написал: > What's your status about the `tty` group membership? > > cheers! > mar77i > The limited user is a member of this group: pi@masternoinit:~ $ groups pi adm tty dialout cdrom sudo audio video plugdev games user

Re: [pygame] How to prevent mouse initialization in Pygame

2017-07-16 Thread Roman Mescheryakov
четверг, 13 июля 2017 г., 23:22:27 UTC+3 пользователь Martin Kühne написал: > > Also Roman, please note that > many ioctls return data in pointers that can be passed to them which > should be the spot where your results actually differ. > > I remember that, in particular, VT_OPENQRY accepts po

[pygame] Re: How to prevent mouse initialization in Pygame

2017-07-13 Thread Roman Mescheryakov
Very strange that 2 latest Martin’s replies sent 9th of July are not shown on the Google Groups site... Sorry that I didn’t reply for a while. Thank you Martin for the link to StackExchange question about terminals

Re: [pygame] How to prevent mouse initialization in Pygame

2017-07-09 Thread Roman Mescheryakov
First some interesting fact. Earlier I wrote that performed limited user permissions setup according to reply in the How do I let an SDL app (not running as root) use the console Stac

Re: [pygame] How to prevent mouse initialization in Pygame

2017-07-07 Thread Roman Mescheryakov
среда, 5 июля 2017 г., 18:37:31 UTC+3 пользователь Daniel Foerster написал: > > Yeah that's not going to work because the attempted imports just fail. If > you think having the mouse not initialized might help, change your call to > pygame.init() into calls like pygame.display.init(). > I tried