8 votes
Accepted

Auto-execute desktop shortcut problem

Create a file /home/pi/Desktop/test.desktop: [Desktop Entry] Version=1.1 Name=test Comment=The official Icon=emblem-debian Type=Application Path=/home/pi Exec=bash test Terminal=true bash script ...
Ephemeral's user avatar
  • 2,137
6 votes
Accepted

Raspberry Pi Desktop, Guest Additions: Access denied under root

8. of the preferred answer here. Not much of an explanation, yet it certainly works. # sh /media/cdrom0/VBoxLinuxAdditions.run
Alexey Orlov's user avatar
5 votes
Accepted

Building a Virtual machine with the .img file of the raspberry pi stretch

You can relatively easily do this using Docker: 1. Download and extract Raspbian Go to the download page and download Raspbian Lite. Once the file has finished downloading, unzip it: cd Downloads/ ...
tttapa's user avatar
  • 961
4 votes

Is it possible to record the screen and Audio on a Raspberry Pi 4 model B

Kazam is another great screen recorder. It's graphical, easy to use, and has a ton of features. To install it: 1) Open a terminal (click on the raspberry icon in the task bar, go down to Accessories,...
user96931's user avatar
  • 729
3 votes

What is the easiest way to set static ip in raspberry Pi?

If you are using Raspbian then dhcpcd is used for network configuration. Just look into /etc/dhcpcd.conf. At the end you will find some examples for static IP configuration. For further information ...
Ingo's user avatar
  • 41.7k
3 votes
Accepted

Running Hologram cellular network from startup issues [cannot run on rc.local or .bashrc]

Please take note that using /etc/rc.local has limitations due to Compatibility with SysV. We have seen many problems here on this site using it. Following the recommendation of the developers from ...
Ingo's user avatar
  • 41.7k
3 votes

Help need with python script for PiCamera

If I've understood correctly, you want to capture 5 images, each with a different shutter speed, wait five minutes, and then repeat. In that case, capture_sequence isn't applicable as it would capture ...
Fred's user avatar
  • 4,522
3 votes
Accepted

How to connect 3V3 UART logic level to the 5 V RS232 C logic level?

Whilst this is more of a general electrical engineering question, rather than a RPi question, logic level conversion is a commonly encountered issue when using an RPi. +3V3 to RS-232 As Milliways ...
Greenonline's user avatar
  • 2,720
3 votes

Installing Raspberry Pi Desktop on VM--small resolution

In VirtualBox, you need to install the Guest Additions before it will recognized any other resolutions. In VirtualBox, choose Insert Guest Additions CD image... from the Devices menu. Next, you'll ...
Nilpo's user avatar
  • 141
3 votes

I want to build "raspberry pi " c++ code in desktop ubuntu

There are two issues here: First: Your problem comes from missing headers. You would need to figure out which packages contain the headers and install them on your desktop computer. As the packages ...
allo's user avatar
  • 330
3 votes
Accepted

An experimental distributed system with Raspberry PI

If you just want to learn about distributed systems, you're probably better off with Virtualbox (or the likes) and Vagrant then using a physical Pi, imho. You might even use qemu to emulate a Pi (even ...
Ljm Dullaart's user avatar
  • 2,421
3 votes

Can you control your Pi via SSH while it is off?

No, for a Pi to do anything it requires power.
CoderMike's user avatar
  • 6,727
2 votes

Raspberry Pi Desktop, Guest Additions: Access denied under root

In my case this worked for me. $ sudo apt update $ sudo apt install build-essential module-assistant dkms $ sudo m-a prepare then select the menu devices/insert guest... CD is mounted and select ...
Juan Ojeda's user avatar
2 votes

Connecting Raspberry Pi to SFM3520-OP fingerprint module

The Pi's UART is 3V3 (0-3V3) only. If you connect anything outside that range you will probably destroy the UART and the Pi.
joan's user avatar
  • 70.3k
2 votes

What can I use to program a Raspberry Pi 3 board like an Arduino board?

