QupZilla / qupzilla

Cross-platform Qt web browser
http://www.qupzilla.com
GNU General Public License v3.0
1.11k stars 350 forks source link

CLI option to start a new session #2626

Closed Houkime closed 6 years ago

Houkime commented 6 years ago

I'm currently trying to automate window arrangement for streams and stuff via wmctrl and xdotool, and everything is fine except for the fact that Qupzilla CLI doesn't allow to discard current session and start fresh new from the shell. I mean, even when you do qupzilla -u <url> which intuitively should start fresh clean window, it still tries to restore your last session if you have restoration enabled.

Which makes you do manual cleanups after spawning stuff with script.

I don't want to disable restoration or jump between profiles, I want an option to make a new clean window even if it discards a session.

nowrep commented 6 years ago

Delete $PROFILE/session.dat before running qupzilla -u <url> if you really want to lose your session. This is, however, not how it should behave by default.