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.

Filter by
Sorted by
Tagged with
2
votes
0answers
14 views

Why does journald still log to the active console?

I'm using Manjaro ARM (64bit), and by default it seems to log always to the active console. It took me a while to figure out how to change the cmdline to using console=/dev/tty1 instead of console=/...
0
votes
1answer
25 views

What's the command line equivalent of alt F1?

I wrote a bunch of shell script functions to switch between 3 different OSs I have on Raspberry Pi so that I could use Siri/homebridge to switch between them. I was testing everything out while I was ...
0
votes
2answers
54 views

Raspi doesn't connect with wifi anymore. What am I doing wrong?

I had the wifi on my raspi 3B working perfectly for about 2 years. I then saw I had two wpa_supplicant.conf files: /etc/wpa_supplicant.conf /etc/wpa_supplicant/wpa_supplicant.conf I briefly checked ...
2
votes
0answers
44 views

Failing using startx to launch different desktops

I am trying to use startx to launch different desktops according to an argument using case...esac This is my .xinitrc mate(){ (sleep 5 && conky) & mate-session } case $1 in ...
1
vote
1answer
73 views

I need a lightweight CLI Linux Distro that can support Python

I have a spare raspberry pi, I figured i'd use it for a python releated task, is there a cut down Linux Distro that does not include a GUI but only a CLI that can also fully support running python ...
1
vote
0answers
16 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
126 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
259 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
129 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
278 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
60 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
35 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 --...
1
vote
0answers
248 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 ...
3
votes
3answers
1k 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
934 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 ...
2
votes
1answer
49 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
869 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
64 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
2k 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
2answers
8k 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 ...
4
votes
1answer
4k 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
63 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
98 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
1k 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
232 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
400 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
1k 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
91 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
3k 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
5k 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
340 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
491 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
423 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
2k 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
15 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
5k 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
454 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
193 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
785 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
110 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
114 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
6k 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
496 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
25k 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
504 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
796 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/...