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
1answer
38 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
32 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
57 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
49 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
44 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
20 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
55 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
192 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
37 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
39 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
119 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
681 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
99 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
31 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
26 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
41 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
59 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
123 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
38 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
13 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
36 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
165 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
850 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
38 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
150 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
256 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
75 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
42 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
64 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
294 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
353 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
52 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
67 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
66 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
0answers
21 views

accessing terminal from long rang

I'm new here and I followed a guide to create a Raspberry Pi 3B+ / Navio2 drone. I have it all set up with radio telemetry modules and Mission Planner is working. Now my goal is to access the RPi/...
0
votes
1answer
752 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
31 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
847 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 ...
0
votes
2answers
1k views

Boot to CLI using headless configuration

I would like to know if there is a way to change the Raspberry Pi OS boot options to CLI in a headless manner before first boot; much like enabling SSH by creating a file in /boot or by setting up ...
0
votes
0answers
30 views

Raspberry PI's wlan0 interface stops working after plugin a USB device

I am working on a project with a raspberry pi 4B, I am building a NAS drive out of a RPI, I have installed samba, hostapd and dnsmasq for my project. The hostapd is installed wlan0 interface and is ...
1
vote
0answers
187 views

Raspberry PI 4 won't boot into desktop

Hey guys I'm stuck in a tricky situation :D Today I tried to rotate my touchscreen via adding a line in the libinput.config file. Something must have gone wrong because now when I boot just the ...
0
votes
1answer
5k views

How to run Minecraft Server in the background properly

I have a Minecraft Server on a Raspberry Pi 4 that I would like to run in the background. Is there a proper way for me to do this? I hear there are other methods, such as ctrl-z, '&', etc. Which ...
0
votes
1answer
47 views

what metadata is it Raspberry PI thinks I should copy?

I was just reading an installation instruction for raspbian https://www.raspberrypi.org/documentation/installation/installing-images/linux.md when I read this command dd bs=4M if=2020-02-13-raspios-...
0
votes
2answers
295 views

Use 24-bit color Emacs theme with Raspberry Pi over SSH

I am using Emacs on my Raspberry Pi (an RPi Zero W and RPi 4) through an SSH connection with the Blink terminal program on my iPad. Emacs seems to be limited to 256 colors, but the themes I am using (...
0
votes
1answer
97 views

raspberry pi access point status

I have created an access point on my raspberry pi, now I wish write a python program to check if an access point has been created or not? is it possible to know through command line or python library....
-1
votes
1answer
61 views

Remove the raspberry pictures from the top of the console [duplicate]

I setup my rPi to start with Console Autologin. I also start a script from ~/.bashrc, which runs tail -f on a growing file. The four raspberry icons on top of the console never disappear: How can I ...
0
votes
1answer
103 views

Sudo nano problem [closed]

I run the command in the screen shot though ssh to my raspberry pi. All I get is a blank file. I know the file exists, and has code in it, but nano must've not understood me. Here is what I get when I ...
0
votes
3answers
3k views

copy sd card through terminal

I'm trying to back up my retro pie SD card in case of corruption, but Retro pie does not have a desktop environment, so can't use the sd card copier tool. Is there some terminal command to do this? I'...

1
2 3 4 5