I configured bash as default shell, when I look in /etc/passwd in my user account I have bash, but when I open a terminal I have the zsh. What did I wrong ?
Thank you a lot
Welcome to the forum!
You didn’t do anything wrong. The default shell inside graphical terminal windows in Manjaro has already for a while been zsh
. However, you can change this.
Since you are using Plasma — and therefore konsole
as your terminal — you must go into the konsole
settings menu and choose “Configure Konsole”. Then, choose “Profiles”.
You will see that the default profile is read-only. Copy that profile into a new profile with a name of your choice.
Now, edit the profile you just created and you will immediately see the shell it invokes. Change that to /bin/bash
(or /usr/bin/bash
) and make sure you tick the box to make it the default. Then save it and activate the profile.
Note: yakuake
uses the same profiles as konsole
, so if you use that, then you must tell it to use the newly created profile as well.
thank you very much, it worked. I right clicked on the Konsole window and created a new profile, this was the only option available regarding profile. After that I saved it as default profile. Opening a new Konsole I got bash as my shell. great thx a lot.
Another thing I am a little bit confused, when I had zsh as default shell a ps showed me three zsh processes active. Strange, never happened to me. Now with the bash I have, as I expected, only one process with bash using ps.
Again, thx a lot for the fastest answer I ever got on a user forum.
yours, sincerely
Erich
You cannot edit the default profile. Its locked.
(“Built-in” = Read-only)
OP got it right creating a new one.
(which would make sense for preserving defaults anyways … like we do with systemd conf.d folders)
Read again: I didn’t say that the OP had to edit the default profile, but that he had to copy the default profile into a new profile and then edit this new profile.
Which is exactly what he then did.
Just for curiosity, where is the profile located ? Should be possible edit it by hand.
Thx a lot
/usr/share/konsole/breath.profile
and /usr/share/manjaro-kde-settings/xdg/konsolerc
.
Concretely, this is the list of files contained in the package manjaro-kde-settings
.
[nx-74205:/dev/pts/3][/home/aragorn]
[aragorn] > pacman -Ql manjaro-kde-settings
manjaro-kde-settings /etc/
manjaro-kde-settings /etc/profile.d/
manjaro-kde-settings /etc/profile.d/manjaro-kde-settings-xdg.sh
manjaro-kde-settings /etc/profile.d/qt5-accessibility.sh
manjaro-kde-settings /etc/sddm.conf.d/
manjaro-kde-settings /etc/sddm.conf.d/00_manjaro_settings.conf
manjaro-kde-settings /etc/sddm.conf.d/virtualkeyboard.conf
manjaro-kde-settings /etc/skel/
manjaro-kde-settings /etc/skel/.config/
manjaro-kde-settings /etc/skel/.config/gtk-3.0/
manjaro-kde-settings /etc/skel/.config/gtk-3.0/assets/
manjaro-kde-settings /etc/skel/.config/gtk-3.0/assets/close-active.svg
manjaro-kde-settings /etc/skel/.config/gtk-3.0/assets/close-backdrop-active.svg
manjaro-kde-settings /etc/skel/.config/gtk-3.0/assets/close-backdrop-hover.svg
manjaro-kde-settings /etc/skel/.config/gtk-3.0/assets/close-backdrop-normal.svg
manjaro-kde-settings /etc/skel/.config/gtk-3.0/assets/close-hover.svg
manjaro-kde-settings /etc/skel/.config/gtk-3.0/assets/close-normal.svg
manjaro-kde-settings /etc/skel/.config/gtk-3.0/assets/maximize-active.svg
manjaro-kde-settings /etc/skel/.config/gtk-3.0/assets/maximize-backdrop-active.svg
manjaro-kde-settings /etc/skel/.config/gtk-3.0/assets/maximize-backdrop-hover.svg
manjaro-kde-settings /etc/skel/.config/gtk-3.0/assets/maximize-backdrop-normal.svg
manjaro-kde-settings /etc/skel/.config/gtk-3.0/assets/maximize-hover.svg
manjaro-kde-settings /etc/skel/.config/gtk-3.0/assets/maximize-normal.svg
manjaro-kde-settings /etc/skel/.config/gtk-3.0/assets/maximized-active.svg
manjaro-kde-settings /etc/skel/.config/gtk-3.0/assets/maximized-backdrop-active.svg
manjaro-kde-settings /etc/skel/.config/gtk-3.0/assets/maximized-backdrop-hover.svg
manjaro-kde-settings /etc/skel/.config/gtk-3.0/assets/maximized-backdrop-normal.svg
manjaro-kde-settings /etc/skel/.config/gtk-3.0/assets/maximized-hover.svg
manjaro-kde-settings /etc/skel/.config/gtk-3.0/assets/maximized-normal.svg
manjaro-kde-settings /etc/skel/.config/gtk-3.0/assets/minimize-active.svg
manjaro-kde-settings /etc/skel/.config/gtk-3.0/assets/minimize-backdrop-active.svg
manjaro-kde-settings /etc/skel/.config/gtk-3.0/assets/minimize-backdrop-hover.svg
manjaro-kde-settings /etc/skel/.config/gtk-3.0/assets/minimize-backdrop-normal.svg
manjaro-kde-settings /etc/skel/.config/gtk-3.0/assets/minimize-hover.svg
manjaro-kde-settings /etc/skel/.config/gtk-3.0/assets/minimize-normal.svg
manjaro-kde-settings /etc/skel/.config/gtk-3.0/colors.css
manjaro-kde-settings /etc/skel/.config/gtk-3.0/gtk.css
manjaro-kde-settings /etc/skel/.config/gtk-3.0/settings.ini
manjaro-kde-settings /etc/skel/.config/gtk-3.0/window_decorations.css
manjaro-kde-settings /etc/skel/.config/kdeglobals
manjaro-kde-settings /etc/skel/.xinitrc
manjaro-kde-settings /usr/
manjaro-kde-settings /usr/share/
manjaro-kde-settings /usr/share/konsole/
manjaro-kde-settings /usr/share/konsole/Breath.profile
manjaro-kde-settings /usr/share/manjaro-kde-settings/
manjaro-kde-settings /usr/share/manjaro-kde-settings/xdg/
manjaro-kde-settings /usr/share/manjaro-kde-settings/xdg/kdeglobals
manjaro-kde-settings /usr/share/manjaro-kde-settings/xdg/konsolerc
manjaro-kde-settings /usr/share/manjaro-kde-settings/xdg/ksmserverrc
manjaro-kde-settings /usr/share/manjaro-kde-settings/xdg/kwinrc
manjaro-kde-settings /usr/share/manjaro-kde-settings/xdg/yakuakerc
But…
I wouldn’t advise that, because /usr
is supposed to be read-only to non-root users, and directly editing those files may lead to corruption.
The reason why it was done that way — and for the record, I myself objected to making zsh
into the default shell inside graphical terminals — is that the system shell is still bash
, and lots of things depend on that being the case.
That´s right, editing the system wide profile is not useful, since one can achieve to change the shell for the konsole also using a user specific profile. but where is the information id the user created profile located ? I achieved erroneously to have two profiles, called profile 1 and profile 2. They are located in .local/share/konsole. How can I eliminate one of these two ? Is is enough to delete one of them, or is there another configuration file keeping track of these profiles ? there is the konsolerc file which keeps the information which one of the profiles is used. But the profile list, where comes it from ?
I also noticed, that in “switch profile” choice of konsole I have also the choice between Breath and Built-in. What is the difference between the two of them ?
Thx a bunch
You can delete the one that’s not in use from within the Konsole settings — see my screenshot higher up.
No, you can delete the one that’s not in use.
You’ve already given the answer to that yourself.
~/.local/share/konsole/name-of-your-profile.profile
They are two names for the same profile, i.e. the one included in the manjaro-kde-settings
package. It’s the read-only profile.
Now I understand. Thank you very much and have a great day.
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.