[COLUG] File Links

Wade Pinkston blata at extent0006.entomology.ohio-state.edu
Thu Mar 8 15:03:50 EST 2007


If I understand what your asking I think your looking for a sim link.

try this

ln -s "source file path" "path to file on desktop"



Mark Erbaugh wrote:
> I'm trying to do something with file links and it's not working the way
> I anticipated (could be because I'm used to working with Windows
> shortcuts).  I'm using Ubuntu Dapper, with Gnome and Nautilus.
> 
> I have a directory for a Python project I am developing.  In that
> directory, I have a main.py file which is the main file for the project.
> If I open that directory with Nautilus and launch that file by double
> clicking and select Dislay, Idle (Python editor) opens the file with the
> project directory as the current working directory, which is what I
> want. The rest of the project is in directories (Python packages) inside
> that directory.
> 
> I created a link on my desktop to this file (I did this by using the
> Nautilus 'Make Link' command in the pop-up context menu for the file
> icon and then copying it to the desktop). If I double click this link,
> Idle opens the file, but the file name displayed is that of the link and
> the current working directory is set to my Desktop directory.
> 
> Is there a way to have launching this link work the same as launching
> the file it points to?
> 
> Thanks,
> Mark
> 
> _______________________________________________
> colug432 mailing list colug432 at colug.net
> http://www.colug.net/mailman/listinfo/colug432
> 

-- 
Wade Pinkston

Ipsa scientia potestas est

Windows,a
32 bit graphical interface for a
16 bit patch to an
8 bit operating system internally coded for a
4 bit processor written by a
2 bit company that can't stand
1 bit of competition



More information about the colug432 mailing list