How to open a .txt file that I copy from PC to FP2 with UT? [Solved]
-
Both
gedit
andmedit
installed in a Libertine container work fairly well in UT as well. You can use the Libertine Tweak Tool in the Open Store to enable better sized gui's for these.Best regards,
Steve Berson -
Thanks, guys, for the help. I will heed the advice.
-
@adeliepenguin said in How to open a .txt file that I copy from PC to FP2 with UT?:
... I took the liberty to create myself a short-cut (~phablet: ln -s /.local/share/tedit.fulvio/ MyTextFiles) ...
Hi adeliepenguin. How do I make a shortcut from the Downloads folder to the tedit text files folder? Would it be something like this?
~phablet: ln -s /.local/share/tedit.fulvio/ /Downloads/MyTextFiles
Should I put the link in the Downloads folder or the tedit.fulvio folder?
-
@Opolork said in How to open a .txt file that I copy from PC to FP2 with UT?:
Should I put the link in the Downloads folder or the tedit.fulvio folder?
I think both are fine. The way you wrote the command is IMHO the safest.
And yes a simple
ln
should do the job.
Don't forget the~
before the paths -
@AppLee Cheers, AL.
-
So this is correct to be run from the home folder?
ln -s ~/.local/share/tedit.fulvio/notes.txt ~/Downloads/notes.txt
-
This post is deleted! -
@Giiba said in How to open a .txt file that I copy from PC to FP2 with UT?:
Try uText in the store. The interface is a bit awkward, but you can select files to open from the file manager. Works for me at least.
Cheers, Giiba. I can open the file manager, then open said .txt file with uText. Nice!
-
@Opolork said in How to open a .txt file that I copy from PC to FP2 with UT?:
So this is correct to be run from the home folder?
ln -s ~/.local/share/tedit.fulvio/notes.txt ~/Downloads/notes.txt
Yes, that's correct syntax. (I forgot the
~
in my post. And the-s
is required if you want a symbolic link like in my example. Without any options,ln
on my UT system creates a hard link. That's a different story.)In the terminal, you can look at the result with
ls
:ls -l ~/Downloads/notes.txt
The output shows that notes.txt in the Downloads folder is not a file, but a symbolic link, pointing to your notes.txt file in its original place.
Most programs will follow the symlink and access the actual file. File manager does a good job on this. (It lets me open the referenced file with another app, but when I have it delete the symlink, it correctly removes the link only and keeps the file untouched.)
However, I'm not sure whether you can access your notes.txt via the PC that way. Exporting only those special folders is a security feature, so following symlinks might be prohibited. Let us know how it turns out.
-
I've made a note of the tedit paths and commands and may try it at a later date. Or anyone else can try and post here if they please.
For now, I prefer the uText method as described in my post here: https://forums.ubports.com/topic/3902/how-to-open-a-txt-file-that-i-copy-from-pc-to-fp2-with-ut/12?_=1583692201634
Cheers, friends.