Hi, of course, here is cfg_notion.lua:
===================================================================================+++
--
-- Notion default settings
--
dopath("cfg_notioncore")
dopath("cfg_kludges")
dopath("cfg_layouts")
dopath("mod_query")
dopath("mod_menu")
dopath("mod_tiling")
--dopath("mod_statusbar")
dopath("mod_dock")
dopath("mod_sp")
dopath("mod_notionflux")
dopath("mod_xrandr")
-- Deprecated.
--dopath("cfg_user", true)
-- Debian extra configuration files
dopath("cfg_debian_ext")
===================================================================================+++
Entire cfg_notion follows:
---
--
-- Notion main configuration file
--
-- This file only includes some settings that are rather frequently altered.
-- The rest of the settings are in cfg_notioncore.lua and individual modules'
-- configuration files (cfg_modulename.lua).
--
-- When any binding and other customisations that you want are minor, it is
-- recommended that you include them in a copy of this file in ~/.notion/.
-- Simply create or copy the relevant settings at the end of this file (from
-- the other files), recalling that a key can be unbound by passing 'nil'
-- (without the quotes) as the callback. For more information, please see
-- the Notion configuration manual available from the Notion Web page.
--
--WA additional scripts
--dopath("collapse.lua")
-- Set default modifiers. Alt should usually be mapped to Mod1 on
-- XFree86-based systems. The flying window keys are probably Mod3
-- or Mod4; see the output of 'xmodmap'.
-- These may be defined in /etc/default/notion, loaded as cfg_debian.
dopath("cfg_debian")
--META="Mod1+"
--ALTMETA="Mod3"
-- Terminal emulator
--XTERM="xterm -bc -fg '#a9dffc' -bg '#21334f'"
XTERM="xterm -bc -fg '#00ff00' -bg '#000000'"
--XTERM="xterm"
-- Some basic settings
ioncore.set{
-- Maximum delay between clicks in milliseconds to be considered a
-- double click.
--dblclick_delay=250,
-- For keyboard resize, time (in milliseconds) to wait after latest
-- key press before automatically leaving resize mode (and doing
-- the resize in case of non-opaque move).
--kbresize_delay=1500,
-- Opaque resize?
--opaque_resize=false,
-- Movement commands warp the pointer to frames instead of just
-- changing focus. Enabled by default.
--warp=true,
-- Switch frames to display newly mapped windows
--switchto=true,
-- Default index for windows in frames: one of 'last', 'next' (for
-- after current), or 'next-act' (for after current and anything with
-- activity right after it).
--frame_default_index='next',
-- Auto-unsqueeze transients/menus/queries.
unsqueeze=true,
-- Display notification tooltips for activity on hidden workspace.
screen_notify=true,
-- Automatically save layout on restart and exit.
--autosave_layout=true,
-- Mouse focus mode; set to "sloppy" if you want the focus to follow the
-- mouse, and to "disabled" otherwise.
mousefocus="sloppy",
-- Controls Notion's reaction to stacking requests sent by clients. Set to
-- "ignore" to ignore these requests, and to "activate" to set the activity
-- flag on a window that requests to be stacked "Above".
--window_stacking_request="ignore",
}
-- Load default settings. The file cfg_defaults loads all the files
-- commented out below, except mod_dock. If you do not want to load
-- something, comment out this line, and uncomment the lines corresponding
-- the the modules or configuration files that you want, below.
-- The modules' configuration files correspond to the names of the
-- modules with 'mod' replaced by 'cfg'.
dopath("cfg_defaults")
-- Load configuration of the Ion 'core'. Most bindings are here.
dopath("cfg_notioncore")
--dopath("cfg_ioncore")
--dopath("cfg_mouse")
-- Load some kludges to make apps behave better.
dopath("cfg_kludges")
--dopath("cfg_kludge_flash")
-- Define some layouts.
--dopath("cfg_layouts")
-- Load some modules. Bindings and other configuration specific to modules
-- are in the files cfg_modulename.lua.
--dopath("mod_query")
--dopath("mod_menu")
--dopath("mod_tiling")
--dopath("mod_statusbar")
--dopath("mod_dock")
--dopath("mod_sp")
--dopath("mod_notionflux")
--dopath("mod_xrandr")
--
-- Common customisations
--
-- Uncommenting the following lines should get you plain-old-menus instead
-- of query-menus.
defbindings("WScreen", {
kpress(ALTMETA.."F12", "mod_menu.menu(_, _sub, 'mainmenu', {big=true})"),
})
--
--defbindings("WMPlex.toplevel", {
-- kpress(META.."M", "mod_menu.menu(_, _sub, 'ctxmenu')"),
--})
===================================================================================+++
Thanks
-WA
On Fri, May 22, 2015 at 12:36:09PM +0200, Arnout Engelen wrote:
> Hello Wojciech,
>
> Thanks for your report!
>
> Can you post your /home/foo/.notion/cfg_defaults.lua ? (or at least line 8
> and perhaps some lines around it)? /home/foo/.notion/cfg_notion.lua (or
> line 84 and some lines around it) might be useful too.
>
>
> Kind regards,
>
> Arnout
>
> On Fri, May 22, 2015 at 11:54 AM, Wojciech Aniszewski <[email protected]>
> wrote:
>
> > Package: notion
> > Version: 3+2014010901-1
> > Severity: minor
> >
> > Dear Maintainer,
> >
> > Getting a startup error message which I don't yet understand, namely:
> > ---------------------------------------------------------------------
> > Notion startup error log:
> > >> bad argument #-1 to '?' (table expected, got nil)
> > >> Stack trace:
> > 0 [C]: in 'load_module'
> > 1 mod_query.lua:15
> > [Skipping unnamed C functions.]
> > 4 [C]: in 'dopath'
> > 5 /home/foo/.notion/cfg_defaults.lua:8
> > [Skipping unnamed C functions.]
> > 8 [C]: in 'dopath'
> > 9 /home/foo/.notion/cfg_notion.lua:84
> > [Skipping unnamed C functions.]
> > ---------------------------------------------------------------------
> >
> > I don't see it as severe problem, it's merely annoying, but still...
> > regards
> > -WA
> >
> > -- System Information:
> > Debian Release: stretch/sid
> > APT prefers testing
> > APT policy: (500, 'testing')
> > Architecture: amd64 (x86_64)
> >
> > Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
> > Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
> > Shell: /bin/sh linked to /bin/dash
> > Init: systemd (via /run/systemd/system)
> >
> > Versions of packages notion depends on:
> > ii libc6 2.19-18
> > ii libice6 2:1.0.9-1+b1
> > ii liblua5.2-0 5.2.3-1.1
> > ii libsm6 2:1.2.2-1+b1
> > ii libx11-6 2:1.6.3-1
> > ii libxext6 2:1.3.3-1
> > ii libxinerama1 2:1.1.3-1+b1
> > ii libxrandr2 2:1.4.2-1+b1
> > ii x11-utils 7.7+3
> > ii xterm [x-terminal-emulator] 318-2
> >
> > Versions of packages notion recommends:
> > ii xfonts-75dpi 1:1.0.4
> >
> > Versions of packages notion suggests:
> > pn docker <none>
> > ii menu 2.1.47
> > pn notion-doc <none>
> > pn notion-scripts <none>
> >
> > -- no debconf information
> >
/^..^\ ,-------------------------------------,
( (••) ) ►►►►| My public GPG key ID: AC66485E |
(|)_._(|)~ | please use email encryption! |
`-------------------------------------"
signature.asc
Description: Digital signature

