Go to advanced search

by aristosv
Tue Jul 09, 2019 4:43 pm
Forum: General discussion
Topic: cannot install docker on raspbian buster
Replies: 4
Views: 822

Re: cannot install docker on raspbian buster

yeah this did it

Code: Select all

curl -sL get.docker.com | sed 's/9)/10)/' | sudo sh
by aristosv
Tue Jul 09, 2019 4:17 pm
Forum: General discussion
Topic: cannot install docker on raspbian buster
Replies: 4
Views: 822

cannot install docker on raspbian buster

I have a Raspberry Pi 3, on which I just installed the latest version of Raspbian buster. I am trying to install docker on it, and according to the instructions on the docker guides, Raspbian users must use the convenience script. The repository method will not work. 2019-07-09 19_13_08-Get Docker C...
by aristosv
Wed Feb 20, 2019 2:46 pm
Forum: General discussion
Topic: a way to consolidate multiple if statements?
Replies: 3
Views: 150

Re: a way to consolidate multiple if statements?

I understand your point, but I’m not really a fan of the “if it’s not broken, don’t fix it” philosophy. I like messing around with things :)

I’ll look into “case”, see if I can find some examples. Thanks for your suggestion.
by aristosv
Wed Feb 20, 2019 2:29 pm
Forum: General discussion
Topic: a way to consolidate multiple if statements?
Replies: 3
Views: 150

a way to consolidate multiple if statements?

