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

How to force i3 to redraw/reposition screen

asked 2013-06-23 10:03:53 +0000

majkinetor gravatar image

updated 2013-06-23 10:05:31 +0000

I have some problems with newsbeuter, chrome and i3 as shown on this image:

imagebin.org/262258

The problem solves when I open new terminal window.

I guess this causes i3 to redraw or reposition windows so garbage in mmy newsbeutter window dissapears.

Is there any way to do this manually ?

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted
0

answered 2013-06-27 06:24:49 +0000

Michael gravatar image

You are not very specific about your problem, but I suspect it’s the message "Created new browser window in existing session", which seems to be caused by starting chrome.

I suspect that when you set your default browser in newsbeuter to a simple shell script which starts chrome but disregards the standard output/standard error, the problem goes away:

#!/bin/sh
exec google-chrome $* >/dev/null 2>&1

Also, as a general hint: i3 never draws window contents, it only draws borders. When an application has any kind of corruption in its window, that is usually either a driver problem or caused by the application itself. In terminal apps, Ctrl-L usually triggers a refresh.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2013-06-23 10:03:53 +0000

Seen: 339 times

Last updated: Jun 27 '13