From: Max m. W. <dra...@ya...> - 2012-03-29 20:12:12
|
Hi, I recently began to use the min_tabs-script that removes tabs in any frame that contains exactly one client. Suddenly, my scratchpad no longer works, whether or not I actually load the min_tabs-script. There is a default keybinding in /usr/local/etc/notion/cfg_sp.lua: defbindings("WScreen", { bdoc("Toggle scratchpad."), kpress(META.."space", "mod_sp.set_shown_on(_, 'toggle')"), -- [ some comments ] }) I verified that the file is being loaded by introducing an error deliberately, which caused notion to raise an error dialog. I also copied the binding to my ~/.notion/cfg_keybindings.lua and tried different key combinations, such as META.."x", to make sure that the binding itself isn't at fault. Further, using the lua console I can create a scratchpad by typing mod_sp.set_shown_on(_,'toggle') but this creates a scratchpad in the current mplex, which then grabs the focus, and if I then try to toggle the scratchpad away again, another scratchpad is opened within the existing scratchpad. This looks funny, but is not what I want. Also, within a MPlex context, scratchpad creation works on a per-mplex-basis (but then causes the problem I described above with the recursive scratchpad creation): defbindings("WMPlex", { bdoc("Toggle scratchpad."), kpress(META.."x", "mod_sp.set_shown_on(_, 'toggle')"), -- this works Can anyone give me a hint as to what is going on or how I can diagnose the error? Regards, Drachenfutter |
From: Philipp H. <ph...@ph...> - 2012-04-16 18:50:50
|
Hi, On Thu, Mar 29, 2012 at 09:12:03PM +0100, Max maria Wacholder wrote: > I recently began to use the min_tabs-script that removes tabs in any frame > that contains exactly one client. Suddenly, my scratchpad no longer works, > whether or not I actually load the min_tabs-script. very odd. The only explanation I can think of spontaneously is that the script introduced an unfit geometry for the scratchpad and that this geometry was saved along with the rest of the layout. Try searching for "scratchpad" in your .notion/default-session--0/saved_layout.lua . What geometry information do you see in the corresponding section? You can also try to just temporarily move this file out of the way and then restart Notion. Regards, Philipp |
From: Juri H. <ju...@fa...> - 2012-04-16 19:42:13
|
On 04/16/12 at 08:50pm, Philipp Hartwig wrote: > Hi, > > On Thu, Mar 29, 2012 at 09:12:03PM +0100, Max maria Wacholder wrote: > > I recently began to use the min_tabs-script that removes tabs in any frame > > that contains exactly one client. Suddenly, my scratchpad no longer works, > > whether or not I actually load the min_tabs-script. > > very odd. The only explanation I can think of spontaneously is that the script > introduced an unfit geometry for the scratchpad and that this geometry was > saved along with the rest of the layout. Try searching for "scratchpad" in > your .notion/default-session--0/saved_layout.lua . What geometry information > do you see in the corresponding section? You can also try to just temporarily > move this file out of the way and then restart Notion. Hey there! Try to execute 'ioncore.lookup_region("*scratchws*"):rqclose(true)' in your lua run dialog. After that press your toggle scratchpad key combination. That way you won't need to play around with layout files. If you have a second screen and scratchpad vanishes, the region might be "*scratchws*<2>". I use it as workaround atm. Still can't find out under which circumstances the scratchpad gets broken. Regards, Juri > > Regards, > Philipp > > ------------------------------------------------------------------------------ > For Developers, A Lot Can Happen In A Second. > Boundary is the first to Know...and Tell You. > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > http://p.sf.net/sfu/Boundary-d2dvs2 > _______________________________________________ > Notion-general mailing list > Not...@li... > https://lists.sourceforge.net/lists/listinfo/notion-general -- Juri Hamburg GnuPG Key-ID: 0x67206E72 |