Запустите glxgears -info - есть поле «GL_RENDERER», в котором вы можете получить информацию о программном рендерере.
Если вы откроете свой man bash, вы можете найти где-нибудь на линии 150:
When an interactive shell that is not a login shell is started, bash
reads and executes commands from /etc/bash.bashrc and ~/.bashrc, if
these files exist. This may be inhibited by using the --norc option.
The --rcfile file option will force bash to read and execute commands
from file instead of /etc/bash.bashrc and ~/.bashrc.
Таким образом, вы можете использовать с уверенностью ~/.bashrc (или [ f4], но я не буду советовать вам использовать этот системный файл) для вашей цели. И да, в Ubuntu.