Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I am currently sitting in front of a SunRay 2 thin client running a recent version of OpenSUSE. I would like to modify my .bashrc to make some changes to the environment depending on which particular thin client I am using, but I cannot figure out how to find any sort of information which will identify the client I am using.

Is there any way that I can get any sort of unique ID for this machine?

Less generally, I am trying to setup keycode mappings for my personal keyboard which I have attached to this machine, so a way to identify the keyboard would also suffice.

share|improve this question

1 Answer 1

Turns out that the environment variable SUN_SUNRAY_TOKEN contains pseudo.<mac address>, so I can latch on to that.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.