Skip to content

Tag: linux

Error while cross-compiling chromium for ARM from x_64

I am trying to build chromium from source code following instructions at https://chromium.googlesource.com/chromium/src/+/master/docs/linux/build_instructions.md I have successfully built and tested chromium for amd device, Now I am trying to cross-compile it for arm device, However when I set the flag target…

Error: Unable to write pid file Mosquitto v2.0.3

since I updated Mosquitto v2.0.3 on Ubuntu 16.04 the users can’t connect to the broker. When I tried to run with /usr/sbin/mosquitto -c /etc/mosquitto/mosquitto.conf it threw the following message. 2020-12-22|12:37:02: Error: Unable to write pid file. I saw some people had the same problem, so I added p…

VLC – Get played file path

I would like to get the path of the file currently played by vlc. It seems that information can be obtained using the http server of vlc. Since I don’t know much about http, I was not able to do it even with the help of the previous link or the vlc documentation. To start an http server, I am

Embedded python fails to compile on Raspberry Pi

I installed python 3.9.1 on my Raspberry Pi following the instructions here https://www.ramoonus.nl/2020/10/06/how-to-install-python-3-9-on-raspberry-pi/ and set it as the default python interpreter. I got my compiling and linking parameters for embedded Python following the instructions here https://docs.pyt…

What is the usage of 2nd parameter in os.execl()

This question is inspired by the comments in Why am I getting an “execv(file, args)” error when using execl()?. When we use The second parameter seems redundant for me, can anyone help explain why we need this parameter? Answer In the old good days without graphical monitors and without mice, a text-only cons…