Did you find this article helpful?
[Bugreport] [Linux] "invalid option -session"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hey,
KDE is automatically restarting applicatios on login, that were running in the last session and thus, spotify is also restarted. Applications are started with a -sesstion argument, for example:
spotify -session 1020b17c184165000138602432300000023810069_1403993180_490291
currently, spotify then opens an error message box:
I'd suggest to use something like:
#ifdef LINUX
StringList getArgs() {
StringList ret;
for (int i = 0; i < application->arguments().length(), ++i) {
if (application->arguments()[i] != "-sesstion")
++i;
else
ret.append(application->arguments()[i])
}
return ret;
}
#endif
Additionally, you should set Spotify as the message box header. It took me a while to figure out, that spotify was showing this error.
Best Regards
- Labels:
-
Linux
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page