I have a RaspberryPi, running Raspbian, playing an audio stream using omxplayer. If the first stream is offline, I want it to fall back to a secondary stream, and if both streams are down, I want it to play from a local music folder. So I created three services, each one handling a task. (2 streams ...
by aristosv
Fri Dec 14, 2018 7:24 am
Forum: Raspbian
Topic: configure "pi" password before booting for the first time
Replies: 4
Views: 423

Re: configure "pi" password before booting for the first time

Hi, - I want to change it because I don't want it to be the default one. The fact that it won't warn me any more is an added bonus. - I am using raspbian stretch lite. - Are you suggesting that after I burn the .img to the microSD, I modify /etc/shadow file? That could be a way I guess. - I would lo...
by aristosv
Fri Dec 14, 2018 6:00 am
Forum: Raspbian
Topic: configure "pi" password before booting for the first time
Replies: 4
Views: 423

configure "pi" password before booting for the first time

I am preparing a raspbian image for digital signage, and I am trying to automate as many things as possible before booting for the first time. I know I can enable ssh server, configure WiFi and plenty of other options through cmdline.txt and config.txt, before even booting raspbian for the first tim...
by aristosv
Thu Dec 13, 2018 3:34 pm
Forum: General discussion
Topic: how to stop the screen from going blank on a lite system running x
Replies: 5
Views: 222

Re: how to stop the screen from going blank on a lite system running x

Unfortunately I had to go with a workaround, even through I don't like them, and installed xdotool to simulate a key press every 5 minutes. [Unit] Description=browser After=network.target [Service] ExecStart=/bin/bash -c "export DISPLAY=:0.0 ; sudo startx /usr/bin/chromium-browser gmail.com -no-sand...
by aristosv
Thu Dec 13, 2018 1:57 pm
Forum: General discussion
Topic: how to stop the screen from going blank on a lite system running x
Replies: 5
Views: 222

Re: how to stop the screen from going blank on a lite system running x

I did try this suggestion http://www.pihome.eu/2017/10/11/raspber ... imisation/ to disable power management but it made no difference.
by aristosv
Thu Dec 13, 2018 11:53 am
Forum: General discussion
Topic: how to stop the screen from going blank on a lite system running x
Replies: 5
Views: 222

Re: how to stop the screen from going blank on a lite system running x

What do you mean? I'm already using startx just to display the browser window in kiosk mode.
by aristosv
Thu Dec 13, 2018 10:48 am
Forum: General discussion
Topic: how to stop the screen from going blank on a lite system running x
Replies: 5
Views: 222

how to stop the screen from going blank on a lite system running x

I installed Raspbian Stretch Lite (2018-11-13) Then I installed xinit and chromium (sudo apt-get install -y xinit chromium-browser) Now I start cromium, on demand basis, to show a website on the TV the raspberry pi is connected. I basically handle this as a service and it works great! I can get the ...
by aristosv
Thu Dec 06, 2018 8:42 am
Forum: Raspbian
Topic: raspbian remove all the text shown during the boot up process
Replies: 3
Views: 614

Re: raspbian remove all the text shown during the boot up process

I understand. It's just a test-bed though. The production Pi's will have at least 3 amps power supplies.
by aristosv
Thu Dec 06, 2018 8:35 am
Forum: Raspbian
Topic: raspbian remove all the text shown during the boot up process
Replies: 3
Views: 614

Re: raspbian remove all the text shown during the boot up process

eventually I found it. This gave me a completely blank screen. echo hide raspberry pi icons sudo sed -i "1 s|$| logo.nologo quiet splash|" /boot/cmdline.txt echo hide boot messages sudo sed -i "1 s|$| quiet splash|" /boot/cmdline.txt echo disable login prompt sudo systemctl disable getty@tty1.servic...
by aristosv
Wed Dec 05, 2018 9:12 pm
Forum: Raspbian
Topic: raspbian remove all the text shown during the boot up process
Replies: 3
Views: 614

raspbian remove all the text shown during the boot up process

I am using Raspbian Stretch Lite and I want to remove all the text scrolling during the boot up process. I've googled how to do this and found various articles indicating that I should modify /boot/cmdline.txt, redirect the console to tty3 and configure loglevel=3. I also tried dmesg --console-off i...
by aristosv
Sun Dec 02, 2018 8:51 pm
Forum: General discussion
Topic: run fbi as a systemd service - no output to TV
Replies: 1
Views: 248

Re: run fbi as a systemd service - no output to TV

eventually I used fim. It worked right away.
by aristosv
Sun Dec 02, 2018 8:28 am
Forum: General discussion
Topic: run fbi as a systemd service - no output to TV
Replies: 1
Views: 248

run fbi as a systemd service - no output to TV

I am currently using this command to display a slideshow of images on a TV. fbi -T 3 -a -noverbose -t 4 /var/rpi/media/images/* I want to use this as a service though, so I can better manage it, get it's status, etc. So I created this service file /etc/systemd/system/images.service [Unit] Descriptio...
by aristosv
Sat Sep 08, 2018 6:45 am
Forum: General discussion
Topic: raspbian on a vertical touchscreen - the mouse thinks its horizontal
Replies: 2
Views: 144

raspbian on a vertical touchscreen - the mouse thinks its horizontal

I am using the latest version of raspbian on a 27’ touchscreen displaying the raspbian desktop. I added “display_rotate=1” at the end of “/boot/config.txt” because the touchscreen is mounted vertically. All good, the desktop appears vertically, everything working just fine. Except for the mouse. For...
by aristosv
Sun Aug 12, 2018 4:34 pm
Forum: General discussion
Topic: enable the camera module on chromium browser
Replies: 1
Views: 573

Re: enable the camera module on chromium browser

my bad. this fixed it.

Code: Select all

sudo sed -i -e "\$asnd-bcm2835" /etc/modules
sudo sed -i -e "\$abcm2835-v4l2" /etc/modules
echo "options bcm2835-v4l2 gst_v4l2src_is_broken=1" | sudo tee /etc/modprobe.d/bcm2835-v4l2.conf
obviously I was not loading the module on startup.
by aristosv
Sun Aug 12, 2018 3:40 pm
Forum: General discussion
Topic: enable the camera module on chromium browser
Replies: 1
Views: 573

enable the camera module on chromium browser

I have an RPi3 running Raspbian stretch, and the NoIR camera module installed. When running "raspistill -v -o test.jpg" I get a picture, so I know the camera works correctly. Using chromium-browser, I open webcamtoy.com and try to take a picture through the browser. But I get a message saying "Camer...
by aristosv
Sat Jun 02, 2018 2:56 am
Forum: General discussion
Topic: samba allow write all users
Replies: 4
Views: 390

Re: samba allow write all users

this worked
[Shared]
path = /media
read only = no
guest ok = yes
But now the local users of the pi can't write in the folders created under /media
by aristosv
Fri Jun 01, 2018 5:35 pm
Forum: General discussion
Topic: samba allow write all users
Replies: 4
Views: 390

samba allow write all users

I want to configure samba on my raspberry pi, to create a shared folder writable by everyone. Everyone means, I won't create samba users on Raspbian, and any user from any Windows machine will be able to write in this folder. I tried multiple options in /etc/samba/smb.conf. I can make the shared fol...
by aristosv
Sat Jan 07, 2017 7:55 am
Forum: Beginners
Topic: load variables from previous folder
Replies: 1
Views: 341

load variables from previous folder

I am currently using this to load the variables in my bash scripts source "${BASH_SOURCE%/*}/variables" After a few changes in the folder structure of my scripts, I now have to go back one folder, enter another folder and then load the variables file. How can I modify the line above to accommodate t...
by aristosv
Sun Dec 25, 2016 3:40 pm
Forum: Raspbian
Topic: merge two bash scripts
Replies: 0
Views: 328

merge two bash scripts

I am currently running the following two bash scripts, in order to start x, matchbox and midori on the raspberry pi hdmi, using a remote ssh session. start-browser #!/bin/bash # import variables source /var/rpi/scripts/config/variables/general echo "starting browser" DISPLAY=:0.0 sudo xinit $config/...
by aristosv
Mon Dec 19, 2016 7:06 pm
Forum: General discussion
Topic: shuffling mp3 files with spaces causes problems
Replies: 8
Views: 1005

shuffling mp3 files with spaces causes problems

I am trying to loop and shuffle the mp3 files in a directory so I can play them randomly and continuously. So I created this script. #!/bin/bash # import variables source "${BASH_SOURCE%/*}/variables" # loop & shuffle while true do for audio in $(ls $localaudiomedia/* | shuf) do echo "playing $audio...

Go to advanced search