Questions tagged [terminal]

Use this tag if your problem relates to command line (CLI) or terminal based (TUI) applications or interfaces.

Filter by
Sorted by
Tagged with
0
votes
0answers
4 views

cvlc not showing subtitles when streaming video from HLS URL

I am trying to migrate from OMXplayer to vlc on a RPI3 without X. Playing local videos from command line with subtitles is successfully done as cvlc video.mp4 --sub-file=subtitles.srt Watching a ...
0
votes
0answers
14 views

Can't run MetaSploit commands on Raspberry Pi received via LoRa radio/SPI

Relevant Code: https://github.com/MichaelBonnet/TeamZephyr/tree/main/radio, rfm9x-base.py and rfm9x-payload.py Situation: I am using LoRa radio modules as a communication link between two Raspberry ...
0
votes
0answers
22 views

Check if network is up, if not, connect to wifi using existing credentials

I have a set of tasks that I run on a schedule, but it requires network. I have a raspberry pi 4b I have the /etc/wpa_supplicant/wpa_supplicant.conf setup like this: ctrl_interface=DIR=/var/run/...
2
votes
2answers
33 views

Printing a image in the mini thermal receipt printer adafruit using raspberry pi

I have opened the command prompt on a Raspberry Pi and typed the command as: lp -d ZJ-58 -o fit-to-page /home/pi/Documents/image_name.bmp which produces the gibberish printing as follows: Could ...
0
votes
1answer
26 views

Raspberry pi ssh connect to remote server

I have a remote cloud server (accessible only through ssh), with preexisting private and public keys, and I want to connect to it with my raspberry pi 3. I have already moved the private key over to ...
1
vote
0answers
26 views

why won't my raspberry pi python program run at boot up? [duplicate]

i have recently bought a raspberry pi 4 module b to be able to run programs 24/7. but sometimes my power/electricity can go out at which then makes the program stop working. i tested my program in the ...
0
votes
0answers
40 views

Command Line Audio Player on Raspi

Yes, I know about omxplayer. :-) Looking for an audio player for raspi that I can run as a background daemon. I need it to: run headless enqueue a playlist accept commands through an alternate ...
1
vote
1answer
62 views

'OpenSSL NOT found' on raspberry pi 4, I don't know how to deal with this situation

First of all I have used sudo apt install git build-essential cmake libuv1-dev libhwloc-dev -y Everything went fine in this. I am getting following error on my raspberry pi terminal I used git clone ...
0
votes
1answer
50 views

Raspberry PI Remote Access to Control Software Run in CLI Mode

Is there anyway to access a Raspberry PI remotely but rather viewing the desktop, it brings up the CLI interface which has a program running to be able to test and fix any issues that may arise within ...
-1
votes
1answer
22 views

Custom appearance with X forwarding over ssh

seeking a way to make my X forwarded session look exactly like how I have my raspbian desktop appearance on my remote host. When I currently run ssh -XY ***.***.*.*** lxsession I get a default LXDE ...
0
votes
1answer
81 views

Detecting clicks of usb mouse on raspberry pi

I am running the Debian lite cli PI 3 I have a wired USB mouse I have plugged into one of 4 usb ports I am trying to write a python script to detect when I left/right click and use the scroll wheel. ...
0
votes
1answer
111 views

Boot to CLI vs GUI terminal: What's the difference?

I recently realized that I don't use any of the features of the GUI of raspbian other than the terminal for my current project. I therefore decided that, rather than boot in to the GUI desktop only to ...
0
votes
0answers
35 views

command is working on terminal but not in the script

