where I can find option: “Run command as a login shell” in pantheon terminal ?


3 Answers 3


You can run pantheon terminal this command:

pantheon-terminal . ~/.bashrc

When I run pantheon-terminal without . ~/.bashrc rvm for ruby not work, but with this option all work fine. I setting this command on hot corner - very comfortably.

You can read information about bash on this case - its help me run pantheon-terminal correctly: What does “Run command as a login shell” do?


I installed gnome-terminal and solved this problem.

sudo apt-get install gnome-terminal

I was looking to change the Shell Pantheon Terminal uses, also. To enable me to use the Shell enhancements provided by the Trezor Agent (trezor_agent).

I found it can be updated in dconf, using the following command:

$ gsettings set org.pantheon.terminal.settings shell '/bin/bash'

It however, doesn't seem to 'like' (it just hangs) command flags etc (e.g. --login). So an alternative is to compose your own script and use this as your Shell:

(for bash)

exec bash --login

(for zsh)

exec zsh --login

Save this file (I opted for /bin/tsh, but the name is unimportant), make it executable:

$ sudo chmod +x /bin/tsh

Then update Pantheon to use it as your Shell:

$ gsettings set org.pantheon.terminal.settings shell '/bin/tsh'

Your Answer

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