solo2500
Posts: 123
Joined: Sat Jul 09, 2016 12:38 am

short cut to text file?

Sun Sep 04, 2016 7:04 pm

Is there a simple way to create a shortcut on the Rpi desktop that opens a text file (buried in the file structure)?
Thanks all!
I'm a total novice, non-programer (...basically a hack.)

User avatar
scruss
Posts: 3218
Joined: Sat Jun 09, 2012 12:25 pm
Location: Toronto, ON
Contact: Website

Re: short cut to text file?

Sun Sep 04, 2016 9:02 pm

Simple, as in point and click? No, not with the standard PCManFM file manager. It's quite simple from the terminal:

Code: Select all

cd Desktop
ln -s /home/pi/Documents/wherever/thatfile.txt
That creates a soft link to /home/pi/Documents/wherever/thatfile.txt on the Desktop.

There are other files called Desktop Entries that behave more like Windows shortcuts, but they're a bit more complex to explain.
‘Remember the Golden Rule of Selling: “Do not resort to violence.”’ — McGlashan.
Pronouns: he/him

Return to “Beginners”