Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [cli]

CLI stands for Command Line Interface, and is also know as the shell, console or terminal. A CLI is the opposite of a GUI, and normally consists of a trace of recent commands and their outputs, as well as a space allowing the user to enter commands.

1
vote
0answers
7 views

Keyboard repeat speed in CLI mode

I have several Raspberry Pi 3B units that basically work just fine on the desktop. I have USB keyboard and a gaming mouse, and in raspi-config I set the delay and repeat times to be rather slow, much ...
0
votes
1answer
59 views

Execute service or script via hotkey

I use Raspbian lite. I'm trying to map a hotkey to start the service or a script. I do not use a graphical user interface, only a text console with a local attached display. I'm not using ssh. I ...
0
votes
1answer
54 views

Why is my Raspbian command prompt grey?

I was messing around in settings and updating a few things today and rebooted my Raspberry Pi running Stretch and went to open the CLI again and the prompt has turned gray and some commands like ll ...
0
votes
1answer
60 views

Installing Cyberduck CLI on Raspberry Pi 3b+ with Raspbian

I am attempting to install Cyberduck CLI on a Raspberry Pi 3b+ that has the default Raspian. I am aware that there is a UI available, however for the purposes of writing a script to automate mass ...
0
votes
1answer
171 views

Best OS for mining Monero on the Raspberry Pi [closed]

Currently I'm mining Monero on the raspberry pi (for educational purposes and not profitable). Short input on Monero: only CPU performance matters GPU and RAM can/should be neglected mining is ...
1
vote
0answers
49 views

What does Ctrl-A do in Raspbian terminal?

In macOS terminal, I'm used to pressing Ctrl-A to move the cursor to the beginning of the line, for example when I forgot to type sudo. I tried this in Raspbian stretch lite, and it froze the system, ...
1
vote
1answer
18 views

How to display native-resolution console on the monitor after booting without one?

I've started my Raspberry Pi Model B without having any monitor plugged. Then I plugged the HDMI monitor, but got no signal. So far I've been able to turn it on by using the command: tvservice --...
0
votes
0answers
56 views

Scratch2 offline in presentation mode / full screen from CLI

I'm using Raspbian 9.1 Stretch with pixel desktop environment. I've seen that it includes an offline version of scratch2. I was trying to open scratch2 in presentation mode (full screen) from the ...
1
vote
0answers
111 views

Displaying only video/image while python program running on background

I have a Raspberry Pi 3B with a Python3 code running 24/7. Right now, I'm running Raspbian Stretch desktop on console mode with no I/O. I only connect a screen via HDMI and an USB keyboard for ...
2
votes
3answers
463 views

Pygame and Alsa lib error

I am running a pygame window on a raspberry pi. The raspberry pi is connected to an lcd through gpio (not hdmi). My pygame script does not contain any mention of audio, only some basic rectangle ...
0
votes
1answer
465 views

Pygame run on external screen using ssh

I have a raspberry pi with a lcd screen attached witch is mirroring the raspberry pi's display. I want to show a pygame window on it. When I run: python main1.py on the ripi terminal the pygame window ...
1
vote
0answers
28 views

Missing UDP output in `ss -an`

While running the latest version of Raspbian Stretch Lite, I've noticed that the ss command does not show any information for processes listening on UDP even though the netstat does report these ...
0
votes
2answers
497 views

No command line interface on HDMI but kernel logs printed

I'm currently trying to build my own custom Linux OS for my Raspberry Pi 3 and am experiencing some trouble. I'm using buildroot v2018_2. I configured the system using make raspberrypi3_defconfig ...
0
votes
0answers
426 views

Pygame display on a Pi Zero from the command line (without X)

I am trying (and failing) to get pygame to display graphics on a Pi Zero without X windows running. My system is a Pi Zero with Raspbian Lite which I am connected to via RealVNC. RealVNC is run with ...
0
votes
0answers
60 views

How to Start program when Pi boots up

I am making a system, in which I need to be able to make the pi autologin and run a python3 script without a monitor or password. The script requires human input from a keyboard, but it doesn't work ...
4
votes
1answer
854 views

Is `command-not-found` broken?

There's a really great package that I love called command-not-found. When you type unknown commands, it searches through apt and suggests packages to install. It has worked in Raspberry Pi before. ...
6
votes
1answer
6k views

Strange problem on startup - cannot open access to console

