Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trying to change default shell to fish #64

Closed
enrique-mp opened this issue Jun 12, 2022 · 2 comments
Closed

Trying to change default shell to fish #64

enrique-mp opened this issue Jun 12, 2022 · 2 comments

Comments

@enrique-mp
Copy link

Hi all.
I'm trying to change the default shell to fish, but when I do that, sway doesn't start from login manager (sddm in my case). Plasma starts well. If I revert the default shell to bash, sway boots from sddm without problem.

I don't know if the problem is maybe de .sh wrapper file invoked from de sway.desktop or anything else.

Can you help me with this issue?
Thanks.

@mcepl
Copy link
Collaborator

mcepl commented Jun 13, 2022

Don’t setup fish as a shell for root, because (quoting its help): “Fish is intentionally not POSIX-compatible and as such some of the things you are used to work differently.”, so whenever any script has a shebang #!/bin/sh (which is almost all of them) it fails.

@enrique-mp
Copy link
Author

Thank for the advice. I read the fish documentation and other articles related to login and interactive shells, and I decide to leave fish as a interactive shell for commands and navigating purposes. Still leave bash as a default login shell.

@jubalh jubalh closed this as completed Jun 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants