You are not logged in.

#1 2015-12-11 11:52:34

westroger
Member
Registered: 2015-12-08
Posts: 15

[SOLVED]i3wm cannot find sensible terminal

Moderator edit -- Split from stickied  i3 thread  in Applications and Desktops Environments

Hi, guys - hope you can help. I'm a relative newbie.  I've just installed i3 but when I try to open a terminal, nothing happens - I get an error message stating:

"i3-sensible-terminal - no terminal emulator found, please install a terminal emulator".

I changed the config file to open xterm first, but then nothing happens at all when I press Mod+Ent. 

I acted in desperation and did a clean install of Arch - same thing again

When I added the ~/.xinitrc option for logging, i3 wouldn't start at all, so I have no log output....

None of the default key bindings work either. To quit, I have to shut down my system on the shut down button.

Googling found no other occurrence of this problem.
Thanks

EDIT: when I tried to manually edit the config file using the wizard, I got the error message "Cannot open display"

Last edited by westroger (2015-12-12 00:25:45)

Offline

#2 2015-12-11 15:55:16

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

Re: [SOLVED]i3wm cannot find sensible terminal

Sensible terminal should pick, well, a sensible terminal.   What terminal programs have you installed?  xterm should work.   It prefers urxvt, terminitor and a couple others over xterm.
If $TERMINAL is set, it will use what it says.  Is that environmental variable set?

What "Wizard"?


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

#3 2015-12-11 16:13:08

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

Re: [SOLVED]i3wm cannot find sensible terminal

westroger wrote:

When I added the ~/.xinitrc option for logging, i3 wouldn't start at all

What option is this?


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

Offline

#4 2015-12-11 16:54:21

westroger
Member
Registered: 2015-12-08
Posts: 15

Re: [SOLVED]i3wm cannot find sensible terminal

The wiki offers another line to add after 'exec i3' to enable logging .....

Last edited by westroger (2015-12-11 16:55:07)

Offline

#5 2015-12-11 16:57:56

westroger
Member
Registered: 2015-12-08
Posts: 15

Re: [SOLVED]i3wm cannot find sensible terminal

ewaller, it's a fresh install -  in i3 there's a command line wizard to change the config file ......

printenv       TERM=linux

Last edited by westroger (2015-12-11 17:28:44)

Offline

#6 2015-12-11 17:28:37

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

Re: [SOLVED]i3wm cannot find sensible terminal

TERM != TERMINAL.  You should be okay.
Did you install xterm? urxvt?

in i3 there's a command line wizard to change the config file ......

There is?   There is!  I'll be damned.  I tried to run it, but it refused to run as the config file already exists.
My gut feeling -- build the config by hand.


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

#7 2015-12-11 17:31:48

westroger
Member
Registered: 2015-12-08
Posts: 15

Re: [SOLVED]i3wm cannot find sensible terminal

the wizard only runs if there is no config file   -   i deleted mine to test  it .......  it ran but said 'cannot open display'

Last edited by westroger (2015-12-11 17:33:12)

Offline

#8 2015-12-11 17:49:04

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

Re: [SOLVED]i3wm cannot find sensible terminal

I have never used it the wizard.  It appears (according to the wiki) that you don;t run it by hand, but rather you start i3 without an i3 configuration and i3 will offer to run the wizard for you.

Have you installed xterm, urxvt or another terminal listed in man i3-sensible-terminal?  Third time I've asked.


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

#9 2015-12-11 17:53:32

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

Re: [SOLVED]i3wm cannot find sensible terminal

Moderator action:  Split sensible-terminal dialog from man i3 thread.


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

#10 2015-12-11 18:00:59

westroger
Member
Registered: 2015-12-08
Posts: 15

Re: [SOLVED]i3wm cannot find sensible terminal

thanks ewaller. but I'm afraid I don't understand what you mean by that.  Could you explain it a bit  more please ......

Offline

#11 2015-12-11 19:20:12

tmp-meteque
Member
Registered: 2015-12-11
Posts: 30

Re: [SOLVED]i3wm cannot find sensible terminal

westroger wrote:

thanks ewaller. but I'm afraid I don't understand what you mean by that.  Could you explain it a bit  more please ......

Execute what he said in a tty:

man i3-sensible-terminal

man search the manual page in your system and display it. That's how you are supposed to learn and be familiarized with your programs.

I3-SENSIBLE-TERMIN(1)               i3 Manual               I3-SENSIBLE-TERMIN(1)

NAME
       i3-sensible-terminal - launches $TERMINAL with fallbacks

SYNOPSIS
       i3-sensible-terminal [arguments]

DESCRIPTION
       i3-sensible-terminal is invoked in the i3 default config to start a
       terminal. This wrapper script is necessary since there is no
       distribution-independent terminal launcher (but for example Debian has
       x-terminal-emulator). Distribution packagers are responsible for shipping
       this script in a way which is appropriate for the distribution.

       It tries to start one of the following (in that order):

       ·   $TERMINAL (this is a non-standard variable)

       ·   x-terminal-emulator (only present on Debian and derivatives)

       ·   urxvt

       ·   rxvt

       ·   terminator

       ·   Eterm

       ·   aterm

       ·   xterm

       ·   gnome-terminal

       ·   roxterm

       ·   xfce4-terminal

       Please don’t complain about the order: If the user has any preference,
       they will have $TERMINAL set or modified their i3 configuration file.

SEE ALSO
       i3(1)

AUTHOR
       Michael Stapelberg and contributors

i3 4.11                             09/30/2015              I3-SENSIBLE-TERMIN(1)

Install dmenu (alt/super + d to search and execute a program) and one of the terminals listed above if you want to have a useful system.

Last edited by tmp-meteque (2015-12-11 19:21:02)


IBM Lenovo T430

Offline

#12 2015-12-11 20:16:32

snakeroot
Member
Registered: 2012-10-06
Posts: 177

Re: [SOLVED]i3wm cannot find sensible terminal

Speaking as someone whose terminal of choice in not on i3's list, sensible terminal is more trouble than it is worth. Comment it out in your config file and just exec your favorite terminal:

# start a terminal
# bindsym $mod+Return exec i3-sensible-terminal
bindsym $mod+Return exec /usr/bin/lilyterm 

(I vote for lilyterm, obvs.)

Last edited by snakeroot (2015-12-11 20:17:32)

Offline

#13 2015-12-11 20:43:44

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

Re: [SOLVED]i3wm cannot find sensible terminal

westroger wrote:

The wiki offers another line to add after 'exec i3' to enable logging .....

Yeah - but I suspect you copied it incorrectly, that's why I asked.  But if we can't see what's actually in your xinitrc we can't help with that part or the problem.


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

Offline

#14 2015-12-11 21:50:04

westroger
Member
Registered: 2015-12-08
Posts: 15

Re: [SOLVED]i3wm cannot find sensible terminal

Ok guys, it's sorted, I wrongly assumed that the arch default terminal would be in the list (I'm not sure what it's actually called) (newbie). When I installed Xterm it all worked.
Thanks to everyone who contributed to the topic to help me.

Here we go ................................................................................  I love Arch

Offline

#15 2015-12-12 02:15:08

progandy
Member
Registered: 2012-05-17
Posts: 5,322

Re: [SOLVED]i3wm cannot find sensible terminal

There is no "arch default terminal". If you mean terminals that are provided in the devs-only repositories (core & extra without community), then there are the DE specific terminals for gnome, kde, enlightenment, xfce and the non-specific xterm. All other terminal emulators are provided via community or the AUR.


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |

Offline

Board footer

Powered by FluxBB