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 Jun 7 '14

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?

1 answer

Sort by » oldest newest most voted
2

answered Jun 9 '14

phairland gravatar image

updated Jun 10 '14

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

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 (Jun 9 '14)edit
1

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

phairland gravatar imagephairland (Jun 10 '14)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 (Jun 10 '14)edit

Question Tools

1 follower

Stats

Asked: Jun 7 '14

Seen: 1,015 times

Last updated: Jun 10 '14