I have different TW-KDE installs. On one, there opens a dolphin in a specifc layout each and every login (I opened it more than a year ago in this specific layout, iirc, but never ever again since then), although I close it directly and it’s not open on shoutdown/reboot. On other TW-KDE installs I would like to open some dolphin and/or other apps automagically on login.
Which file(s) store the info on the apps to open on KDE login and how to manipulate them safely?
And how to add, let’s say, a dolphin with a specific folder layout to open in this autostart folder?
Fun fact: on the machine autostarting a dolphin for more than a year I guess, the only file in
~/.config/autostart/
is
org.opensuse.opensuse_welcome.desktop
with the following content:
# I'll get copied to ~/.config/autostart/ to disable the other desktop file that should be copied to /etc/xdg/autostart/
[Desktop Entry]
Type=Application
Name=Welcome
Exec=/usr/bin/opensuse-welcome
Hidden=true
Icon=org.opensuse.opensuse_welcome
Comment=The openSUSE Welcome utility.
Categories=Qt;System;Documentation
GenericName=Welcome Utility
# Spanish translation
Name[es]=Bienvenida
Comment[es]=La utilidad de bienvenida de openSUSE.
GenericName[es]=Utilidad de bienvenida
# French translation
Name[fr]=Bienvenue
Comment[fr]=Utilitaire de bienvenue
GenericName[fr]=L'utilitaire de bienvenue d'openSUSE.
# Polish translation
Name[pl]=Witaj
Comment[pl]=Program do powitania
GenericName[pl]=Program do powitania w openSUSE.
# Simplified Chinese translation
Name[zh_CN]=??
Comment[zh_CN]=openSUSE ?????
GenericName[zh_CN]=????
And Settings -> System Settings -> Startup and Shutdown -> Autostart is empty. :-o
So what is starting up the dolphin here? Some kind of “Resume what we had at shutdown” that went crazy? Where would such a function store info on apps open at last shutdown/reboot?
When there is no entry in autostart for Dolphin and it starts on login (NOT on boot!), then that probably is because it was still running at logout and you configured KDE to re-start programs that were running on logout.
Same System Settings > Startup and Shutdown > Desktop Session. There is “On login” where you can have “Restore previous session”. And you probably have that and you do have Dolphin open at logout.
And I looked in Dolphin configuration (Settings > Configure Dolphin …) (I wonder why you are not able to look in all these user configurations) and found Startup, which shows things like Split view mode enabled or not, start in: possibilties, etc. Please try there (and elsewhere) for yourself.
And I assume (!) that Dolphin stores it’s present situation in ~/.config/dolphinrc:
henk@boven:~/.config> l dolphinrc
-rw------- 1 henk wij 1822 Mar 7 10:48 dolphinrc
henk@boven:~/.config>
The timestamp there is updated when I start Dolphin again and it is updated also when I stop Dolphin. Thus I assume that altered state is stored then for use at next start…
Yes, but when I close down (for more than a year now) this dolphin is CLOSED, but after reboot it’S there again. That’s why I started the thread… (Can anybody edit the titel (KDE instead of KDS (typo, sorry))