I am using raspbian in headless mode and I am trying to mount USB on USB insertion. Script is executing but USB mount command failing. here is the script, filename is automount.sh (this script gets ...
0
votes
1answer
122 views

Trying to install Minecraft server - can't install the correct JAVA version

My goal is to install a Minecraft server on my Raspberry Pi 4B with 8GB RAM. I mainly followed this guide which includes a script to install all of the components quickly. The main commands are: wget -...
1
vote
2answers
116 views

Partial success in displaying unicode characters

Here is my starting point: Raspberry Pi 4, Manjaro - Raspberry Pi 4 KDE Plasma Unicode special symbols fall into two big categories: the ones showing properly, and the ones displaying just boxes with ...
0
votes
3answers
56 views

Disconnect from wifi without disabling interface

For a client project, a part of the application requires me to disconnect the Raspberry Pi from the WiFi. I'm doing this operation using OS commands. To disconnect from the wifi, currently I'm calling ...
0
votes
0answers
31 views

Change DVFS scale on raspberry pi in real time from the CLI?

I am creating an app that will showcase the power efficiency of the raspberry pi with different DVFS scaling. I am wondering whether there is an option to change the settings from the CLI, since that ...
0
votes
2answers
65 views

How do I regain access to either the filesystem or terminal on a raspberry pi that has all networking services disabled and no terminal?

Due to some unfortunate configuration settings, I kludged my raspberry pi into not having a terminal (it normally boots into an app, which still works fine) nor having network access. I can no longer ...
-1
votes
2answers
342 views

how do i reset my raspberry pi using the terminal

How do i reset my raspberry pi using terminal? I don't have access to another PC so i have to reset using only the raspberry pi. I have tried searching up answers but no-one seems to not have another ...
0
votes
0answers
55 views

access clipboard content programmatically in raspbian

On Debian I have some success using xclip, e.g. xclip -sel clip < ~/test.txt. Is there a way to do it on Raspbian out-of-the-box? I tried to install xclip, i.e. sudo apt install xclip and it was ...
0
votes
1answer
65 views

How to to change the cursor theme using terminal/cli?

I am still working with different Os's, i am currently working with raspberry pi-os and i want to know how to change the mouse cursor using the terminal?
0
votes
2answers
131 views

How to run python script at startup?

I've been all over the internet looking for a solution for this but everybody seems to have different answers and none of them work. I have a python script that emits audio through the headphone jack ...
0
votes
2answers
2k views

sudo apt-get update problem

I was trying to update my RPI. $sudo apt-get update , and this was my result: Reading package lists... Done E: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied) E: Unable ...
0
votes
1answer
133 views

Rpi Thonny python IDE has a problem running Pynmea2 GPS program. How to fix it?

I can't run this gps program in Thonny IDE. How come I can only run this gps program when I run it in the terminal without sudo? Is there a way to fix this? EDIT: The part without the print(gps) and ...
0
votes
1answer
41 views

Python - how to make non blocking terminal where every one second serial link sends packet [closed]

I can write this in C#, but now i learning python and I don´t know how program this. I want to make simple terminal where serial link sending every one second packet... In non-blocking way. In C# I ...
1
vote
2answers
33 views

Tell Terminal application to use Windows key instead of Control-Shift e.g. for cut/paste?

Is there a way to set up custom key mappings for any of the Terminal programs so that I can do things like this: Windows-C for copy Windows-v for paste Windows-x for cut Windows-t for new tab I am ...
0
votes
0answers
47 views

Getting error when running node -v

I have been trying to install node.js for the last one hour. After reinstalling and removing nodejs numerous times, every time I run node -v I get the following error: node: /usr/lib/arm-linux-...
0
votes
0answers
11 views

Openbox chromium browser Companion emulator

Do you have a solution to select a window part of a web page and take that on full screen with OpenBox chromium browser? You can look on photos why.
0
votes
3answers
78 views

Setting update command on rc.local

what will happen if I put my update and upgrade command on /etc/rc.local?? after reading some forums and all I understand that we can use crontab and so on. But what will happen if I do it in this way....
-1
votes
1answer
182 views

Start menu for Raspberry?

I want to have a start menu for raspbian, which comes up after boot into console, where I can choose what to start: Console, GUI, Emulation Station or a media player like xmbc. This could be a script ...
0
votes
0answers
56 views

How to re-enable console login on Raspbery Pi image?

I have an image, which boots into neither console, nor GUI (only web services available). How this could be done? How to re-enable console login? I can only edit image, not run raspi-config
0
votes
0answers
15 views

Playing a sound through sonos speakers in terminal

I would like to play a sound effect I have saved locally on my SONOS speakers in my house through the terminal in my raspberry pi 4. I just have no idea where to start. sonos and sonos-cli didn't work ...
0
votes
0answers
58 views

Kiosk-mode with CLI

I am writing a command-line application using NCurses and I have a Raspberry Pi with a Kano "Make Your Own Tablet" kit which is essentially a touchscreen with some accessories attached. I ...
0
votes
0answers
26 views

Ubuntu 20.10 for pi4: There was an error creating a child procsess. fix

