Re: difficult-to-phrase question...
On Mon, 7 Sep 2009 18:34:15 -0700 Gary Kline kl...@thought.org wrote: On Tue, Sep 08, 2009 at 01:56:12AM +0100, RW wrote: Wouldn't you be better-off just turning-off session management, and using autostart instead sounds like a good idea; how do i accomplish this? The Session Manager in Control Center lets you turn it off, and you can drag application icons into ~/.kde/Autostart to have them autostart instead. also, what if i have a konqueror running and sites running and the power goes out. sometimes i want the apps to restart, not usually. is it possible to save Some programs state and let others go? The Session Manager lets you exempt applications, but I'm not sure if you can distinguish konqueror browsers from file managers though. In other browsers crash recovery works independently of session management, I think you probably do need it with konqueror but I'm not sure. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: difficult-to-phrase question...
On Wed, 2 Sep 2009 16:43:30 -0700 Gary Kline kl...@thought.org wrote: i can use grep to find S and grep gives me the file[s] that have the string. now, is there any easy way of reading that file, or deleting or otherwise munging that file? nutshell is that every time i reboot (into kde), kde wastes time/cpu spawning unwanted whatever: versions of konqueror, kttsd, ksayit, Wouldn't you be better-off just turning-off session management, and using autostart instead ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: difficult-to-phrase question...
On Tue, Sep 08, 2009 at 01:56:12AM +0100, RW wrote: On Wed, 2 Sep 2009 16:43:30 -0700 Gary Kline kl...@thought.org wrote: i can use grep to find S and grep gives me the file[s] that have the string. now, is there any easy way of reading that file, or deleting or otherwise munging that file? nutshell is that every time i reboot (into kde), kde wastes time/cpu spawning unwanted whatever: versions of konqueror, kttsd, ksayit, Wouldn't you be better-off just turning-off session management, and using autostart instead sounds like a good idea; how do i accomplish this? also, what if i have a konqueror running and sites running and the power goes out. sometimes i want the apps to restart, not usually. is it possible to save Some programs state and let others go? gary ps: i'm new to kde/gnome, but here on tao [freebsd] have mostly kde[3] going. some cli tools, like mutt, are almost sacred. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 5.67a release of Jottings: http://jottings.thought.org/index.php ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: difficult-to-phrase question...
On Wed, Sep 02, 2009 at 08:02:18PM -0400, Jon Radel wrote: Gary Kline wrote: guys, (of either gender) here's one that is a bit difficult to figure out how to ask, but here's my first shot: i'm looking for a file what contains string S. the filename in this case has a zillion letters, but that beside the point. i can use grep to find S and grep gives me the file[s] that have the string. now, is there any easy way of reading that file, or deleting or otherwise munging that file? nutshell is that every time i reboot (into kde), kde wastes time/cpu spawning unwanted whatever: versions of konqueror, kttsd, ksayit, c. [[i found these files in ~/.kde/share/config/session, about 20, dated may, 09 to oct 08. rm'ing the bunch would get rid of the instantiate problem, but having a script to diddle with a found string S would be useful esp'ly if the filename of pathname were long. i'll mouse swipe the string and fname to prove my point. thanks for any help. gary ps: if scripting this is too grizzly i'll do it in C and do an inline post of src and example use. Do you mean something like rm `grep -l S *` Or, more specifically, maybe $ cmd `grep -lr S *` [??] I'll try that on the string I was looking for. Polytropon, I have only the vaguest clue what your suggestion was, sorry. To Adam, yeah, I have indeed removed these surplus kde apps, but the session file is still there each time. So the apps are reinstantianted every time. --I'm going to blow them away. gary or am I completely missing the point of what you're trying to do? -- --Jon Radel j...@radel.com -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 5.67a release of Jottings: http://jottings.thought.org/index.php 10% slice of my latest novel: http://www.thought.org/10pc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: difficult-to-phrase question...
On Thu, Sep 03, 2009 at 02:05:57AM +0200, Polytropon wrote: On Wed, 2 Sep 2009 16:43:30 -0700, Gary Kline kl...@thought.org wrote: i'm looking for a file what contains string S. the filename in this case has a zillion letters, but that beside the point. i can use grep to find S and grep gives me the file[s] that have the string. now, is there any easy way of reading that file, or deleting or otherwise munging that file? I would suggest one of my favourite tools, the Midnight Commander, available via ports as misc/mc or misc/mc-lite - or from a package. First you run the find dialog, Meta-? (Esc, ?, if you don't have a Meta key). Enter file mask if needed, starting directory (usu- ally .) and S for the search string. Then a list with the items found will come up. In order to view a file from this list, press PF3 on a file. The viewer will automatically skip to where S has been found in the file. If you press ENTER on the file, it will be selected in one of the panels, and you can move or delete it. ps: if scripting this is too grizzly i'll do it in C and do an inline post of src and example use. If you exactly know what to do with the file, scripting might be the easiest solution. The more interaction, the less optimum it is. :-) you're right. originally, i was thinking of simplr /bin/rm. find a string, and move that file into some junk file or just remove it. then i thought about viewing it with more|vi. or cp'ing the file. etc. mv seems to have already been invented!! gary -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 5.67a release of Jottings: http://jottings.thought.org/index.php 10% slice of my latest novel: http://www.thought.org/10pc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: difficult-to-phrase question...
On Wed, Sep 2, 2009 at 6:43 PM, Gary Kline kl...@thought.org wrote: guys, (of either gender) here's one that is a bit difficult to figure out how to ask, but here's my first shot: i'm looking for a file what contains string S. the filename in this case has a zillion letters, but that beside the point. i can use grep to find S and grep gives me the file[s] that have the string. now, is there any easy way of reading that file, or deleting or otherwise munging that file? nutshell is that every time i reboot (into kde), kde wastes time/cpu spawning unwanted whatever: versions of konqueror, kttsd, ksayit, c. [[i found these files in ~/.kde/share/config/session, about 20, dated may, 09 to oct 08. rm'ing the bunch would get rid of the instantiate problem, but having a script to diddle with a found string S would be useful esp'ly if the filename of pathname were long. i'll mouse swipe the string and fname to prove my point. thanks for any help. gary ps: if scripting this is too grizzly i'll do it in C and do an inline post of src and example use. p4 16:18 tao [5058] rgr www.h-online ~/.kde/share/config/session ./konqueror_101be1a31b9d100012436384840011730067_1243656675_647947:12:ViewT0_URL[$e]= http://www.h-online.com/open/Google-Wave-The-instant-wiki-communicator--/news/113410 Have you tried logging out of kde with those apps closed? -- Adam Vande More ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
difficult-to-phrase question...
guys, (of either gender) here's one that is a bit difficult to figure out how to ask, but here's my first shot: i'm looking for a file what contains string S. the filename in this case has a zillion letters, but that beside the point. i can use grep to find S and grep gives me the file[s] that have the string. now, is there any easy way of reading that file, or deleting or otherwise munging that file? nutshell is that every time i reboot (into kde), kde wastes time/cpu spawning unwanted whatever: versions of konqueror, kttsd, ksayit, c. [[i found these files in ~/.kde/share/config/session, about 20, dated may, 09 to oct 08. rm'ing the bunch would get rid of the instantiate problem, but having a script to diddle with a found string S would be useful esp'ly if the filename of pathname were long. i'll mouse swipe the string and fname to prove my point. thanks for any help. gary ps: if scripting this is too grizzly i'll do it in C and do an inline post of src and example use. p4 16:18 tao [5058] rgr www.h-online ~/.kde/share/config/session ./konqueror_101be1a31b9d100012436384840011730067_1243656675_647947:12:ViewT0_URL[$e]=http://www.h-online.com/open/Google-Wave-The-instant-wiki-communicator--/news/113410 -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 5.67a release of Jottings: http://jottings.thought.org/index.php 10% slice of my latest novel: http://www.thought.org/10pc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: difficult-to-phrase question...
On Wed, 2 Sep 2009 16:43:30 -0700, Gary Kline kl...@thought.org wrote: i'm looking for a file what contains string S. the filename in this case has a zillion letters, but that beside the point. i can use grep to find S and grep gives me the file[s] that have the string. now, is there any easy way of reading that file, or deleting or otherwise munging that file? I would suggest one of my favourite tools, the Midnight Commander, available via ports as misc/mc or misc/mc-lite - or from a package. First you run the find dialog, Meta-? (Esc, ?, if you don't have a Meta key). Enter file mask if needed, starting directory (usu- ally .) and S for the search string. Then a list with the items found will come up. In order to view a file from this list, press PF3 on a file. The viewer will automatically skip to where S has been found in the file. If you press ENTER on the file, it will be selected in one of the panels, and you can move or delete it. ps: if scripting this is too grizzly i'll do it in C and do an inline post of src and example use. If you exactly know what to do with the file, scripting might be the easiest solution. The more interaction, the less optimum it is. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: difficult-to-phrase question...
Gary Kline wrote: guys, (of either gender) here's one that is a bit difficult to figure out how to ask, but here's my first shot: i'm looking for a file what contains string S. the filename in this case has a zillion letters, but that beside the point. i can use grep to find S and grep gives me the file[s] that have the string. now, is there any easy way of reading that file, or deleting or otherwise munging that file? nutshell is that every time i reboot (into kde), kde wastes time/cpu spawning unwanted whatever: versions of konqueror, kttsd, ksayit, c. [[i found these files in ~/.kde/share/config/session, about 20, dated may, 09 to oct 08. rm'ing the bunch would get rid of the instantiate problem, but having a script to diddle with a found string S would be useful esp'ly if the filename of pathname were long. i'll mouse swipe the string and fname to prove my point. thanks for any help. gary ps: if scripting this is too grizzly i'll do it in C and do an inline post of src and example use. Do you mean something like rm `grep -l S *` or am I completely missing the point of what you're trying to do? -- --Jon Radel j...@radel.com smime.p7s Description: S/MIME Cryptographic Signature