[prev in list] [next in list] [prev in thread] [next in thread]
List: kfm-devel
Subject: Re: Bug#2155: Autostart executes backup files (file~)
From: Simon Hausmann <shaus () uermel ! Med ! Uni-Magdeburg ! DE>
Date: 1999-10-16 20:57:42
[Download RAW message or body]
This *untested* 2-line patch might help for kdesktop.
Ciao,
Simon (..too lazy to compile kdesky right now ;-)
Index: main.cc
===================================================================
RCS file: /home/kde/kdebase/kdesktop/main.cc,v
retrieving revision 1.24
diff -u -r1.24 main.cc
--- main.cc 1999/10/07 18:21:43 1.24
+++ main.cc 1999/10/16 20:48:11
@@ -99,7 +99,8 @@
QStringList::Iterator it = entries.begin();
QStringList::Iterator end = entries.end();
for (; it != end; ++it )
- (void) new KRun( (*it).prepend( QString::fromLatin1( "file:" ) + dir.absPath() \
+ '/' ), 0, true ); + if ( (*it).right( 1 ) != "~" )
+ (void) new KRun( (*it).prepend( QString::fromLatin1( "file:" ) + \
dir.absPath() + '/' ), 0, true ); }
vBOA->impl_is_ready( CORBA::ImplementationDef::_nil() );
On Sat, 16 Oct 1999, Silas S. Brown wrote:
>
> Package: kfm
> Version: 1.167.2.11
>
> Would it be possible for kfm to avoid executing the backup files
> (ie. files ending ~) in Autostart? Emacs will make backup files
> whenever you edit something, and if you forget about this then you'll
> get two (or more) instances of it starting next time you log in.
>
> On my system, I modified the 'kde' shell script to remove all ~ files,
> but that's a bit draconian (ignoring them would be better).
>
> Best wishes, Silas
>
> --
> Silas S Brown, St John's College Cambridge UK http://epona.ucam.org/~ssb22
>
> "Earth itself has been given into the hand of the wicked one" - Job 9:24
>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic