-
Notifications
You must be signed in to change notification settings - Fork 69
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
nvidia-xinitrc errored with [[:not found #138
Comments
nvidia-xrun runs the user xinitrc with |
Yeah, I eventually settled with not using bashisms specifically for the xinitrc file, before posting this issue. Overall it's been working great ever since. Was just mainly wondering if it was just an Ubuntu thing, either due to it having an older version of X, or whatever I dunno. |
It's because Ubuntu uses dash as |
It seems to be honored only if |
I found out that
[[
is abash
-builtin, meaning it's not available if the xinit script is being executed withsh
.I'm on KDE neon 5.17.1 (Ubuntu 18.04 LTS), and from my tests, it appears that nvidia-xinitrc seems to always be executed without
bash
, so I kept on getting the[[: not found
errors.I noticed that the script file starts with
#!/usr/bin/env bash
, but that didn't seem to be doing anything anyway.I wonder if it's just an Ubuntu thing?
The text was updated successfully, but these errors were encountered: