Questions tagged [terminal]
Use this tag if your problem relates to command line (CLI) or terminal based (TUI) applications or interfaces.
239
questions
-1
votes
0
answers
15
views
how to update an individual app through terminal USING BACKPORTS [closed]
I was trying to update an aplication through backports but i couldn't, any suggestion?
0
votes
1
answer
46
views
How to access GPIO pins status within freepascal or Lazarus?
I wrote a program using Lazarus and it checks for GPIO2 pin's status every 3 seconds using TProcess component to run a terminal command for retrieving GPIO pin status as follows...
procedure TForm1....
0
votes
1
answer
67
views
Run terminal with commands after startup on Raspberry Pi OS
I need to open the terminal on startup and execute three commands in the same window automatically on my Raspberry 4B. The first is a cd command. The second one is: source /tflite/bin/activate. And ...
0
votes
3
answers
172
views
How to ssh into raspberry pi when wifi auto switches to 5GHz
My router uses Smart Connect which like mesh, allows the router's 2.4 GHz and 5 GHz bands to use the same wireless settings and switches over to the best connection in traffic.
When my headless rpi is ...
0
votes
1
answer
46
views
Create a script to subscribe a MQTT topics [closed]
I'm trying to create a script that opens a terminal with 3 tabs to subsribe MQTT topics to be monitored. This script will be loaded during boot.
Such script in ubuntu is shown below but raspbian does ...
1
vote
1
answer
189
views
How to Access Terminal Over Serial Port in Raspberry pi 4
I'm trying to Read and Write over Serial Port to Terminal in Headless Linux That I Installed on my Rpi4.
is That even Possible? is so, how?
0
votes
1
answer
15
views
Running non-executable in Raspbian OS for Raspberry Pi in menu, can't find terminal
I have installed Fern wifi cracker, it's a python file called "execute.py", I opened the "Main Menu Editor" app, that lets you add apps in the menu bar on the top of the screen. I ...
2
votes
2
answers
796
views
Transfer files from one RPi to another (via network)
I have two Raspberry Pis, one a 3 running Raspbian Stretch, the other a 4 running Raspbian Bullseye, both headless.
I have need to transfer files from the 3 to the 4 (always in that direction) over ...
1
vote
0
answers
30
views
wine: cannot find L"/home/lubuntu/.wine/drive_c/windows/Neko"
I am an unexperienced Linux user. I am trying to run an exe file in wine on live usb lubuntu 22.04 The problem is that when I try to run it from terminal by pasting the destination along with the ...
0
votes
0
answers
53
views
How to disable anti-aliasing only in the terminal?
I find the alaised fonts really difficult to read in the terminal. I have been able to disable anti-aliasing across the board by using the ~/.fonts.cnf file. This makes using everything else much less ...
0
votes
0
answers
47
views
How could RaspberryPi HDMI Port be changed with terminal code?
When both HDMI ports connect two separate displays, I want to change the HDMI port directly from 0 to 1 or 1 to 0 with console(terminal) code. Is it possible? Thank you.
0
votes
1
answer
150
views
Boot on Live Linux (USB) with command line of SD Card Raspbian
I would like to be able to boot on a live linux contained in a usb key connected to my Raspberry PI, from the terminal of my primary Raspbian contained on the SD card.
The goal is to be able to ...
3
votes
1
answer
3k
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 '...
0
votes
1
answer
76
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 ...
-3
votes
1
answer
336
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?
-1
votes
1
answer
904
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 ...
0
votes
1
answer
39
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 ...
0
votes
0
answers
213
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 ...
0
votes
0
answers
194
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 ...
0
votes
0
answers
256
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
2
answers
205
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 ...
-1
votes
1
answer
181
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
0
answers
30
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 ...
1
vote
1
answer
2k
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
1
answer
110
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
1
answer
27
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
1
answer
404
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
1
answer
1k
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
0
answers
84
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
1
answer
424
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
2
answers
759
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
3
answers
251
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
2
answers
236
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
2
answers
2k
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
1
answer
533
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
2
answers
413
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
3
answers
12k
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
1
answer
475
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
1
answer
440
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
2
answers
72
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 ...
1
vote
0
answers
111
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
3
answers
196
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
1
answer
566
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 ...
1
vote
0
answers
278
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
0
answers
231
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 ...
6
votes
2
answers
3k
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
2
answers
2k
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
1
answer
69
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
1
answer
377
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
2
answers
514
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 ...