How to modify PATH variable for X11 during log-in?

Posted by user1028435 on Super User See other posts from Super User or by user1028435
Published on 2012-04-11T02:44:42Z Indexed on 2012/04/11 5:32 UTC
Read the original article Hit count: 461

Filed under:
|
|

Original question is here: Overwriting "Print Screen" actions in linux without administrative rights.

Decided to revise my question, based on what I learned there:

Essentially, my problem is that 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). You can see in the work-around I listed in the previous section, that I can make it work by starting a new X, but I was wondering if it is possible to change upon login. Any ideas?

© Super User or respective owner

How to modify PATH variable for X11 during log-in?

Posted by user1028435 on Super User See other posts from Super User or by user1028435
Published on 2012-04-11T03:31:55Z Indexed on 2012/04/11 5:33 UTC
Read the original article Hit count: 461

Filed under:
|
|
|
|

I originally posted this over at StackOverflow, but someone said it might fit better here.

Original question is here: http://stackoverflow.com/questions/10096327/overwriting-print-screen-actions-in-linux-without-administrative-rights.

Decided to revise my question, based on what I learned there:

Essentially, my problem is that 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). You can see in the work-around I listed in the previous question, that I can make it work by starting a new X, but I was wondering if it is possible to change upon login. If this seems a poor explanation, you can check out the original link for my context and reasoning behind what I'm doing. Any ideas?

Details about Distribution:

cat /etc/redhat-release tells me:

Red Hat Enterprise Linux Client release 5.8 (Tikanga)

© Super User or respective owner

Related posts about linux

Related posts about x11