How do you make a specific document easliy accessible?  [Solved]

Message
Author
andymx
Posts: 434
Joined: Mon Sep 11, 2023 7:10 pm

Re: How do you make a specific document easliy accessible?

#11 Post by andymx »

@Charlie Brown
@towwire
Charlie Brown wrote: Sat Oct 21, 2023 5:15 pm I set a hotkey and just press it. The command is the path, say: featherpad /path/to/thatfile.txt
It's a LibreOffice document with an odt extension. I installed LibreOffice from a flatpak and the command in the Whisker menu is

Code: Select all

/usr/bin/flatpak run --branch=stable --arch=x86_64 --command=libreoffice --file-forwarding org.libreoffice.LibreOffice --writer @@u %U @@
? :eek:
"While I may not get any money from Linux, I get a huge personal satisfaction from having written something that people really enjoy using, and that people find to be the best alternative for their needs."
~ Linus Torvalds
:linuxlove:

User avatar
uncle mark
Posts: 869
Joined: Sat Nov 11, 2006 9:42 pm

Re: How do you make a specific document easliy accessible?

#12 Post by uncle mark »

The Recent Documents feature of the KDE menu is what I use for this.
Custom build Asus/AMD/nVidia circa 2011 -- MX 19.2 KDE
Acer Aspire 5250 -- MX 21 KDE
Toshiba Satellite C55 -- MX 18.3 Xfce
Assorted Junk -- assorted Linuxes

andymx
Posts: 434
Joined: Mon Sep 11, 2023 7:10 pm

Re: How do you make a specific document easliy accessible?

#13 Post by andymx »

CharlesV wrote: Sat Oct 21, 2023 7:27 pm @andymx if your only doing a document or two, then you can create a shortcut on the desktop or panel. OR, you can just put an entry into your favorites on the whisker menu.

And I have setup on my Cario-Dock a special folder where I put "Things I am working on now" ( Current ) and then symlink to them in this folder. This gives me hover ability and Cario-Dock shows all docs in this folder and one click I can open anyone. Then when I am no longer in need of this link, I just delete the sumlink.

I use several folders like this: Data, Clients & Current ... extremely useful.

It looks like this (This is my Data folder link to svn data )
@CharlesV
Given a problem that I have with Plank, I have to ask. How do I add a shortcut on the panel?
Also, does Cairo-dock work well with MX? It's quite an old program and that makes me uneasy to try it.
"While I may not get any money from Linux, I get a huge personal satisfaction from having written something that people really enjoy using, and that people find to be the best alternative for their needs."
~ Linus Torvalds
:linuxlove:

andymx
Posts: 434
Joined: Mon Sep 11, 2023 7:10 pm

Re: How do you make a specific document easliy accessible?

#14 Post by andymx »

uncle mark wrote: Sun Oct 22, 2023 8:35 am The Recent Documents feature of the KDE menu is what I use for this.
I don't see that on Xfce.
"While I may not get any money from Linux, I get a huge personal satisfaction from having written something that people really enjoy using, and that people find to be the best alternative for their needs."
~ Linus Torvalds
:linuxlove:

Charlie Brown

Re: How do you make a specific document easliy accessible?

#15 Post by Charlie Brown »

andymx wrote: Sun Oct 22, 2023 8:23 am... ? :eek:
:biggrin: :biggrin: :biggrin:

Now you see why they say "KISS" ? :D


With the normal installation it would be just:

Code: Select all

libreoffice --writer /path/to/that.odt

But since it's just a copy-paste, you can replace just the %U with the path (I haven't tried but I just guess):

/usr/bin/flatpak run --branch=stable --arch=x86_64 --command=libreoffice --file-forwarding org.libreoffice.LibreOffice --writer @@u /path/to/that.odt @@

User avatar
CharlesV
Administrator
Posts: 8136
Joined: Sun Jul 07, 2019 5:11 pm

Re: How do you make a specific document easliy accessible?

#16 Post by CharlesV »

andymx wrote: Sun Oct 22, 2023 8:38 am
@CharlesV
Given a problem that I have with Plank, I have to ask. How do I add a shortcut on the panel?
Also, does Cairo-dock work well with MX? It's quite an old program and that makes me uneasy to try it.
You would create a launcher on the xfce panel That launcher would contain the libreoffice application with the document link you wanted to open.

Launchers and symlinks are going to be several things that work well for you, once your comfortable with them. One of the big reasons for Cario-Dock (besides the eye candy :-), is that ability to just put a symlink into a folder Cario-Dock os already looking at - or just delete the symlink when done! ( quick, easy, painless! )

I use Cario-dock on MX21 and MX23 and have never had issues with it. It's base is a little older, ( github shows source core of 2rs on the last update), but I have never had a problem with it. Yes, it is much heavier than plank, ( 140mb when you kick up all the bells and whistles. ), but it also has FAR more it can do as well.

I cannot say enough good about cario-dock. Once your setup, which is almost automated btw, its an amazing program. There are all types of applets for it, but I only run one - Folders. And the integration with xfce is VERY nice.
*QSI = Quick System Info from menu (Copy for Forum)
*MXPI = MX Package Installer
*Please check the solved checkbox on the post that solved it.
*Linux -This is the way!

andymx
Posts: 434
Joined: Mon Sep 11, 2023 7:10 pm

Re: How do you make a specific document easliy accessible?

#17 Post by andymx »

@CharlesV Thank you for the information. I came across symlinks in Windows, but thanks to your recent comments to me, I've realized how very important they are to me in Linux in my file organisation system which I finished a few days ago. You have been of great help to me in this respect. I'm going to try Cairo-dock because it's in my blood to experiment and even though I have solved the original problem that I have as mentioned below!

@Charlie Brown
I am the very definition of the second "S" in "KISS" :uhhuh: .
Well, the good news is that I followed your suggestion and I managed to add the file name at the end of the command string. I deleted the @@...@@ part and replaced it with the path to my file.
Not only that, but I actually added the Launcher to the panel and created a keyboard shortcut for it.
Last edited by andymx on Sun Oct 22, 2023 9:43 am, edited 1 time in total.
"While I may not get any money from Linux, I get a huge personal satisfaction from having written something that people really enjoy using, and that people find to be the best alternative for their needs."
~ Linus Torvalds
:linuxlove:

Charlie Brown

Re: How do you make a specific document easliy accessible?

#18 Post by Charlie Brown »

... Then: the ... --writer @@u /path/to/that.odt @@

didn't work at first ?

And you did as --writer /path/to/that.odt

?
Last edited by Charlie Brown on Sun Oct 22, 2023 9:44 am, edited 1 time in total.

andymx
Posts: 434
Joined: Mon Sep 11, 2023 7:10 pm

Re: How do you make a specific document easliy accessible?

#19 Post by andymx »

No it didn't. I deleted the whole section and replaced it with the path.
"While I may not get any money from Linux, I get a huge personal satisfaction from having written something that people really enjoy using, and that people find to be the best alternative for their needs."
~ Linus Torvalds
:linuxlove:

Charlie Brown

Re: How do you make a specific document easliy accessible?

#20 Post by Charlie Brown »

Ok, glad you solved it and thank you for the feedback :)

The good side of hotkey(s) is that you can do (adapt) the same in other DEs / WMs (say, if you have Fluxbox, too, into the relevant file)

It starts blazing fast on mine that way :)

Post Reply

Return to “Chat”