This has been annoying me too. Its pretty nit-picky but I don't want to have chrome always ask me to restore tabs after a shutdown.
I want to be able to turn off my netbook, with chrome open and when I turn it back on for chrome to already have the tabs open, not always ask.
I wrote a script to close chrome properly when I shutdown/reboot.
-------------------------
cat /etc/init.d/killchrome.sh
#!/bin/sh
killall -I chrome
-------------------------
If I run this it closes chrome, if I reboot, when chrome opens the tabs are properly restored. Made it executable. I made a link to this file in /etc/rc0.d and /etc/rc6.d naming the files K01killchrome.sh
But a reboot or shutdown doesn't work. Chrome is still prematurely closed. After a reboot it asks to restore tabs... I also tried K99killchrome.sh
Anyone who knows about running scripts very early in the shutdown&reboot process please guide us in the right way. Thanks
I ran
Bookmarks