[gobolinux-users] KDE: Create new.... symlink???

kenneth marken k-marken at online.no
Fri Sep 7 07:28:01 UTC 2007


On Friday 07 September 2007 08:58:15 Jonas Karlsson wrote:
> 2007/9/7, kenneth marken <k-marken at online.no>:
> > On Friday 07 September 2007 08:50:34 kenneth marken wrote:
> > > On Friday 07 September 2007 08:48:43 Jonas Karlsson wrote:
> > > > 2007/9/7, kenneth marken <k-marken at online.no>:
> > > > > On Friday 07 September 2007 08:35:55 Michael Homer wrote:
> > > > > > On 9/7/07, Andy Feldman <nereusren at gmail.com> wrote:
> > > > > > > On Thursday 06 September 2007 18:43, Michael Homer wrote:
> > > > > > > > On 9/7/07, Michael Dickson <mike at communicatezing.com> wrote:
> > > > > > > > > I just noticed that when I right-click on the Desktop and
> > > > > > > > > choose Create New -> "..."
> > > > > > > > > the resulting file is a symlink, not the real file!
> > > > > > > >
> > > > > > > > What's the "..." here? Where does the symlink point? I can't
> > > > > > > > duplicate this here.
> > > > > > >
> > > > > > > I get the same thing. If I right-click in Konqueror file
> > > > > > > browser and choose "Create New" > "Text File...", it creates a
> > > > > > > symlink to
> > > > > > > /Programs/KDE-Base/3.5.3/Shared/templates/.source/TextFile.txt.
> > > > > > > Similarly with all the other file types that appear in that
> > > > > > > section of the "Create New" submenu. It's not restricted to the
> > > > > > > entries from KDE-Base: Creating a new office text document
> > > > > > > makes a link to
> > > > > > > /Programs/KOffice/1.6.1/Shared/templates/.source/TextDocument.k
> > > > > > >wt.
> > > > > >
> > > > > > It doesn't for me for any of them (ls -l confirms it), and so far
> > > > > > as I can tell I have basically the same setup as the original
> > > > > > poster, although there are a couple of KDE components that are
> > > > > > still at 3.5.6 (-Network is one, I don't remember the other). So
> > > > > > I can't explain what's going on for everybody else...
> > > > >
> > > > > wild guess, when kde does a "create new" what it does its copy a
> > > > > existing file into place under a new name. or atleast thats how it
> > > > > looks. so can it be that it ends up copying the symbolic links 
> > > > > that gobo use rather then the files in question?
> > > > >
> > > > > hmm, only thing i know i have done is to recompile kde-base so as
> > > > > to get smb support. outside of that im using binary packages as
> > > > > much as possible.
> > > >
> > > > I think the difference in setup is that those that get the symlink
> > > > has other templates installed, which would make SymlinkProgram expand
> > > > every directory and make the files links, instead of how Michael (and
> > > > I) have it where the link is /System/Links/Shared/templates ->
> > > > /Programs/KDE-Base/3.5.6/Shared/templates and
> > > > /System/Links/Shared/templates/.source/foo is a real document.
> > > >
> > > > Konqueror should read the link, so this should be reported as a bug
> > > > upstream.
> > >
> > > should be simple to test. im guessing that disabling say koffice should
> > > fix it?
> >
> > bah, argument list to long. i thought that one was fixed.
>
> Yes, it's fixed in CVS.
>

hmm, i thought i was using cvs...

need to recheck that...

yep, cvs-20070814. is it a more recent version that fix it?

> > also DisableProgram moves/renames the koffice 1.6.0 dir to 1.6.0 when all
> > it needed to do was remove the current symlink and clean up the
> > /System/Links area...
>
> See my other reply.

i see it, and may look into it (but i dont make much use of the feature. to 
much of a habbit of starting the app first, then worrying about what file 
type i want to make) but it does not explain the behaviour of 
DisableProgram...

and if i does SymlinkProgram after that, it symlinks to "version"-disabled, 
not rename the dir back and then symlink it to current.


More information about the gobolinux-users mailing list