Questions tagged [prompt]

The prompt is a series of characters used by any terminal interface to indicate that the terminal is ready to receive another command. Questions using this tag should be restricted to questions about the prompt, how to customize it, etc.

36 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3 votes
0 answers
68 views

Can I style the Alt+F2 prompt?

I'm using Ubuntu 19.10. My main issue with it is that the Alt+F2 prompt darkens the entire screen underneath it while open and I find the resulting blink overstimulating. I looked on Google to no ...
lpf's user avatar
  • 31
3 votes
2 answers
361 views

Correct place to put colors of prompt (PS1)

Say I want to change the colors of my PS1, or for the sake of simplicity I just want to change the content, so I want to do this: PS1="touch me : " My problem, doubt is: If I put this in ....
Hommer Smith's user avatar
2 votes
0 answers
74 views

Symbol gets cut off in custom bash prompt

I am using a custom bash prompt with this command that was an answer to this question: It looks like this: PS1=$'\e[1;33m\\t \e[36m\u\e[34m@\e[36m\h\e[;1m: \e[34m\w\n \[\b\e[;1;31m✘\] ${?/#0/\[\b\b\e[...
reneas's user avatar
  • 191
2 votes
0 answers
1k views

Non-printing characters showing up in terminal prompt

Without color my prompt looks like this: [0] [dimo414@dimo414:/tmp] $ echo $PS1 | sed 's/\x1b/\\e/g' \n[0] [dimo414@dimo414:/tmp]\n\$ I add some color and \[...\] delimit it: [0] [dimo414@dimo414:/...
dimo414's user avatar
  • 170
2 votes
0 answers
148 views

New Ubuntu 14.04 installation with full disk encryption prompts for passphrase in console

My previous Ubuntu 14.04 installation launched to a graphical screen with the Ubuntu logo and a text prompt under it for passphrase insertion. I did a distro upgrade, which broke my installation, so I ...
dan's user avatar
  • 21
2 votes
0 answers
283 views

Is it possible to keep the command prompt always at the middle in the gnome terminal?

Is it possible to keep the command prompt always at the middle in the gnome terminal? After entering each command the command prompt line is coming to the bottom, so is it possible to keep the ...
imbichie's user avatar
  • 121
2 votes
1 answer
280 views

Update manager always wants to reboot

I have the recent Ubuntu 14.04 version installed. Since a few days the update manager keeps asking me to reboot. Even if I do reboot and no new updates are installed, it asks again after startup. How ...
Piotrek M.'s user avatar
2 votes
0 answers
544 views

Chromium Ubuntu 13.10 - No webapp setup prompt no webapp icon

I have a completely fresh install for Ubuntu 13.10 64-bit on Dell Latitude E6510. (I also had the same problem on the same laptop using 13.10 32-bit). I use Chromium as my web browser. Webapps are ...
Justin Solms's user avatar
1 vote
0 answers
249 views

starship cannot access/edit starship.toml

Whenever I try to import a starship.toml file by typing starship preset tokyo-night -o ~/.config/starship.toml I get the following error: Error writing preset to file: Permission denied (os error 13) ...
maze's user avatar
  • 11
1 vote
0 answers
135 views

No Password Prompt During Boot (Kubuntu 21.10)

I use Kubuntu 21.10, and have KDE 5.24.1, but this happened on older KDE versions, too. When I startup, I choose my installation from GRUB, and then I am presented with what should be the password ...
Avidan2006's user avatar
1 vote
0 answers
51 views

Does Bash for Windows create an own desktop?

I downloaded Bash (Ubuntu 18.04) for Windows 10 yesterday and created my account, downloaded a couple of files there. i closed the prompt, now when i open it, it starts from System32 folder i got back ...
Display Name's user avatar
1 vote
0 answers
200 views

How do I get prompt colours and auto-complete on 18.04 for a new user created with useradd?

I use Tilix, which is imo one of the best VTE based terminal emulators for Linux. If I create an Ubuntu 16.04 image on DigitalOcean, connect to it via SSH and then configure a new user (as below), ...
sunwarr10r's user avatar
  • 1,419
1 vote
0 answers
356 views

Removable Media -Never prompt or start programs on media insertion- for all users

I am using Ubuntu 16.04 Desktop. I would like to know where (filename) the settings under All Settings-> Removable Media are stored. I would like to have the settings "Never prompt or start programs ...
Admire Baba Adkins Mutsikiwa's user avatar
1 vote
1 answer
2k views

Evolution password prompt at login

I have searched high and low for an answer and though several googles looked as if they were my problem, they turned out to be slightly different. Please read carefully before pointing me to an answer ...
PhilChambers's user avatar
1 vote
0 answers
189 views

How to get a prompt to save unsaved changes when logging out/rebooting/shutting down Ubuntu 16.04?

Say, I open gedit, type something, click restart, and just lose everything I have typed.. And it seems to be the case not only for gedit.. So, how can I make Ubuntu to ask me whether I want to save ...
vstepaniuk's user avatar
0 votes
0 answers
50 views

Powerline font shapes slanted only in prompt

I've got a fresh install of Ubuntu Budgie on a VMWare guest. I use Tilix for my terminal. I installed the powerline fonts on my system to have access to the various shapes it provides. Regardless of ...
Sir Robert's user avatar
0 votes
0 answers
170 views

22.04 Jammy Chnaged methods for bypassing root password prompt for some commands (Dell build)

On my Ubuntu 18.02 systems, I was able to update the /etc/sudoers file to allow root without password for specific applications. For example these entries started the Muon package manager which ran ...
HiTechHiTouch's user avatar
0 votes
1 answer
262 views

System wide custom bash prompt

I would like to have a system-wide custom prompt Added . /path/to/prompt.sh to my /etc/bash.bashrc but prompt remains unchanged I have some scripts in /etc/profile.d that tried to . /path/to/prompt.sh ...
bilogic's user avatar
  • 233
0 votes
0 answers
154 views

Is there a way to include Behind / Ahead info in oh-my-zsh Prompt?

I know using the below command, we can get the results of commits that is Behind and Ahead. git rev-list --left-right --count origin/master...`git branch --show-current` But I would like to know, if ...
karthick87's user avatar
0 votes
1 answer
462 views

Change prompt using export PS1=

I want to change my terminal prompt. I ran this in a terminal. export PS1="\u@\h \w> " My .bashrc. # ~/.bashrc: executed by bash(1) for non-login shells. # see /usr/share/doc/bash/...
fixit7's user avatar
  • 3,127
0 votes
1 answer
209 views

Start TightVncServer and provide password in a single command line

I am trying to add and start TightVncServer to a docker image. When I want to start the service, sudo tightvncserver, I got prompted by a password. Since I am generating an image, this needs to be ...
Milan's user avatar
  • 101
0 votes
1 answer
186 views

Troubles with custom bash prompt

I am trying to set a custom bash prompt to also include history line count and time in 24h format, both in different colors, aside from a standard user@host prompt. I have seen this post Custom bash ...
Bostjan Murovec's user avatar
0 votes
1 answer
3k views

How can I disable password prompts in Ubuntu

My wifes computer running Windows 10 became unusable. Could not repair Windows and didn't want to re-install because she was afraid we would lose her pictures. I was able to retrieve her pictures by ...
Tom2087's user avatar
0 votes
1 answer
260 views

Ubuntu 18.04 black screen

I am using Ubuntu 18.04. My laptop configuration is HP 250 G7 Core i3 Intel 7th gen 4 GB RAM 1 TB HDD Problem. I have Ubuntu 18.04 LTS on my laptop. When I start it up it gives a black screen with ...
Vivek Sharma's user avatar
0 votes
1 answer
47 views

I'm being haunted by an "Authentication dialog" and need help

Like the title says I'm being haunted. No matter what I fill into the damned prompt it says the information is wrong and asks if I want to try again. It just won't stop. Here is a picture of the ...
Emil Bergstedt's user avatar
0 votes
0 answers
438 views

Command not found with no command name

Since I installed powerline-go on my fresh install of Ubuntu 20.04, it throws -bash: : command not found error every time the prompt loads (after running a command, pressing enter, on startup, etc.). ...
Maneren's user avatar
0 votes
0 answers
1k views

Customize wsl2 ubuntu terminal prompt

How do I change the ubuntu terminal prompt in of wsl2. My git-bash prompt looks like this : where /Algorithms is the base cwd. How do I make ubuntu prompt the same, with the same colors? TIA
wannabecoder's user avatar
0 votes
0 answers
34 views

grub2 prompt: "grub>" is changed to ">"

So I am at login screen of GNU GRUB 2.02 launched from USB stick. Its prompt is "grub>". When I type "ls" I see all my disks: hd0, hd1, hd2; hd0 is my USB stick, hd2 is my main ...
Shiqq Yashkuri's user avatar
0 votes
0 answers
41 views

How can I prompt for device password before applying updates?

I have an encrypted boot partition on an USB drive. How can I prompt the user to insert the USB drive, and decrypt it before applying system updates? I can write the script to decrypt and mount the ...
Radu Marinescu's user avatar
0 votes
0 answers
153 views

Is there a way to change passphrase prompt for ssh?

I wanted to change the prompt for ssh login, Enter passphrase for key 'path/to/key': to something else. Is that possible? Sorry I'm not really sure on the right verbiage, but I don't mean the PS1 ...
shsn53's user avatar
  • 1
0 votes
0 answers
33 views

Command needed by dialogue box generated after clicking on “Ubuntu” Tile on Windows 10 Startup Menu

I desperately need to know what response is being sought by a DOS-type dialogue box that appears every time I click on the “Ubuntu” tile on my “Windows 10 Startup Menu”. I had previously asked if ...
Brian Darke's user avatar
0 votes
0 answers
389 views

Guake character problems in ssh with zsh

I am using Guake to SSH into a server. My terminal is using zsh and Oh My Zsh and works fine. The server I ssh into also using zsh with the exact same settings and theme. However, whenever I toggle ...
Sean's user avatar
  • 101
0 votes
1 answer
518 views

Startx take me root@hostname prompt with high video but no gui

I have Ubuntu 14.04.3 LTS trusty on a PowerPC. When I first login, I got a prompt user@hostname I then run sudo startx It runs through the whole procedure but instead of getting the GUI desktop I ...
JohnnyQ's user avatar
  • 11
0 votes
1 answer
175 views

Ubuntu install from USB issues

I have downloaded Ubuntu to my USB but am having trouble with the install. I reboot my computer and boot from the USB. Then the Ubuntu screen pops up and I select install ( also have tried the demo ...
James Waruszyla's user avatar
0 votes
1 answer
223 views

\w is not abbreviating $HOME as ~

I'm SSHing into my schools linux servers, and My PS1 is currently set to: PS1="$USER@${HOSTNAME%%.*} (\w) % " and when I first connect my prompt correctly shows: myusername@servername (~) % but ...
Xionraseri's user avatar
-1 votes
0 answers
23 views

logind.conf file changing on apt update

A few months back I cloned a github repo for styling my command prompt. After following all the procedures, I didn't find the style as appalling as it seemed to me so I deleted everything. Few days ...
Bhaumik Tripathi's user avatar