The i3 FAQ has migrated to https://github.com/i3/i3/discussions. All content here is read-only.
Ask Your Question
0

accent character in bindsym

asked 2013-02-15 22:31:15 +0000

muz gravatar image

updated 2013-02-15 22:33:10 +0000

I am trying to have a key binding involving the key ` but it does not work. Is there an alias I have to use for the ` key, or what?

The exact line in my config would be

bindsym $mod+` exec i3-sensible-terminal

for example.

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2013-02-17 12:46:31 +0000

akg gravatar image

The keysym is "grave".

bindsym $mod+grave exec i3-sensible-terminal
edit flag offensive delete link more

Comments

Thank you very much. This worked. May I ask how you found this?

muz gravatar imagemuz ( 2013-02-17 21:27:08 +0000 )edit

You can find out using the tool `xev`

Michael gravatar imageMichael ( 2013-02-17 23:59:48 +0000 )edit
0

answered 2013-02-15 22:37:59 +0000

dkeg gravatar image

you would need to use this

bindsym $MOD+apostrophe exec i3-sensible-terminal

or what the verbose name of the character is. For example I use the ' - ' to tile horizontally and the bar for vertical

bindsym $mod+dash split h bindsym $mod+bar split v

edit flag offensive delete link more

Comments

How would I go about finding the verbose name of the character? apostrophe does not work, neither does Apostrophe or backtick (wild guess)..

muz gravatar imagemuz ( 2013-02-15 22:45:39 +0000 )edit

i'm not on a machine I can test on, but try acute accent, or maybe its just accent

dkeg gravatar imagedkeg ( 2013-02-15 23:03:42 +0000 )edit

If you have the keycode from xev (let's say it's 25): xmodmap -pke | grep ' 25 '(There's a reason for padding the 25 with spaces, as otherwise also keysyms for keynums like 125 and 252 would be printed.

robsku gravatar imagerobsku ( 2013-05-25 01:38:24 +0000 )edit

Question Tools

1 follower

Stats

Asked: 2013-02-15 22:31:15 +0000

Seen: 1,358 times

Last updated: Feb 17 '13