I am using .bashrc file to launch python scripts when lxterminal is launched. The problem is that i don't want the user to be able to start another lxterminal and therefore retrigger the same scripts when they are actually running. Is there a way to acheive this ?

  • 2
    You have already asked a question about launching a script using .bashrc, and accepted the answer. If you search this site you will find other answers explaining why .bashrc won't wprk.
    – Milliways
    Jun 13 '18 at 9:20
  • Sounds like an XY problem. .bashrc is specifically designed to be run in every terminal a user logs in. If you don't need that, don't use .bashrc. Jun 21 '18 at 13:09

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.