You are not logged in.
Pages: 1
I am trying to change my default shell from bash to zsh. I am using i3 window manager
and I have run
chsh -s /bin/zsh username
so I changed my default shell.
The problem is that when I reboot the system and login, it doe not start i3.
Then if I change again to bash
chsh -s /bin/bash username
and reboot it works.
Do I have to change something more to make it work properly?
Thanks in advance!
Last edited by dsar (2014-10-13 15:22:11)
Offline
How do you start X/i3? I'm guessing it is started from your bashrc, which isn't read by zsh, right?
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
How do you start X/i3? I'm guessing it is started from your bashrc, which isn't read by zsh, right?
I run
exec i3
in the last line of .xinit file
Offline
How do you run "startx"? If you used .bash_profile to run startx before, you have to use .zprofile now.
Offline
How do you run "startx"? If you used .bash_profile to run startx before, you have to use .zprofile now.
So I need to copy .bash_profile to .zprofile?
And do I have to create .zprofile because it does not exist at the time
Last edited by dsar (2014-10-13 15:16:28)
Offline
Yes, create .zprofile and startx code is the same for both shells so you can actually do "cp ~/.bash_profile ~/.zprofile".
Offline
Yes, create .zprofile and startx code is the same for both shells so you can actually do "cp ~/.bash_profile ~/.zprofile".
Thanks! That worked!
Offline
Pages: 1