While you can run Arduino code on RPI, given the power and extensibility of RPI you can use other languages you may be more familiar with (Python, Java, Perl, JavaScript, Erlang, Go, C#, C(++)) for ...
abolotnov's user avatar
  • 952
2 votes
Accepted

PIGPIO not detecting I2C device but i2cdetect -y 1 detects it and I can even run my codes well in SMBUS

The most likely solution is that the I2C device does not support the SMBus read byte command. i2cdetect uses a variety of probing methods and chooses the one most likely according to the device's ...
joan's user avatar
  • 70.3k
2 votes
Accepted

Ethernet communication between Raspberry Pi and Windows PC

First there is no need to worry about the used ethernet cable. It doesn't matter if you use a straight forward or a cross over cable. Nearly all devices since years are able to detect this including ...
Ingo's user avatar
  • 41.7k
2 votes
Accepted

Why won't my TV see the Raspberry Pi 4 as a source

the green LED is blinking 4 times and pauses and blinks again and continues this step. As you have seen this indicates a boot problem, namely that "start.elf is not found". Didn't find any docs on ...
goldilocks's user avatar
  • 58.3k
2 votes

Is it possible to record the screen and Audio on a Raspberry Pi 4 model B

recordMyDesktop is here for you. It captures what you are watching on the screen and also saves all audio input/output. You can use it by the terminal and also it has a GUI like the image below: ...
M. Rostami's user avatar
  • 4,285
2 votes

Is it possible to record the screen and Audio on a Raspberry Pi 4 model B

Vokoscreen works well on Raspberry Pi OS. sudo apt install vokoscreen VLC was not able to play the default format MKV recordings Vokoscreen makes for me, but you can play them with ffplay (part of ...
Adamq's user avatar
  • 113
2 votes
Accepted

Install LTE stick from Huwei 3772h on Raspberry PI with suisse telecom

Exe files are indeed windows-only. However, many LTE sticks have Linux drivers, either released by the manufacturer, or created by the community. Ubuntu Wiki has a list of such supported sticks. You ...
Dmitry Grigoryev's user avatar
1 vote

Ethernet communication between Raspberry Pi and Windows PC

Solution 1 Here is an easy solution that I only found after years using various RPi devices! (more about it on this blog). The cool thing is that it works: without having to change anything in the ...
Basj's user avatar
  • 772
1 vote

Why won't my TV see the Raspberry Pi 4 as a source

You will not get anything at all until the Pi4B has successfully booted. Your Pi4B has not booted successfully. Go through this Pi4B specific boot sticky. If that does not resolve the issue go ...
joan's user avatar
  • 70.3k
1 vote
Accepted

Need troubleshoot fix my Raspberri Pi camera

I fixed the issue by powering the Raspberry Pi with a 5.1V, 2.5A power plug now its been running well 24/7 ever since.
Jokamutta's user avatar
1 vote
Accepted

Is my PI 3 B+ fine after this odd short-circuit behaviour?

A second is not a short period of time for a computer which executes millions of instructions per second. Neither is it a short period of time to damage hardware designed to handle no more than 3V3. ...
joan's user avatar
  • 70.3k
1 vote

Video playback on Raspberry Pi 3

VLC is getting custom (downstream !) patches for the Raspberry Pi all the time. The foundation pays experienced developers to create and test them. Obviously, without running the latest software you ...
flakeshake's user avatar
  • 6,195
1 vote

Boot time problem

Why systemd-analyze shows 3.8s boot time Actually what it says is "Startup finished in...". At what point "booting" is finished depends on your definition of booting, which is really about context. ...
goldilocks's user avatar
  • 58.3k
1 vote

Help need with python script for PiCamera

I'm trying also to do some HDR images to acquire at the end a whole 8 or super8 film. Every picture of the film will be acquired with different stops. Here the code that I have already tested and that ...
Giancarlo Dozio's user avatar
1 vote

Help need with python script for PiCamera

The task could be run every five minutes using cron. Save your script as (e.g) /home/pi/mycapture.py crontab -e Then add */5 * * * * python /home/pi/mycapture.py You would need a date/time stamp ...
Paul Duggan's user avatar
1 vote
Accepted

Run python script on Raspbian desktop through ssh access

Before you launch the script from ssh: export DISPLAY=:0 There are other possible values but, presuming there is only one GUI user logged in on the pi, it will be :0, the first display. You can ...
goldilocks's user avatar
  • 58.3k

Only top scored, non community-wiki answers of a minimum length are eligible