[Bug]: MyBash causes booting issues on Omarchy
Problem Description
Installing bash prompt in Linutil causes a login screen loop on the latest issue of Omarchy (3.1)
Proposed solution
Fix the bash script to be compatible with Omarchy 3.1
Alternatives
No response
Additional Context
No response
Checklist
- [x] I checked for duplicate issues.
- [x] I checked already existing discussions.
- [x] This feature is not included in the roadmap.
I was experiencing the same thing. I would get to the Omarchy login, enter my password and it would kick me to a different login page (maybe SDDM?). I'd enter my password there, the screen would go blank for a moment and kick me back to the SDDM(?) login screen.
I restored my backup of the original .bashrc and was able to get logged in.
https://github.com/basecamp/omarchy/issues/2620
We resolved this via adding a missing guard. https://github.com/basecamp/omarchy/commit/83d4349ea13c514abfe52b0ae31276d54b5bdf4a
@fivves @TMartinPPC can you confirm this can be closed?
Looking at this again; while our inserting that guard helps, it's really only a temporary shim. The installer here appears to override the .bashrc entirely which will cause this same issue for others in the future.
https://github.com/ChrisTitusTech/linutil/blob/1ae1b7e1f7545a11f59fc749c40f041e38e5d172/core/tabs/applications-setup/mybash-setup.sh#L106
The default .bash_profile contains [[ -f ~/.bashrc ]] && . ~/.bashrc which will just yank everything in and when sourced by SDDM in, will cause this same issue we had people seeing.
@ryanrhughes what do you suggest?
Confirmed still happening as of 10/28/2025
This issue still persists, I tried it today and loop is boring to fix I had to re-install Omarchy again.
There is no reason to reinstall Omarchy if you have this issue, follow the advice of @fivves here: https://www.reddit.com/r/omarchy/comments/1odjce6/updated_today_and_now_i_am_booting_into_a/
I had the same problem with COSMIC, I think the problem is on Wayland only DEs with these lines in the .bashrc
if [[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty1 ]]; then
exec startx
fi
I commented that out and I was able to login
I had the same problem with COSMIC, I think the problem is on Wayland only DEs with these lines in the .bashrc
if [[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty1 ]]; then
exec startx
fi I commented that out and I was able to login
This has been commited to official mybash repo so it will not do this anymore.