Rpi 3 Model B, 16gb SD, all configured well and working fine until yesterday sometime, when rebooting, I now have to press "enter" to continue due to: "Cannot open access to console, the root account ...
2
votes
1answer
3k views

How do I install a new console font?

I am making a console application running on Raspbian. I hit CTRL+ALT+F2 to get to the console view, but now I do not have access to the same fonts I had in terminal. I am trying to install a specific ...
1
vote
1answer
3k views

Screen Blanking on console in Raspbian Stretch (Debian 9)

I've burned the new Raspbian Stretch Lite image onto a SD Card and use this as my development system. I was used to turn off screen blanking on the console by changing the BLANK_TIME in /etc/kbd/...
0
votes
1answer
52 views

I am searching for a command for the terminal that will close the GUI and open the CLI

I am searching for a command for the terminal that will close the GUI and open the CLI. I am aware of the key shortcut to get there but am trying to create a shortcut that will run a program from CLI
0
votes
1answer
80 views

Why does showconsolefont show garbage in CLI mode?

I get lines and lines of garbage when I try to look a my current fonts: !"#$%&'()*+,-./0123456789:...
1
vote
1answer
908 views

How to remove all (and by “all” I really mean “all”) text in Plymouth boot

I recently installed the latest raspbian image on my Pi and configured it to boot to CLI with autologin. This version has the Pixel theme of Plymouth. I followed all tutorials I could find on ...
1
vote
0answers
203 views

PIXEL switching to Console after desktop loads, preventing VNC

quick question/problem I hope. I have a Raspberry Pi 3 B+ set up with Debian Jessie and PIXEL. I set the machine up to run as a VPN server initially and then for kicks installed RetroPie on top. I ...
2
votes
2answers
2k views

How to change the keyboard layout console-only

How can I change the keyboard layout from default (GB? US?) to anything else? I tried various methods from posts related to debian but these fail. Installing and executing raspi-config does not help.
1
vote
1answer
317 views

How to connect to Wi-Fi when I'm already connected using an Ethernet cable?

I've got my Pi connected to my router using a regular Ethernet cable and I can SSH into the Pi. That works pretty well, but I now want to connect my Pi to the Wi-Fi so I don't need an Ethernet cable ...
0
votes
2answers
784 views

How to lower screen brightness on 2.4 inch monitor

I have a 2.4 inch adafruit monitor for my rasberry pi, connected through the GPIO pins, and I have a problem with setting the screen brightness. https://learn.adafruit.com/adafruit-2-4-pitft-hat-with-...
1
vote
1answer
71 views

Kodi goes transparent with CLI overlayed

I have a project setup that allows for a car installation of an Audio Receiver Audio Receiver Code I currently have Kodi setup the autorun on boot. Around 10+ minutes the Kodi screen becomes ...
1
vote
3answers
2k views

Is it normal if the green LED is constantly flashing on a Raspberry Pi 3?

Everything seems to be working as expected, but the green LED flashes briefly every 400-500 ms. The system is not under heavy load (almost completely idle, ssh service running without users logged in)...
12
votes
2answers
4k views

How can I blank the screen from the command line over SSH?

This is the same question as this but for Raspberry Pi 3 / Raspbian. I need a way to show black screen by running command in console by using SSH connection. Monitor should not go to standby I ...
1
vote
0answers
298 views

Console is bigger than my Raspberry Pi screen resolution

I have bought a Raspberry Pi 7" touch screen, and it seems to work fine. When the boot process is running, the normal Linux boot messages appear on the screen - but after the screen is filled, it ...
1
vote
1answer
441 views

Raspbian system-wide hang after using “reset” and logging-off from the serial console

I'm looking for an explanation and/or a solution for resolving an issue when connecting to the Pi by its serial console connection: After using the "reset" command at any point during a session - a ...
3
votes
0answers
385 views

Can consolekit sefely be removed, when running headless (no GUI)?

Lately I am getting a lot of the following messages in my /var/log/syslog: Aug 26 07:48:20 raspberrypi console-kit-daemon[2376]: GLib-CRITICAL: Source ID 42 was not found when attempting to remove it ...
0
votes
1answer
1k views

Change default console TERM from vt102 to xterm?

When connecting to the Pi by the serial console, I'd like to have the default TERM be xterm, rather than the current default of vt102: pi@raspberrypi:~$ echo $TERM vt102 pi@raspberrypi:~$ tty /dev/...
1
vote
0answers
14 views

Is there a way to recover a closed terminal used to open and interact with omxplayer? [duplicate]

omxplayer runs on raspberry pi from a terminal. I am opening it and controlling it from my Ubuntu via SSH. If I force close the SSH terminal and reboot my Ubuntu the raspberry pi continues to play ...
2
votes
1answer
1k views

Run pygame via command-line without window manager

I have had lots of trouble with running a pygame application such as the pre-installed wormy.py (or any application like lxterminal or minecraft-pi) on a Pi from the command-line. This means without ...
2
votes
2answers
4k views

View images without gui

What methods are available for people to use to view images on the command line? I tried the accepted answer here but i got the error bash: fbi: command not found so I'm not quite sure what the ...
0
votes
1answer
388 views

How can I connect to WI-FI network when I can't put WPA2 password using the GUI?

I am trying to connect to a WPA2 wi-fi network but when I click over the network it doesn't pop up any textbox where I can write the passoword as in the documentation. So I can't connect to the ...
0
votes
1answer
180 views

No output of commands on SSH console since Jessie was installed [closed]

when I for example execute the command poweroff, there is no output of the command visible. This happens with systemctl restart apache2 as well. I assume that system ouput is forwarded to somewhere. ...
2
votes
1answer
698 views

Pygame from command line vs GUI

I'm working on a small pygame app using a Pi 1 Model A but have noticed that it performs worse/differently as a kiosk app (run from command line without starting LXDE) than starting LXDE and running ...
1
vote
1answer
108 views

Pi as wireless extender

I should probably say up front the I'm not doing this to actually fill a need. I'm doing this because I saw other threads on other forums for doing this so I wanted to learn a little just using some ...
4
votes
1answer
4k views

Sub-process /usr/bin/dpkg returned an error code (1) on apt-get upgrade

I'm using Raspberry Pi 1 model B without GUI and when I try to upgrade software using sudo apt-get upgrade I get the following error: Segmentation fault dpkg: warning: subprocess old pre-removal ...
1
vote
0answers
109 views

Cant type in CLI

I've just got a Raspberry Pi 1 B. I installed Raspbian, I've worked with it for full day and everything was working as it should be. I used to booted into the desktop, now I have changed that to boot ...
6
votes
4answers
5k views

Colored console over serial connection?

I am accessing two of my Pis via a serial connection on pins 8 and 10. One of them uses a serial to USB connector for my Mac and the other uses an HC-06 which connects to my Android. The console/...
3
votes
0answers
452 views

Rfcomm0 Console Over Bluetooth

I followed this tutorial here: http://jasiek.me/2014/10/04/bluetooth-console-on-a-raspberry-pi-using-a-usb-adapter.html I am trying to connect my Galaxy Note 5 to my Pi over a USB Bluetoothub module. ...
0
votes
2answers
23k views

Getting a command prompt on OpenELEC

I'm trying to add a a USB hard drive to my pi... I'm running OpenElec with Kodi for my media, hooked up to TV on wireless connection.. I can't seem to just see the files, so I think I need to mount ...
1
vote
1answer
491 views

After Jessie upgrade: Console clears and logo disappears

After upgrading to Jessie I had a lot of strange issues, which I've mostly resolved, but one thing I still can't get to the bottom of is, just after boot, the console display clears itself of all the ...
4
votes
3answers
733 views

How to resize epiphany web-browser

I would like to automatically resize the window just after starting the system. Until now I achieve to start the browser automatically after the start just by adding the following code. /etc/xdg/...
2
votes
1answer
70 views

Whitey, yt and Device Support

Been out of the loop for a while now, but recently got a Raspberry Pi 2! It's awesome. However, I installed Whitey and YT (so I can run youtube videos without X running). It all installed fine after ...
1
vote
2answers
5k views

RPi can't access files stored on USB-drive from CLI

I've got USB drive (SD-card reader to be exact) connected to the RPi. What I want is to access it's files while in console mode/CLI. The problem is that RPi doesn't see files stored on SD card - not ...
1
vote
4answers
858 views

Move (not sync) files from Raspberry Pi to some cloud solution

I use my raspberry pi to collect pictures, movies via motion and the raspberry camera (Home surveillance). When the pictures are made, I want to move them to some cloud solution so that they are ...