Version: 3.6 (using KDE KDE 3.5.7) Installed from: Ubuntu Packages OS: Linux I have a simple Autostart link for knotes (symbolic link in ~/.kde/Autostart). Whenever KDE starts, it launches knotes, which always creates one new blank note. This is remembered across sessions, so if I forget to delete it, eventually my desktop is wallpapered with lots and lots of blank notes, which are annoyingly difficult to delete (right-click, select delete for each one individually).
KNotes must be running more than once for that to happen, do you run more than one session at a time ? Now I could add a Command Line Option to address this, something along the lines of `knotes --new` to create a new note on start-up.
Not that i know of - this just happens on KDE startup. The only reason I can think of is if there is some other, independent way for knotes to register to autostart, which it does automatically, and then I'm invoking it again with my ~/.kde/Autostart/. Does that seem possible? If so, there ought to be a way to configure that behavior in knotes (and in KDE more generally). Saurabh On 27 Sep 2007 09:44:24 -0000, Guillermo A. Amaral <me@guillermoamaral.com> wrote: [bugs.kde.org quoted mail]
Do you have "Restore previous session" on login in your session manager ? Please check in : KControl > KDE Components > Session Manager If so, the session remembers that you had KNotes running, so it runs KNotes for you, that might be happening before your Autologin link runs KNotes a second time creating the new blank Note.
Aha... that would explain things. So is there any acceptable solution? I don't want to disable the Autostart, since I want knotes to start up every time, regardless of whether it's been killed before I restart my old session. I suppose I could write a script to see if knotes is running first, but this seems needlessly difficult. is there some behavior where knotes will suppress the note-creation if another session is running? Saurabh On 27 Sep 2007 16:21:42 -0000, Guillermo A. Amaral <me@guillermoamaral.com> wrote: [bugs.kde.org quoted mail]
KNotes for KDE4 will allow you to suppress automatic note creation, but for now you can do one simple thing, add `knotes` to `Applications to be excluded from sessions` In the Session Manager under Advanced. This way KNotes will only be executed by the Autostart link.
Not a direct bug, will add command line option to suppress note creation on start-up.