The i3 FAQ has migrated to https://www.reddit.com/r/i3wm/. All content here is read-only.
Ask Your Question
0

After upgrading i3, I see error messages when accidentally pressing keybinding X

asked 2012-08-07 06:34:38 +0000

Michael gravatar image

When I press X, I get an error. I often press X by accident and don’t want to see that error. What can I do about it?

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted
0

answered 2012-08-07 06:39:32 +0000

Michael gravatar image

Since commit http://code.stapelberg.de/git/i3/comm..., i3 will report errors in any keybinding. This deals with a very common case of mistakes, such as people configuring bindsym Mod1+x firefox instead of bindsym Mod1+x exec firefox or having typos in configured commands.

To disable error reporting for a particular binding, change it from this:

bindsym Mod1+x move absolute position center

to this:

bindsym Mod1+x exec --no-startup-id i3-msg move absolute position center >/dev/null 2>&1

This will send the command to i3 using the IPC interface and redirect any errors (or output) to /dev/null.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2012-08-07 06:34:38 +0000

Seen: 169 times

Last updated: Aug 07 '12