You are not logged in.

#1 2014-12-12 20:16:37

starbreaker
Member
From: Harrisburg, PA
Registered: 2014-11-30
Posts: 48
Website

[Solved] Can't type ~ in terminal using AwesomeWM

I'm running Arch on a System76 Pangolin Performance (panp9 model) laptop. I'm using AwesomeWM, and I can't type the tilde character in any of the terminal apps I have installed. RXVT-Unicode is no go. Xterm is no go. MATE Terminal is no go. I can type backticks without any difficulty, but if I hold down shift and press the same key in a terminal, I get nothing.

The weird part is that I can run xev, bang on the tilde key, and see a response every time. I can type tildes in Sublime Text 3 and GVim. I can even type a tilde into Opera, LibreOffice, and the GIMP's text tool.

I've tried googling this, but I haven't found anything. I use the Source Code Pro font in my terminals, but I use the exact same font in Sublime Text 3 and GVim. I haven't seen anything in the Arch or AwesomeWM wikis, either. Does anybody have any pointers?

Last edited by starbreaker (2014-12-15 00:48:40)


Matthew Graybosch
matthewgraybosch.com (personal) | starbreakerseries.com (my epic SF series)
"I ain't got a drinking problem. I got a doing stupid shit when I'm drunk problem." --Edmund Cohen

Offline

#2 2014-12-12 21:15:25

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

Re: [Solved] Can't type ~ in terminal using AwesomeWM

Are you setting $TERM in any of your shell initialization files? What is the output of `echo $TERM` in urxvt and xterm? What shell are you using?


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2014-12-12 21:23:01

starbreaker
Member
From: Harrisburg, PA
Registered: 2014-11-30
Posts: 48
Website

Re: [Solved] Can't type ~ in terminal using AwesomeWM

jasonwryan wrote:

Are you setting $TERM in any of your shell initialization files? What is the output of `echo $TERM` in urxvt and xterm? What shell are you using?

I'm using bash, but I didn't think to check $TERM. I'll check that when I get out of my day job tonight. Thanks.


Matthew Graybosch
matthewgraybosch.com (personal) | starbreakerseries.com (my epic SF series)
"I ain't got a drinking problem. I got a doing stupid shit when I'm drunk problem." --Edmund Cohen

Offline

#4 2014-12-13 00:58:20

starbreaker
Member
From: Harrisburg, PA
Registered: 2014-11-30
Posts: 48
Website

Re: [Solved] Can't type ~ in terminal using AwesomeWM

jasonwryan wrote:

Are you setting $TERM in any of your shell initialization files? What is the output of `echo $TERM` in urxvt and xterm? What shell are you using?

This is what I get using bash in urxvtc instances connected to urxvtd.

$ echo $TERM
rxvt-unicode-256color

Matthew Graybosch
matthewgraybosch.com (personal) | starbreakerseries.com (my epic SF series)
"I ain't got a drinking problem. I got a doing stupid shit when I'm drunk problem." --Edmund Cohen

Offline

#5 2014-12-13 02:51:49

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

Re: [Solved] Can't type ~ in terminal using AwesomeWM

Do you get the same when logged in as root?  Do you have other environments than awesome to test?  If not, you could just run a single urxvt in place of a WM to try it there.  These tests may narrow it down a bit.


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

Offline

#6 2014-12-13 22:07:15

starbreaker
Member
From: Harrisburg, PA
Registered: 2014-11-30
Posts: 48
Website

Re: [Solved] Can't type ~ in terminal using AwesomeWM

Trilby wrote:

Do you get the same when logged in as root?  Do you have other environments than awesome to test?  If not, you could just run a single urxvt in place of a WM to try it there.  These tests may narrow it down a bit.

Same issue as root. Same issue in MATE, and on a VT with X.org disabled after rebooting.


Matthew Graybosch
matthewgraybosch.com (personal) | starbreakerseries.com (my epic SF series)
"I ain't got a drinking problem. I got a doing stupid shit when I'm drunk problem." --Edmund Cohen

Offline

#7 2014-12-13 23:52:33

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: [Solved] Can't type ~ in terminal using AwesomeWM

I believe that you're using a custom bash prompt at least for your regular user (at least I think that I saw that in a screenshot of yours). This is a shot in the dark, but what happens without the custom prompt?

Last edited by skottish (2014-12-13 23:53:48)

Offline

#8 2014-12-14 00:49:19

starbreaker
Member
From: Harrisburg, PA
Registered: 2014-11-30
Posts: 48
Website

Re: [Solved] Can't type ~ in terminal using AwesomeWM

Good catch, but removing the custom prompt didn't help, either.


Matthew Graybosch
matthewgraybosch.com (personal) | starbreakerseries.com (my epic SF series)
"I ain't got a drinking problem. I got a doing stupid shit when I'm drunk problem." --Edmund Cohen

Offline

#9 2014-12-14 03:16:11

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

Re: [Solved] Can't type ~ in terminal using AwesomeWM

starbreaker wrote:
jasonwryan wrote:

Are you setting $TERM in any of your shell initialization files? What is the output of `echo $TERM` in urxvt and xterm? What shell are you using?

This is what I get using bash in urxvtc instances connected to urxvtd.

$ echo $TERM
rxvt-unicode-256color

Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#10 2014-12-15 00:47:28

starbreaker
Member
From: Harrisburg, PA
Registered: 2014-11-30
Posts: 48
Website

Re: [Solved] Can't type ~ in terminal using AwesomeWM

I still don't know why this is happening, but it's specific to the "matthew" account I've had on this machine ever since I bought it in 2012, though half a dozen distro changes. When I created a new account that didn't have years of old dotfiles in it and logged into it, there were no problems. So, I'm going to mark this as solved. Thanks to everybody who tried to help.


Matthew Graybosch
matthewgraybosch.com (personal) | starbreakerseries.com (my epic SF series)
"I ain't got a drinking problem. I got a doing stupid shit when I'm drunk problem." --Edmund Cohen

Offline

Board footer

Powered by FluxBB