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

Configure floating window location

asked 2014-06-07 20:20:53 +0000

bsidhom gravatar image

Is there a way to automatically send a floating window to a particular location? For example, I have the following line in my i3 configuration file:

for_window [class="Xfce4-notifyd"] floating enable

When I manually send notifications to the daemon via notify-send, they appear in the upper right corner of the active workspace. However, certain applications (in my case, Amarok and Guayadeque) send notifications to the center of the workspace. This is inconvenient as the messages persist for a while unless clicked. I would like to uniformly have all floating windows of this class be moved to the upper right corner of the current workspace. Can this be done in the i3 configuration file or is the problem somehow application-specific?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
2

answered 2014-06-09 17:23:34 +0000

phairland gravatar image

updated 2014-06-10 05:22:12 +0000

i3 does not manage system or application notifications. It is a more low level configuration specific to the notification program e.g. dunst, or the application GUI e.g. Gnome and KDE.

There was a similar question posted here: http://faq.i3wm.org/question/936/floating-windows-initial-position/.

You can have a look at this section of the User's Guide: http://i3wm.org/docs/userguide.html#focusingmoving_containers

edit flag offensive delete link more

Comments

The question is not specific to notification managers, though. Do you mean to say that it's not possible to send a particular floating window to a specific location?

bsidhom gravatar imagebsidhom ( 2014-06-09 21:27:53 +0000 )edit
1

I updated the answer to include some links which may help you.

phairland gravatar imagephairland ( 2014-06-10 05:12:17 +0000 )edit

Thanks. `move absolute position 0 0` did it for me. However, setting position only seems to work for the notifications that were originally in the center of the screen.

bsidhom gravatar imagebsidhom ( 2014-06-10 05:52:56 +0000 )edit

Question Tools

1 follower

Stats

Asked: 2014-06-07 20:20:53 +0000

Seen: 1,015 times

Last updated: Jun 10 '14