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
1 answer
23 views

hwmon hwmon1 : Undervoltage detected from going to current console

I have a raspberry Pi, for which I currently use the following script whilst I set some things up watch -n .5 ntpq -np > /dev/tty2 & gpsmon > /dev/tty3 & cgps > /dev/tty4 & watch '...
user avatar
  • 111
0 votes
1 answer
15 views

Python program runs successfully through Thonny IDE but I get ModuleNotFoundError when I run the same through Terminal

I have a python code for attendance system which I'm trying to run in raspberry pi. I'm using python 3.9.2 and have installed all the required libraries through terminal. The code runs fine in Thonny ...
user avatar
  • 3
-3 votes
1 answer
41 views

How to create a file using command-line interface (CLI) in a Raspberry Pi terminal? [closed]

How can I create an empty file using a command line interface in a Terminal application of a Raspberry Pi instead of using the File Manager?
user avatar
0 votes
0 answers
9 views

Prevent sending inputs to the terminal when running an SDL app

Hello I am running a desktop less environment. I start a SDL OpenGL3 ES 2 app from a service. It shows the GUI and it receive inputs from my keyboard however these inputs are also sent to the terminal ...
user avatar
0 votes
0 answers
10 views

mpg123 making weird noices when playing mp3 files

ive just installed mpg123 but when i run the command mpg123 /media/zifjon/6679-1700/faded.mp3 it gives this as output Directory: /media/zifjon/6679-1700 Playing MPEG stream from faded.mp3 ... MPEG 1.0 ...
user avatar
  • 1
-1 votes
1 answer
44 views

Terminal not working, while everything else does

I recently booted up my Raspberry Pi after a few months. Everything seems to work (I'm posting this question from it!), except for the terminal: it doesn't work at all. I open LXTerminal, and it ...
user avatar
0 votes
1 answer
34 views

bunzip2 doesn't decompress Wikipedia dump

I've downloaded a .bz2 wikipedia dump (19GB) to my 2TB USB hard drive and want to decompress (wiki says it should be about 80GB uncompressed) it using bunzip2 via the terminal on my pi 3B+ (64-bit SoC ...
user avatar
0 votes
0 answers
72 views

Connect wirelessly to pi 4 terminal

What is the simplest way to connect directly to a raspberry pi 4 wirelessly so that I can run commands in a terminal, equivalent to SSH'ing to it but without an ethernet cable or an Access Point? The ...
user avatar
  • 101
0 votes
0 answers
67 views

cvlc started from command line is 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 Streaming a ...
user avatar
0 votes
0 answers
38 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 ...
user avatar
0 votes
0 answers
53 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/...
user avatar
2 votes
2 answers
82 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 ...
user avatar
  • 163
0 votes
1 answer
67 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 ...
user avatar
1 vote
0 answers
27 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 ...
user avatar
0 votes
0 answers
269 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 ...
user avatar
  • 103
1 vote
2 answers
400 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 ...
user avatar
0 votes
1 answer
66 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 ...
user avatar
  • 1
-1 votes
1 answer
23 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 ...
user avatar
  • 1
0 votes
1 answer
155 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. ...
user avatar
  • 1
0 votes
1 answer
302 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 ...
user avatar
0 votes
0 answers
40 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 ...
user avatar
0 votes
1 answer
175 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 -...
user avatar
  • 103
1 vote
2 answers
227 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 ...
user avatar
0 votes
3 answers
71 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 ...
user avatar
  • 133
0 votes
0 answers
36 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 ...
user avatar
0 votes
2 answers
81 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 ...
user avatar
  • 103
-1 votes
2 answers
604 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 ...
user avatar
0 votes
0 answers
79 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 ...
user avatar
0 votes
1 answer
161 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?
user avatar
0 votes
2 answers
235 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 ...
user avatar
0 votes
3 answers
4k 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 ...
user avatar
0 votes
1 answer
236 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 ...
user avatar
  • 11
0 votes
1 answer
132 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 ...
user avatar
1 vote
2 answers
40 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 ...
user avatar
  • 329
1 vote
0 answers
58 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-...
user avatar
0 votes
3 answers
103 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....
user avatar
-1 votes
1 answer
291 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 ...
user avatar
0 votes
0 answers
90 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
user avatar
  • 129
0 votes
0 answers
87 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 ...
user avatar
  • 101
2 votes
2 answers
554 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 ...
user avatar
  • 1,062
0 votes
2 answers
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 ...
user avatar
1 vote
1 answer
57 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 ...
user avatar
  • 131
0 votes
1 answer
241 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 ...
user avatar
0 votes
1 answer
364 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 ...
user avatar
  • 155
0 votes
1 answer
151 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 ...
user avatar
0 votes
2 answers
88 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 ...
user avatar
  • 2,365
0 votes
1 answer
150 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 ...
user avatar
  • 150
1 vote
1 answer
454 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?
user avatar
  • 11
1 vote
0 answers
502 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 ...
user avatar
-1 votes
1 answer
55 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 ...
user avatar

1
2 3 4 5