XFCE Session Manager doesn't "see" some of the applications I use regularly.
Namely:
- google-chrome-stable (installed through apt-get, from http://dl.google.com/linux/chrome/deb/)
- A bunch of JetBrains programming tools (Java apps, installed under
/opt
) - SublimeText (installed under
/opt
)
These apps don't appear in the list under the "Session" tab in the "Session and Startap" configuration screen, aren't properly shut down and don't come back after restart. All of this is annoying.
Some of the apps that it does see and manages properly are:
- ROXTerm terminal app (native XFCE app)
- Krusader file manager (KDE app)
- Skype
What's the reason behind this? Anything I can do to fix it?
System is "Debian Unstable" (just updated from Jessie to Stretch), XFCE 4.10.
Update, answers for @jcoppens:
Did you start your favorite programs directly from the menu, or from a terminal? (the java apps too?)
All programs have a .desktop
file under /usr/share/applications/
. Also a shortcut on my user's Desktop. I usually start them through kupfer, which finds them without problems.
And did you try 'Save session' in the Session and Startup window? Do you have 'Save session on logout' enabled? And do you actually use the commands to shutdown/logout?
Yes. Yes. Yes. :-(
Also, have a look at ~/.cache/sessions, where the actual session is saved, something like xfce4-session-account:0. In that file is the actual list of what is saved on logout.
Checked it. It's generated properly. Everything that appears under "Session and Startup" is registered here and later brought back. As expected.
@jcoppens the real mystery is how your session stuff gets saved when it isn't detected by the XFCE session manager. Perhaps there's some other application / daemon that actually saves the session in your case? Can you check?
Update: relevant active daemons:
~ $ ps x | grep -E 'xfce4-session|xfsettingsd'
1009 ? Sl 0:00 xfce4-session
1311 ? Ssl 0:00 xfsettingsd --display :0.0 --sm-client-id 21d1495d8-70ec-495d-9869-879a9d9c4ae8