You are not logged in.

#1 2018-08-28 20:12:25

TheStroyer
Member
Registered: 2018-08-28
Posts: 54

[SOLVED] Change default terminal in i3

When i open a terminal in i3 with the hotkey, it opens xterm by default. I want to use gnome-terminal as my standard terminal. i3 uses i3-sensible-terminal for choosing the right terminal. The man page of i3-sensible-terminal says I have to change the variable $TERMINAL to the terminal I want to use. The problem is that I don't know how to exactly change that variable. I use lxdm as my login screen and zsh as my terminal. I tried putting 'export $TERMINAL=gnome-terminal' in both my ~/.profile and ~/.zprofile, but it both didn't change $TERMINAL after a reboot. How do i automatically change $TERMINAL when i login to my computer?

Last edited by TheStroyer (2019-10-16 10:55:04)

Offline

#2 2018-08-28 20:40:28

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED] Change default terminal in i3


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2018-08-28 21:22:01

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,456
Website

Re: [SOLVED] Change default terminal in i3

This seems to be a ridiculously roundabout way to get what you want.  Just specify gnome terminal in your i3 config instead of i3-sensible-terminal:
https://wiki.archlinux.org/index.php/I3 … l_emulator


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#4 2018-08-29 14:20:53

TheStroyer
Member
Registered: 2018-08-28
Posts: 54

Re: [SOLVED] Change default terminal in i3

Thanks that solves the problem

Offline

#5 2025-11-30 06:40:54

CodeSova
Member
Registered: 2025-11-30
Posts: 1

Re: [SOLVED] Change default terminal in i3

There is a use case. for egg. when u start htop via your application launcher and you don't want it do open in xterm

set $Terminal terminal
bindsym $mod+Return exec  $Terminal

Last edited by CodeSova (2025-11-30 06:47:58)

Offline

#6 2025-11-30 17:29:32

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,619

Re: [SOLVED] Change default terminal in i3

Using this opportunity to close this old thread.   CodeSova, welcome to the forums but watch the age of threads -- some are quite old.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

Board footer

Powered by FluxBB