Modify PATH variable for X11 during log-in
- by user1028435
I am working on some lab computers (read: no administrative rights) that, if I log in, I need to change the PATH variable as X11 starts. The reason is that I need to change the PATH variable at this time, as opposed to later, is that the Print Screen command seems to "bind" during login (forgive my bad explanation of this).
Currently, I have a .bashrc script as a workaround:
#!/bin/bash
export PATH=/home/username/bin:$PATH
I can make it work by starting a new X, but I was wondering if it is possible to change upon login.
cat /etc/redhat-release tells me my distribution is: Red Hat Enterprise Linux Client release 5.8 (Tikanga)