Re: [kde] How to save the desktop applets settings?



paulo posted on Tue, 22 Sep 2009 12:58:41 +0000 as excerpted:

I tried to kill the app, and restart it. It actually works. That is it
saves the config, and the next time it starts, it uses the saved config.
The problem is that when I reboot the computer it will restart again
with the default config.
So, apparently I would have to kill the app every time... This doesn't
make sense (at least to me,) right?

Well, you know the applet is saving its config, and reading it back in
when it starts, now. But what's happening to the config at reboot?

FWIW... You mention rebooting the computer. OK, but KDE runs on X, and
the computer can run just fine in CLI (command line interface, aka text
mode) without X. Shutting down KDE, or all of X, is therefore not the
same as a reboot. You can as easily simply shut X down and return to the
CLI, then restart X, without rebooting the whole computer.

Or, depending on whether you use a graphical login (XDM/KDM/GDM/etc) or
login at the CLI and startx or similar to start KDE, you can simply
return to the graphical login, thus shutting down your KDE login while
still running X, and login again.

Either way, you're restarting the KDE user session and thus the KDE
desktop and apps, without rebooting.

The question now is, does the app remember its settings when you do so,
or does it forget them. Put a different way, we know just restarting the
app retains settings, and rebooting loses them, but we don't know yet
whether restarting your kde user session retains your settings or loses
them.

What I'm thinking may be happening is that there's some sort of fsck or
journal replay or something messing up the filesystem at the reboot.
Just restarting X (if you start X from a CLI login) or logging out of
your KDE session and back in (if you use a *DM graphical login), will
restart kde without screwing with the filesystem mounts, etc, as a reboot
would, thereby narrowing down the problem a bit further, regardless of
which way it goes.

So try that and post the results. You got me interested in trying to
trace this down, now! Since we know the applet reads in its config
correctly, if worse comes to worse, we can probably devise a hack to
ensure it gets the correct config. But tracing and fixing the issue is
far better than hacking around it, so let's see how that goes, first.

--
Duncan - List replies preferred. No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master." Richard Stallman

___________________________________________________
This message is from the kde mailing list.
Account management: https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.



Relevant Pages

  • Re: [kde] Pictures of Green and Red highlights in the KDE
    ... the system as it's trying to interpret the config, ... Anne, could you mail or IRC one of the KDE UI devs, providing them the ... After you know your filesystems are in order and after a reboot (it's ... We'll assume it's in your kde config for now, and that the rename so you ...
    (KDE)
  • Re: [kde-linux] Accident loses sound
    ... It might still work partially but only a reboot and thus re-initializing the ... stopping session and restarting it ... Kevin Krammer, KDE developer, xdg-utils developer ...
    (KDE)
  • Re: [kde] How to save the desktop applets settings?
    ... So, I guess when KDE shuts down normally, it deletes or at least changes something in the configuration files. ... The problem is that when I reboot the computer it will restart again ... login at the CLI and startx or similar to start KDE, ... you're restarting the KDE user session and thus the KDE ...
    (KDE)
  • Re: If it aint broke.........
    ... There are several reasons XP can drop a DHCP lease. ... XP config is reset to that date. ... Reboot. ... Try removing all network adapters from device manager and then reinstalling. ...
    (sci.electronics.design)
  • Re: Linux 2.6.33-rc3, rc2 regression at boot
    ... about guessing at the proper config, but I did hear kde sign on when x ... which was just 'firmware', and rebuilt. ... I will try that when I next reboot, ... I am not convinced my wireless keyboard is alive at 0.6 seconds into the boot ...
    (Linux-Kernel)