Making Konsole to be login shell by default

8,853

The Konsole Handbook:

Konsole doesn’t provide convenience for running login shell, because developers don’t like the idea of running login shell in a terminal emulator.

Of course, users still can run login shell in Konsole if they really need to. Edit the profile in use and modify its command to the form of starting a login shell explicitly, such as "bash -l" and "zsh -l".

Share:
8,853

Related videos on Youtube

lolmaus - Andrey Mikhaylov
Author by

lolmaus - Andrey Mikhaylov

Looking for full-time remote job as a senior EmberJS dev, preferably with relocation perspectives. Personality At work I'm a passionate developer; strong supporter of best practices and patterns; serious about code readability, maintainability and scalability; believe in testing. On the scale from quick-n-dirty to slow-but-thorough, I lean toward the latter. Off duty, I'm a loving husband and father, an avid debater, a board game geek, a retired recreational cyclist, a crazy Russian and an affable guy with a slightly twisted sense of humor. I live in Moscow, Russia. Love working remotely from other beautiful places. Able to adjust to your timezone for partial or full work hours overlap. Skills Frontend development Over five years in frontend development Solid JavaScript skill, love modern tools, practices and patterns Sass enthusiast Highly experienced in Responsive Web Design, modular grids, mobile first, etc Using a BEM-like methodology to scale infinitely and prevent style leaks Not a visual designer EmberJS Over two years working exclusively with complex Ember apps Have a gut feeling for the Ember Way and best practices Focus on building robust, maintainable and scalable codebases Strong believer in the Test-Build-Refactor cycle Into testing: unit & user acceptance, work in TDD/BDD style, API/model layer mocking, CI Experience with advanced features: polymorphic relationships, FastBoot, Concurrency, Element Queries, etc Active member of the Ember community with humble open source contributions Other tech skills Proficient in using dev tools: git, terminal, SSH, Docker, package managers, build tools, StackOverflow/Google, etc Linux user, not a DevOps guy but have basic sysadmin skills Experience in distributed teams, SCRUM Know Ruby and looking into Elixir Active GitHub and StackOverflow profiles Non-tech skills Fluent English Fast typist Aware of own drawbacks and will let you know of them

Updated on September 18, 2022

Comments

  • lolmaus - Andrey Mikhaylov
    lolmaus - Andrey Mikhaylov over 1 year

    I don't know why there are "login" and "non-login" shells in the first place, and i'm not very eager to know.

    The fact is that the RVM and NVM software that i use frequently require login shells, and Konsole starts a non-login shell.

    This forces me to submit a bash -l command every time i start a Konsole.

    How do i make Konsole start in login shell mode by default?

    • Radu Rădeanu
      Radu Rădeanu almost 10 years
    • lolmaus - Andrey Mikhaylov
      lolmaus - Andrey Mikhaylov almost 10 years
      @RaduRădeanu, well, your link suggest to enable login shell in Gnome Shell options. Unfortunately, Konsole does not have such an option.
  • Steven Shaw
    Steven Shaw about 9 years
    Thanks for the solution! I was surprised that my .zprofile wasn't being run in Konsole. I wonder whether it's true that "developers don't like the idea of running login shell in a terminal emulator"?
  • bain
    bain about 9 years
    Probably because the login shell is supposed to be the one that is run when you login, not every time you open a new terminal. Difference between Login Shell and Non-Login Shell?
  • Alexey
    Alexey about 3 years
    yea, kde Konsole - right click -> Edit Current Profile -> General -> Command : /bin/bash -l
  • Rγσ ξηg Lιαη Ημ
    Rγσ ξηg Lιαη Ημ about 3 years
    @Alexey thanks, it works