Go to advanced search

by aristosv
Wed Apr 08, 2020 4:40 am
Forum: General discussion
Topic: send keyboard input terminal commands while X is started
Replies: 9
Views: 338

Re: send keyboard input terminal commands while X is started

The service I mentioned above starts X, without any window managers. Then I run a mono app, using mono myapp.exe. So far so good. I then want to send a command to the terminal. To do this, I mapped F12 on my keyboard with the command I want to send. But no matter what I type on my keyboard, the focu...
by aristosv
Tue Apr 07, 2020 2:37 pm
Forum: General discussion
Topic: hide all boot process in Buster
Replies: 3
Views: 138

Re: hide all boot process in Buster

yes, this worked, thank you.
If I understand it correctly, this redirects the console to serial?
by aristosv
Tue Apr 07, 2020 12:52 pm
Forum: General discussion
Topic: hide all boot process in Buster
Replies: 3
Views: 138

hide all boot process in Buster

I am working on a raspberry pi running Raspbian Buster lite, and I want to remove all boot information. Basically I want a black screen, no text or prompts or anything. This is what I have so far. echo hide rainbow sudo sed -i '1 i\disable_splash=1' /boot/config.txt echo hide boot icons sudo sed -i ...
by aristosv
Tue Apr 07, 2020 11:32 am
Forum: General discussion
Topic: send keyboard input terminal commands while X is started
Replies: 9
Views: 338

Re: send keyboard input terminal commands while X is started

I'm not using any window manager, I'm just starting X so I can run a mono app.
by aristosv
Tue Apr 07, 2020 11:04 am
Forum: General discussion
Topic: send keyboard input terminal commands while X is started
Replies: 9
Views: 338

send keyboard input terminal commands while X is started

I have a raspberry pi 4 running raspbian buster lite. I installed xserver-xorg and then created a service to start X when I want to. [Unit] Description = xorg After = remote-fs.target network-online.target Wants = network-online.target [Service] User = root Group = root Type = simple ExecStart = X R...
by aristosv
Wed Apr 01, 2020 4:48 pm
Forum: General discussion
Topic: can't make my app appear in full screen mode
Replies: 0
Views: 54

can't make my app appear in full screen mode

I am running Raspbian Buster lite on a RaspberryPi 4. I have installed xserver-xorg and mono-complete. I have created this service to start X [Unit] Description = xorg After = remote-fs.target network-online.target Wants = network-online.target [Service] User = root Group = root Type = simple ExecSt...
by aristosv
Mon Mar 30, 2020 1:04 pm
Forum: General discussion
Topic: vlc show controls in full screen mode not working
Replies: 5
Views: 263

vlc show controls in full screen mode not working

I just installed Raspbian Buster on a Raspberry Pi 4. vlc player v3.0.8 is already installed, but there's an issue. Even though "show controls in full screen mode" is selected in preferences, when you play a video in full screen mode, and move the mouse around, the controls don't appear. You have to...
by aristosv
Sun Mar 29, 2020 1:28 pm
Forum: General discussion
Topic: run on first boot without messing with the root partition
Replies: 3
Views: 160

run on first boot without messing with the root partition

To enable ssh on first boot, I place a file named "ssh" on the boot partition To enable Wi-Fi on first boot I place a file named "wpa_supplicant.conf" with my Wi-Fi configuration on it. Is there a way to run a script on first boot, by placing it in the boot partition? I want to run a few commands on...
by aristosv
Tue Jul 09, 2019 4:43 pm
Forum: General discussion
Topic: cannot install docker on raspbian buster
Replies: 4
Views: 1758

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: 1758

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: 190

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: 190

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: Raspberry Pi OS
Topic: configure "pi" password before booting for the first time
Replies: 4
Views: 844

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: Raspberry Pi OS
Topic: configure "pi" password before booting for the first time
Replies: 4
Views: 844

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: 335

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: 335

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: 335

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: 335

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: Raspberry Pi OS
Topic: raspbian remove all the text shown during the boot up process
Replies: 3
Views: 990

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: Raspberry Pi OS
Topic: raspbian remove all the text shown during the boot up process
Replies: 3
Views: 990

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 [email protected].servic...
by aristosv
Wed Dec 05, 2018 9:12 pm
Forum: Raspberry Pi OS
Topic: raspbian remove all the text shown during the boot up process
Replies: 3
Views: 990

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: 364

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: 364

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: 205

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...

Go to advanced search