Re: Re: Bug#574389: gkrellm: Information in sensor-config file is lost after power outage
Stefan Gehn <[email protected]> Sat, 05 Jun 2010 00:22:51 +0200
| Newsgroups | gmane.comp.gnome.apps.gkrellm |
|---|---|
| Message-ID | <[email protected]> |
Hello, I had a quick look at the code that saves sensor-config. It's very simple and basically rewrites the whole file. For safety reasons it might be better to write a temporary and move it, overwriting the old one. I'll have a look at how gkrellm main-config is written but I think it works exactly the same way, in theory both files would be affected by such problems. The problem described sounds more as if gkrellm would constantly rewrite sensors-config, I could not find anything like that in the code though. Bye, Stefan On 27.03.2010 10:46, Sandro Tosi wrote: > forwarded 574389 [email protected] > thanks > > Hello, > I'm forwarding this bug to the upstream mailing-list, maybe they can help here. > > (resend) > > On Wed, Mar 17, 2010 at 21:57, Marc Coll<[email protected]> wrote: >> Package: gkrellm >> Version: 2.3.4-1 >> Severity: normal >> >> When the computer loses power unexpectedly, or sometimes when gkrellm is >> finished abruptly, some the contents of the ~/.gkrellm2/sensor-config file >> are lost. >> >> I always have gkrellm running (it run automatically when I start KDE), and >> I don't bother to close it before shutting down the computer. Nearly half >> of the times, when the computer starts again, gkrellm is missing some of >> the temperature sensors in the sensor list, and I have to add them again. >> >> >> -- System Information: >> Debian Release: squeeze/sid >> APT prefers testing >> APT policy: (990, 'testing'), (300, 'unstable') >> Architecture: amd64 (x86_64) >> >> Kernel: Linux 2.6.32-3-amd64 (SMP w/2 CPU cores) >> Locale: LANG=ca_ES.UTF-8, LC_CTYPE=ca_ES.UTF-8 (charmap=UTF-8) >> Shell: /bin/sh linked to /bin/bash >> >> Versions of packages gkrellm depends on: >> ii libatk1.0-0 1.28.0-1 The ATK accessibility toolkit >> ii libc6 2.10.2-6 Embedded GNU C Library: Shared lib >> ii libcairo2 1.8.10-2 The Cairo 2D vector graphics libra >> ii libfontconfig1 2.8.0-2 generic font configuration library >> ii libfreetype6 2.3.11-1 FreeType 2 font engine, shared lib >> ii libgcrypt11 1.4.5-2 LGPL Crypto library - runtime libr >> ii libglib2.0-0 2.22.4-1 The GLib library of C routines >> ii libgnutls26 2.8.5-2 the GNU TLS library - runtime libr >> ii libgtk2.0-0 2.18.6-1 The GTK+ graphical user interface >> ii libice6 2:1.0.6-1 X11 Inter-Client Exchange library >> ii libntlm0 1.1-1 NTLM authentication library >> ii libpango1.0-0 1.26.2-1 Layout and rendering of internatio >> ii libsm6 2:1.1.1-1 X11 Session Management library >> ii libx11-6 2:1.3.3-1 X11 client-side library >> >> gkrellm recommends no packages. >> >> gkrellm suggests no packages. >> >> -- no debconf information >> >> >> > > > ______________________________________________ Gkrellm mailing list [email protected] Read archives-join-leave-set RSS feed: http://archive.lists.netservicesgroup.com This service is provided by The Network Services Group: http://www.netservicesgroup.com