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

"has_option: command not found" multiple times in .xsession-errors #12806

Open
Herzfinsternis opened this issue Mar 23, 2025 · 0 comments
Open
Labels

Comments

@Herzfinsternis
Copy link

Herzfinsternis commented Mar 23, 2025

Distribution

Mint 22.1

Package version

6.4.8

Graphics hardware in use

AMD ATI Radeon Vega Series / Radeon Vega Mobile Series (AMD Ryzen 5 PRO 3400G)

Frequency

Always

Bug description

I saw "has_option: command not found" several times in .xsession-errors:

/etc/X11/Xsession.d/30x11-common_xresources: line 16: has_option: command not found
/etc/X11/Xsession.d/75dbus_dbus-launch: line 9: has_option: command not found
/etc/X11/Xsession.d/90x11-common_ssh-agent: line 9: has_option: command not found

Steps to reproduce

I have only recently installed Linux Mint, so this should be reproducible with a new installation.

Expected behavior

The function has_option should be found. It's in /etc/X11/Xsession.

Additional information

In /usr/sbin/lightdm-session at line 85+86 is this piece of code:

# Run all system xinitrc shell scripts.
xinitdir="/etc/X11/xinit/xinitrc.d"

However, this directory doesn't exsist. So I changed it to:
xinitdir="/etc/X11/xinit"
In there is xinitrc which runs /etc/X11/Xsession.

That fixed the error on my machine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant