'Run command as login shell' in LXTerminal

5,031

According to man lxterminal:

-l --loginshell
       Executes login shell.

You have to start the terminal manually with the -l option.

But that is pointless, since you can always run a login shell easily using:

bash -l

from a terminal which is not running a login shell. So everytime you open a new shell while installing, start a login shell using bash -l. This is only needed until you logout or restart.

Share:
5,031

Related videos on Youtube

Roman Davis
Author by

Roman Davis

Updated on September 18, 2022

Comments

  • Roman Davis
    Roman Davis over 1 year

    So I'm trying to get RVM setup on Lubuntu using instructions here. They say to change my shell settings, but the UI of Lubuntu / LXTerminal doesn't have that option (as far as I could see). If I try to go without it, I get errors later on, saying pretty much the same thing. If I try to look up help, it says pretty much the same thing. What should I do?

  • muru
    muru over 9 years
    @RomanDavis you can have a look at this: rvm.io/integration/lxterminal