Package: notion
Version: 3+2014010901-1
Severity: normal

I configured notion to use stalonetray, but when I run stalonetray it
appears blank. 

If I restart notion by pressing F12, then entering session/restart,
stalonetray appears.

My ~/.notion/cfg_statusbar.lua includes this configuration:

template="[ %date | %load ] %systray%filler%systray_stalone",

defwinprop{class="stalonetray",instance="stalonetray",statusbar="systray_stalone"}
defwinprop{instance="stalonetray",statusbar="systray_stalone"}
defwinprop{class="stalonetray",statusbar="systray_stalone"}

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.14-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages notion depends on:
ii  gnome-terminal [x-terminal-emulator]  3.12.3-1
ii  libc6                                 2.19-7
ii  libice6                               2:1.0.9-1
ii  liblua5.2-0                           5.2.3-1
ii  libsm6                                2:1.2.2-1
ii  libx11-6                              2:1.6.2-2
ii  libxext6                              2:1.3.2-1
ii  libxinerama1                          2:1.1.3-1
ii  libxrandr2                            2:1.4.2-1
ii  mate-terminal [x-terminal-emulator]   1.8.0+dfsg1-3
ii  stterm [x-terminal-emulator]          0.5+20140606+gitc2fd275-1
ii  x11-utils                             7.7+2
ii  xterm [x-terminal-emulator]           308-1

Versions of packages notion recommends:
ii  xfonts-75dpi  1:1.0.3

Versions of packages notion suggests:
ii  docker          1.5-1
ii  menu            2.1.47
pn  notion-doc      <none>
ii  notion-scripts  20121023-1

-- no debconf information
--
-- Notion statusbar module configuration file
-- 

-- Create a statusbar
mod_statusbar.create{
    -- First screen, bottom left corner
    screen=0,
    pos='bl',
    -- Set thGis to true if you want a full-width statusbar
    fullsize=true,
    -- Swallow systray windows
    systray=true,

    -- Template. Tokens %string are replaced with the value of the 
    -- corresponding meter. Currently supported meters are:
    --   date          date
    --   load          load average (1min, 5min, 15min)
    --   load_Nmin     N minute load average (N=1, 5, 15)
    --   mail_new      mail count (mbox format file $MAIL)
    --   mail_unread   mail count
    --   mail_total    mail count
    --   mail_*_new    mail count (from an alternate mail folder, see below)
    --   mail_*_unread mail count
    --   mail_*_total  mail count
    --
    -- Space preceded by % adds stretchable space for alignment of variable
    -- meter value widths. > before meter name aligns right using this 
    -- stretchable space , < left, and | centers.
    -- Meter values may be zero-padded to a width preceding the meter name.
    -- These alignment and padding specifiers and the meter name may be
    -- enclosed in braces {}.
    --
    -- %filler causes things on the marker's sides to be aligned left and
    -- right, respectively, and %systray is a placeholder for system tray
    -- windows and icons.
    --
    -- template="[ %date || load: %load ] %filler%systray",
    -- template="[ %date || %load ] %systray%filler%systray_stalone",
    template="[ %date | %load | %iwinfo_ssid %iwinfo_linkq | 
%laptopstatus_batterypercent | %laptopstatus_batterytimeleft | 
%laptopstatus_batterydrain | %laptopstatus_cpuspeed | %laptopstatus_temperature 
] %systray%filler%systray_stalone",
    --template="[ %date || load:% %>load || mail:% %>mail_new/%>mail_total ] 
%filler%systray",
    --template="[ %date || load: %05load_1min || mail: 
%02mail_new/%02mail_total ] %filler%systray",
}


-- Launch ion-statusd. This must be done after creating any statusbars
-- for necessary statusd modules to be parsed from the templates.
mod_statusbar.launch_statusd{
    -- Date meter
    date={
        -- ISO-8601 date format with additional abbreviated day name
        date_format='%a %Y-%m-%d %H:%M',
        -- Finnish etc. date format
        --date_format='%a %d.%m.%Y %H:%M',
        -- Locale date format (usually shows seconds, which would require
        -- updating rather often and can be distracting)
        --date_format='%c',
        
        -- Additional date formats. 
        --[[ 
        formats={ 
            time = '%H:%M', -- %date_time
        }
        --]]
    },      

    -- Load meter
    load={
        --update_interval=10*1000,
        --important_threshold=1.5,
        --critical_threshold=4.0,
    },

    -- Mail meter
    --
    -- To monitor more mbox files, add them to the files table.  For
    -- example, add mail_work_new and mail_junk_new to the template
    -- above, and define them in the files table:
    --
    -- files = { work = "/path/to/work_email", junk = "/path/to/junk" }
    --
    -- Don't use the keyword 'spool' as it's reserved for mbox.
    mail={
        --update_interval=60*1000,
        --mbox=os.getenv("MAIL"),
        --files={},
    },
    linuxbatt={
    },
}

defwinprop{class="stalonetray",instance="stalonetray",statusbar="systray_stalone"}
defwinprop{instance="stalonetray",statusbar="systray_stalone"}
defwinprop{class="stalonetray",statusbar="systray_stalone"}

Reply via email to