Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question
Tag: raspberry-pi
KeyError: Python script executed by linux service unable to access environment var
So I have a simple service on my Raspberry Pi that runs a Python script on boot. I have also set the env variable by running export OPSESPORT=XXXX. This is the service file: And in somefile.py, I have: Which leads to the following error when checking logs of the service: This is super weird since if I just run the
How to save movie in mjpg-streamer?
I have installed mjpg-streamer on Raspbarry Pi,and it ran well. But how to save movie in my sdcard? I tried mjpg-streamer/mjpg-streamer-experimental/mjpg_streamer -i “mjpg-streamer/mjpg-streamer-experimental/input_uvc.so” -o “mjpg-streamer/mjpg-streamer-experimental/output_http.so -w mjpg-streamer/mjpg-streamer-experimental/www”,and don’t know how to do. Answer I don’t have any idea about mjpg-streamer. But I suggest to use Motion library for video streaming/record movie. By adding motion.conf file you can save it to
After securing my webserver (rpi) from foreign ssh logins, I found this perl script on my computer. Can someone tell me what it does? [closed]
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. This question does not appear to be about programming within the scope defined in the help center. Closed 5 years ago. Improve this question There was an account named “user” that would be used for these logins, which would be from all over the world.
Copy file to USB automatically on mount Raspberry Pi
I’m currently doing a project which requires a file to be automatically copied to USB-stick on mount. Based on my research in internet, I believe it is doable using udev rule. So, when an USB is inserted into my RPi2, the udev rule will then execute a python script which allows file to be copied to the USB-stick. Problem is,
On Screen Keyboard Pop Up Automatically
I’m building an application with Electron running on a Raspberry Pi. I want an on screen keyboard to pop up automatically whenever a textbox is selected. How can I accomplish this? Either a Linux or a JavaScript solution would work. Answer have you tried something like:
Error when trying to deploy Qt application using shared libraries
I tried to deploy a qt application using the shared library approach described here: http://doc.qt.io/qt-5/linux-deployment.html (5th headline) When I go to my project folder and type “make clean” I get this error: “make: *** No rule ro make target ‘clean’. Stop” What is the problem here? Also: The documentation states: “We assume that you already have installed Qt as a
How to run a python script with Raspberry Pi until we stop it manually
Currently I am working with both Raspberry Pi and Arduino at the moment. For Arduino in some cases, if we start running the script, then it will run until we stop them manually. I am wondering if there is a way to do the same with a Raspberry Pi when using it with Python. For Raspberry Pi, when I use,
How to connect raspberry pi to internet? [closed]
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question
Osmc CEC not working after using cec-client in ssh terminal
I have a RPI2 with OSMC installed and I want to do some cec commands to check if the Tv is ON or OFF. The issue is that after any command cec-client ( except cec-client -h 🙂 ) the OSMC won’t receive CEC commands until I restart the RPI. Is there any way to reconnect OSMC with the CEC? Cec