From: Thomas K. <tk...@gi...> - 2012-06-27 21:00:15
|
Hi! A pet annoyance of mine is that windows pop up in the foreground and steal the focus, eating some letters I'm typing. So for fun, I'd like to change the default for new windows to be "pop up in background". Can I do that with notion? If yes, how? Thanks, Thomas |
From: Arnout E. <no...@bz...> - 2012-06-30 09:04:54
|
Hi, I haven't tried, but adding a winprop that sets 'switchto' to false (and perhaps 'ignore_net_active_window' to true) might do the trick. Kind regards, Arnout On Wed, Jun 27, 2012 at 11:00:05PM +0200, Thomas Klausner wrote: > Hi! > > A pet annoyance of mine is that windows pop up in the foreground and > steal the focus, eating some letters I'm typing. So for fun, I'd like > to change the default for new windows to be "pop up in background". > > Can I do that with notion? > If yes, how? > > Thanks, > Thomas > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Notion-general mailing list > Not...@li... > https://lists.sourceforge.net/lists/listinfo/notion-general |
From: Arnout E. <no...@bz...> - 2012-07-01 12:12:43
|
On Sat, Jun 30, 2012 at 11:04:44AM +0200, Arnout Engelen wrote: > I haven't tried, but adding a winprop that sets 'switchto' to false (and > perhaps 'ignore_net_active_window' to true) might do the trick. Jep that seems to do what you want: defwinprop { switchto = false, } It does mark the windows as 'requesting attention', which seems reasonable. Kind regards, Arnout > On Wed, Jun 27, 2012 at 11:00:05PM +0200, Thomas Klausner wrote: > > Hi! > > > > A pet annoyance of mine is that windows pop up in the foreground and > > steal the focus, eating some letters I'm typing. So for fun, I'd like > > to change the default for new windows to be "pop up in background". > > > > Can I do that with notion? > > If yes, how? > > > > Thanks, > > Thomas > > > > ------------------------------------------------------------------------------ > > Live Security Virtual Conference > > Exclusive live event will cover all the ways today's security and > > threat landscape has changed and how IT managers can respond. Discussions > > will include endpoint security, mobile security and the latest in malware > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > _______________________________________________ > > Notion-general mailing list > > Not...@li... > > https://lists.sourceforge.net/lists/listinfo/notion-general > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Notion-general mailing list > Not...@li... > https://lists.sourceforge.net/lists/listinfo/notion-general |
From: Thomas K. <tk...@gi...> - 2012-07-01 17:55:04
|
On Sun, Jul 01, 2012 at 02:12:30PM +0200, Arnout Engelen wrote: > On Sat, Jun 30, 2012 at 11:04:44AM +0200, Arnout Engelen wrote: > > I haven't tried, but adding a winprop that sets 'switchto' to false (and > > perhaps 'ignore_net_active_window' to true) might do the trick. > > Jep that seems to do what you want: > > defwinprop { > switchto = false, > } > > It does mark the windows as 'requesting attention', which seems reasonable. Looks good! One problem though -- my Windowmaker Dockapps aren't in the dock since I've restarted with this change. If I revert the change, they are back at the bottom, where they belong. Why is this related? Can I exclude these windows? Thomas |
From: Arnout E. <no...@bz...> - 2012-07-01 18:37:01
|
On Sun, Jul 01, 2012 at 07:54:57PM +0200, Thomas Klausner wrote: > On Sun, Jul 01, 2012 at 02:12:30PM +0200, Arnout Engelen wrote: > > On Sat, Jun 30, 2012 at 11:04:44AM +0200, Arnout Engelen wrote: > > > I haven't tried, but adding a winprop that sets 'switchto' to false (and > > > perhaps 'ignore_net_active_window' to true) might do the trick. > > > > Jep that seems to do what you want: > > > > defwinprop { > > switchto = false, > > } > > > > It does mark the windows as 'requesting attention', which seems reasonable. > > Looks good! One problem though -- my Windowmaker Dockapps aren't in > the dock since I've restarted with this change. If I revert the > change, they are back at the bottom, where they belong. > > Why is this related? Probably the dockapps also use winprops. From the docs at http://notion.sourceforge.net/notionconf/node4.html#SECTION00452000000000000000 Notion first filters the winprops based on the primary identification fields. Of those winprops that match the primary identification fields, the most recently defined winprop that also matches the secondary filters is used The winprop above is pretty much a 'catch-all' one. cfg_kludges.lua has a winprop that puts all 'is_dockapp' windows into the statusbar. This is probably overwritten by the one above. The solution would be to make sure the winprop above is the first winprop, so any later winprops will overwrite it. In practice this probably means you want to put this winprop before 'dopath("cfg_defaults")' in your cfg_notion.lua. Arnout |
From: Thomas K. <tk...@gi...> - 2012-07-01 19:24:12
|
On Sun, Jul 01, 2012 at 08:36:47PM +0200, Arnout Engelen wrote: > The winprop above is pretty much a 'catch-all' one. cfg_kludges.lua has a > winprop that puts all 'is_dockapp' windows into the statusbar. This is probably > overwritten by the one above. Ah, ok. > The solution would be to make sure the winprop above is the first winprop, so > any later winprops will overwrite it. In practice this probably means you want > to put this winprop before 'dopath("cfg_defaults")' in your cfg_notion.lua. I've done this and the dockapps behave properly again. Thank you very much! Thomas |