Terminal look as in Live Boot USB

I am new to the Manjaro world, perhaps into linux in general, and I just finished installing my Manjaro.

I would like to know how to get to the nice-looking terminal that was available in the Live boot USB.

I hope that this is not a dumb question, but I have no idea if this is like a Desktop-manager dependent thing, if it just a config thing, or a new terminal emulator altogether.

Thanks

Are you asking how to open the terminal?

The launcher is usually found under Utilities in the system menu (Apps in the top panel of your desktop).


Welcome to the Manjaro community

As a new or infrequent forum user, please take some time to familiarise yourself with Forum requirements, and the many ways to use the forum to your benefit:


Update Announcements

The Update Announcements contain important information and a Known Issues and Solutions section that should generally be checked before posting a request for support.

System Information

Output of this command (formatted according to forum requirements) may be useful for those wishing to help:

inxi --filter --verbosity=8

or the short form:

inxi -zv8

Be prepared to provide more information and outputs from other commands whenever asked.

Required reading - [How to Post](https://wiki.manjaro.org/index.php/Forum_Rules#How_to_Post) - [How to Request Support](https://forum.manjaro.org/t/howto-request-support/91463) - [Forum Rules](https://wiki.manjaro.org/index.php/Forum_Rules)
Resources - [Manjaro Wiki](https://wiki.manjaro.org/index.php) - [Tutorials](https://forum.manjaro.org/c/contributions/tutorials/40)

Regards.

Unfortunately, no.
I wish to ask for how to get a nicer look for the terminal that is installed.

This image (not mine) is from a live boot usb. You can see the nice icon of manjaro and home dir, etc…, as well as a better tab autocomplete:

mine, right after the install, looks more like this (also not mine):

My question is - How do I get the “nice” icons, better autocomplete tab behavior, etc…

Mod edit:- Images deleted as they add nothing more useful than a text description. Pasted url image links were malformed. In future, if images are necessary, please take care when editing the url.

Your first reference

https://linuxconfig.org/wp-content/uploads/2018/11/01-check-manjaro-version.avif

looks like the Xfce4 edition and the terminal is therefore xfce4-terminal and the shell prompt is that of the Bash shell.

Your second picture is the Gnome edition, terminal is Gnome terminal and the default shell in that edition is zsh (with Manjaro specific pre-configuration).
You can simply change the shell to bash and will have the same shell prompt as in the Xfce4 edition then.

Or: install the Xfce4 edition …

On a newly installed Gnome, the zsh shell should already be the default – reflected by the url image you incorrectly posted (which will now be deleted).

If you’re not seeing pretty colours, here is one topic with a possible quick fix; no cure for the actual problem was discovered, however.

What did you find in your own forum searches?

Regards.

I have placed the links in a wrong order. The first reference is what I have, the second reference is where i want to be.

I can see from echo $SHELL that I am using bash so i take it that in order to get there, i want to use the zsh with a manjaro preconf.

Is there a place where to find this preconf?

So you are on Xfce4 and want the shell to be zsh instead of bash …

It is (most likely) contained in the package manjaro-zsh-config,
which will probably pull in the needed dependencies when you install it.

You’ll then have to change shell to zsh and Bob is your mothers brother. :slightly_smiling_face:

1 Like

I would beg to differ. I am on a fresh Gnome install and running the Terminal application looks in simple terms:

[user@hostname ~]$

as well as running the echo $SHELL returns /bin/bash.
and not like the mentioned icons and colors

I have not been able to find much since i dont know what kind of question this is.

Thank you regardless for the patience.

This is what I have installed on my Plasma desktop:

pamac search -i --no-aur zsh
manjaro-zsh-config  0.26-1                                                                                                       extra
    Zsh configuration for manjaro
zsh-theme-powerlevel10k  1.20.0-2                                                                                                extra
    Powerlevel10k is a theme for Zsh. It emphasizes speed, flexibility and out-of-the-box experience.
zsh-syntax-highlighting  0.8.0-1                                                                                                 extra
    Fish shell like syntax highlighting for Zsh
zsh-history-substring-search  1.1.0-2                                                                                            extra
    ZSH port of Fish history search (up arrow)
zsh-completions  0.35.0-2                                                                                                        extra
    Additional completion definitions for Zsh
zsh-autosuggestions  0.7.1-1                                                                                                     extra
    Fish-like autosuggestions for zsh
zsh  5.9-5                                                                                                                       extra
    A very advanced and programmable command interpreter (shell) for UNIX

So, make sure those are installed on your system. You may need to log out of your session & log back in for the changes to take effect.

I’m not sure how the next step is done on XFCE or Gnome, but if you open a terminal and choose its preferences menu, you will likely have an option somewhere to change the shell to zsh.

Alternatively, if you open the bash terminal & type zsh as the command, you will then be using zsh until you exit back to bash.

1 Like

This! I didnt know. Thank you. I will now try to set zsh as a default when calling the Terminal app.

1 Like

As mentioned, zsh should already be the default on Gnome; that yours isn’t doesn’t change that; so, something else is afoot.

Did you install using the full or minimal ISO, and was it the latest available?

I do believe that i download the full iso. Although I am not 100% sure, my iso is “manjaro-gnome-24.2.1-241216-linux612.iso” and downloaded directly from the manjaro download page.

Well, that seems consistent. I’m looking at a Gnome install in a VM currently - nothing changed post install apart from regular updates – zsh is the default terminal shell.

Perhaps something was missed in the latest and greatest ISO :man_shrugging:.

I will probably be the one that is confusing the situation here right now but I dont understand.

This is just as i installed (after updates) my Manjaro and Launched the Terminal app:

[user@hostname ~]$ echo $SHELL
/bin/bash
[user@hostname ~]$ zsh
    ~  echo $SHELL                                                      ✔ 
/bin/bash
    ~  echo $0                                                          ✔ 
zsh
    ~  exit                                                             ✔ 
[user@hostname ~]$ echo $0
bash
[user@hostname ~]$ 

This might be a question beyond the initial one but, why am I seeing bash when it should be zsh. I can call zsh and SHELL var remains bash but not $0?

I dont see what I did wrong or what could have gone wrong.

And just to make things clear, the look and behavior of zsh is what my original question was trying to get to.

$SHELL gives the full path to your login shell (what is set as your default shell when logging in). $0 gives the name of your current shell (i.e. what is running in the terminal).

If you are writing a script and want it to run under bash, then the first line should contain the hashbang:

#!/usr/bin/env bash

To run a script under zsh:

#!/usr/bin/env zsh

It should be noted that zsh is not bash, and although most commands will work in either, some won’t. For example, copying & pasting a bash script’s read command into a zsh script asking for yes/no confirmation to proceed may not work. The command has to be formatted differently:

bash:

#!/usr/bin/env bash

read -p "Are you sure? Y/y for yes, any other key for no: " -n 1 -r
if [[ $REPLY =~ ^[Yy]$ ]]
then
    # do dangerous stuff
fi

zsh:

#!/usr/bin/env zsh

if read -q "choice?Are you sure? Y/y for yes, any other key for no: "
then
    # do dangerous stuff
fi

Edit: after reading @nachlese’s post below, and doing a bit more reading about the $SHELL, I amended my advice which initially said not to change the $SHELL from bash

2 Likes

not entirely sure, but:
chsh (it means change shell …)
is the command that you want to use to change the $0 and $SHELL variables permanently (log out and back in after)

What you did was simply calling that shell as a one off from the default bash running in your terminal.

You can also create different profiles for/in your terminal and set one which uses zsh as the shell as default.

2 Likes

I understand now. Thank you @scotty65 and @Nachlese for explaining.

The entire solution is simply to chsh to /bin/zsh.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.