This is what happens when I launch the terminal Failed to open PTY: No such file or directory So I have been using the Ubuntu terminal on my raspberry pi 4 model b 8gb with Ubuntu for a couple moths ...
1
vote
1answer
253 views

How do I figure out the brand and type of an SD-card on the commandline?

How do I figure out the brand and type of an SD-card remotely on the commandline via SSH? I so far tried: fdisk -l /dev/mmcblk0 gdisk -l /dev/mmcblk0 dmesg | fgrep -i mmc (the boot entries were ...
0
votes
2answers
1k views

Trouble connecting to bluetooth device

I'm a little confused on how I would interact with a bluetooth device on my Raspberry Pi 4. I have a four probe cooking thermometer that I'd like to read tempatures from and then make a web interface ...
1
vote
1answer
46 views

Console login when password contains British Pound Sterling (£) character

When setting up my Pi, I set my password before changing the keyboard type and layout and rebooting. My password now contains a British Pound Sterling (£) symbol where I had intended to type an ...
0
votes
1answer
186 views

MPG321 "Home directory not accessible: Permission denied" on PHP exec_shell

I try to execute a shell from a PHP using exec_shell() function, but it doesn't working. I've tried chmod, chown and doesn't execute but on terminal yes. Sorry for this question but I really need a ...
0
votes
1answer
300 views

Install pinout command in Rpi 1B

After install RaspiOS lite (2021-01-11-raspios-buster-armhf-lite) in a Rpi 1B model, I get command not found from pinout command. I found this guide to get pinout command in a Rpi zero: sudo apt ...
0
votes
1answer
99 views

I need to run the command "sudo service dnsmasq start" on every startup

I need to run the command "sudo service dnsmasq start" on every startup as I'm using my raspberry as a network bridge (from wifi to ethernet) I know the command works but it's hard to start ...
0
votes
2answers
59 views

ssh shuts down when screen turns off

I have ssh running on boot, on my raspberry PI, it works fine, until the screen shuts off, or it goes into a sleep mode, or whatever its doing. Then ssh becomes unresponsive, and I cannot establish ...
0
votes
1answer
85 views

How to list all RPI frequencies' settings?

I've been playing with overclocking in the last 2 days. I'm helping myself with this list. Yesterday I came across a command which lists all of these parameters and the frequencies which are currently ...
1
vote
1answer
333 views

raspberry pi 4B: writing to screen buffer / framebuffer

In the old days you could bypass system calls, bios calls, etc. by writing an ASCII character directly to a byte in the "screen buffer". Is there something similar with the raspberry pi 4b?
1
vote
0answers
406 views

PyCharm 2020.2 can't open terminal [closed]

I am having a problem with PyCharm on my raspberry pi. Everything works just fine when using PyCharm 2020.2, except for its terminal. When I try to open the terminal tab it says the following: Cannot ...
-1
votes
1answer
53 views

Is it possibel to send a CLI command from a input on the GPIO

Im a beginner in raspberry, and i would like to send a command on the CLI whenever a input is activated on a pin. Basically i want to push a button on a breakoutboard or similar, that sends a signal ...
1
vote
1answer
83 views

Lauching feh from python script over remote connection (pi zero w)

hoping someone might be able to help a complete newbie here. I am connected to a terminal session in my pi zero via putty and Xming Server and have installed feh to inspect image files. so if I enter ...
1
vote
2answers
74 views

How Do I Keep a CLI Script Running When I Close SSH Session

I am working on Martin F. O'Connor's internet connection monitor (https://github.com/mfoc/monitor-internet-connection), which records Internet Outages. The script runs from the command line ($python3 -...
0
votes
1answer
1k views

Change rpi appearance and theme settings through command line

Is there a way to change the appearance and theme settings of the rpi through the command line or by editing a file? I do not want to use the UI options that you can access through the rpi desktop. ...
0
votes
1answer
34 views

python modual problem with terminal

I have written this program in python: print("CC ACTIVATED") import lcddriver import time import subprocess from datetime import datetime from pydub import AudioSegment from pydub.playback ...
0
votes
1answer
966 views

How do I encrypt the entire system with VeraCrypt on the command line on Raspberry Pi OS?

With an unspeakable amount of problems, which I will spare you, I finally have managed to install Raspberry Pi OS and VeraCrypt. I have used VeraCrypt (and, previously, TrueCrypt) for many years, but ...

1
2 3 4 5