nvidia-xrun icon indicating copy to clipboard operation
nvidia-xrun copied to clipboard

When has an empty .nvidia-xinitrc xserver will close.

Open wzhy90 opened this issue 7 years ago • 1 comments

When $HOME has an empty .nvidia-xinitrc, cannot start xorg. lines in nvidia-xrun:

if [ -f "$userxinitrc" ]; then
    sh ${userxinitrc} $#
else
    if [ $# -gt 0 ]; then
        "$*"
	fi
fi

revert to the old one:

if [ -f "$userxinitrc" ]; then
    sh ${userxinitrc} $#
fi

if [ $# -gt 0 ]; then
    "$*"
fi

can fix it.

wzhy90 avatar Feb 06 '18 16:02 wzhy90

Hi @wzhy90 , thanks for noticing. I'd like to have the possibility to override the exec in user xinitrc with a parameter. I have some work ongoing on this so i will include the fix to that.

Witko avatar Feb 07 '18 09:02 Witko