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

How to disable urgent hints on startup

asked 2014-03-04 12:43:08 +0000

chilicuil gravatar image

updated 2014-07-10 05:57:26 +0000

During startup I launch a couple of applications (cli and gui) and I get an urgent hint from the last gui app launched (pcmanfm on the 6th workplace). I'm running i3:

  • 4.5.1 doesn't show urgent hint on startup
  • 4.7.2 show urgent hints on startup

Is there anyway to disable urgent hints on startup for newer i3 versions?

My startup apps are started with:

exec --no-startup-id ~/.i3/startup

And then ~/.i3/startup is just a sh script which launch apps with &

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2014-03-05 10:36:53 +0000

Adaephon gravatar image

This is a feature that was added in 4.7: Windows that are assigned to a specific workspace are opened urgent if the workspace is not visible.

There is at the moment no configuration option to turn this feature of. But you can work around it with for_window instead of assign.

for_window [class="Pcmanfm"] move workspace number 6
edit flag offensive delete link more

Comments

It works great, however new popup (create new file, save as, etc) windows are open in other workspaces when workspace_auto_back_and_forth is enabled, for the moment I'll take the urgent hint (which is less annoying that turning off workspace_auto_back_and_forth).

chilicuil gravatar imagechilicuil ( 2014-03-05 12:59:28 +0000 )edit

I found bug #1088 which was the origin of the patch, on it the author suggest to move to the focused app and going back, however using "workspace 6; workspace back_and_forth" doesn't work, but "exec i3-msg workspace 6 && i3-msg workspace back_and_forth" does (with a graphic glitch)

chilicuil gravatar imagechilicuil ( 2014-03-05 14:33:20 +0000 )edit

In the end I modified s/urgency_hint = true/urgency_hint = false;" src/manage.c and made a custom deb package available at https://launchpad.net/~chilicuil/+archive/sucklesstools/+packages , it targets ubuntu 14.04

chilicuil gravatar imagechilicuil ( 2014-03-05 15:14:31 +0000 )edit

Question Tools

Stats

Asked: 2014-03-04 12:43:08 +0000

Seen: 264 times

Last updated: Jul 10 '14