chilipie-kiosk
chilipie-kiosk copied to clipboard
Session cleanup issue
Hello,
After playing a bit with this wonderful tool I noticed that for me the previous session cleanup that is done here
https://github.com/futurice/chilipie-kiosk/blob/818a81335f8ec75e367b60339d1a481613e5db63/home/.xsession#L29
is not working. rm
is passed a Last Session
file that contains a space and fails.
I tried manually running this with find .config/chromium/ -name "Last *" -exec rm {} +
and is looking good.
Anyone else experiencing this ?
I'm running the v2.1.0
Thanks for reporting this! It indeed looks like it might not work as intended.
Possible reason for why no-one's noticed is that it's actually not needed all that often, Chromium recovers fine on its own most of the time.
So this manifested as the "Chrome didn't shut down correctly :(" page after a reboot?
No, in my case It was a lot of tabs opened after restarts. I actually realized this when testing the tab cycle feature between two tabs opened from the command line
I added this to my .xsession before chromium-browser --start-fullscreen...
sudo rm -r ~/.cache/chromium
sudo rm -r ~/.config/chromium/Default/
Refer to issue 47 to see why I used this for.
@crisp2u hmm, Chromium IS configured to reopen any tabs that were open when it shut down (or crashed)... do you mean there were more than that when it reopened?
@jareware Yes, I had quite a few tabs opened. I open 3 tabs by passing 3 urls as arguments to chromium-browse in ~/.xsession. I believe that was the intention of the above line in ~/.xsession, to delete the chromium Last Session but that fails, like I explained above
added a PR #80
OK, thanks, I'll check that out ASAP!