Skip to content

Commit

Permalink
Merge pull request #46 from KanoComputing/boot-hourglass
Browse files Browse the repository at this point in the history
Boot hourglass
  • Loading branch information
skarbat committed Sep 25, 2014
2 parents ff377e6 + 3651bf2 commit c0e3360
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
10 changes: 10 additions & 0 deletions bin/kano-uixinit
Original file line number Diff line number Diff line change
Expand Up @@ -197,13 +197,23 @@ logger_info "Launching startmouse"
# restrict server communication to max once a week (168 hours)
if [ $check_for_updates -eq 1 ] && [ is_internet ]; then
logger_info "Checking for update"

# present an hourglass
python -c "from kdesk import hourglass; hourglass.hourglass_start('check-for-updates');"
sudo /usr/bin/check-for-updates -t 168 -d

# remove the hourglass for such cases where check-for-updates decides there is nothing to show
python -c "from kdesk import hourglass; hourglass.hourglass_end()');"

else
logger_info "Not checking for update"
fi

# lxpanel
logger_info "Launching LXPanel"

# start hourglass for lxpanel startup
python -c "from kdesk import hourglass; hourglass.hourglass_start('lxpanel');"
/usr/bin/lxpanel --profile LXDE &

# starting kdesk
Expand Down
2 changes: 1 addition & 1 deletion debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Package: kano-desktop
Architecture: all
Depends: ${misc:Depends}, openbox (>=3.5.2-4~kano.1),
kdesk (>=1.1-02), chromium, kano-themes, lxmenu-data (>=0.1.2-3~kano),
kano-video-files, kano-init-flow (>=1.2.2-1), kano-profile (>=1.2-1)
kano-video-files, kano-init-flow (>=1.2.2-1), kano-profile (>=1.2-1), libkdesk-dev
Replaces: kano-settings (<< 1.1-1.20140512build2), kano-feedback (<< 1.1-3)
Breaks: kano-settings (<< 1.1-1.20140512build2), kano-feedback (<< 1.1-3)
Description: The desktop experience of Kanux
Expand Down

0 comments on commit c0e3360

Please sign in to comment.