mcnord
Member
Posts: 3
Likes: 1
|
Post by mcnord on Nov 13, 2022 5:35:14 GMT
I'm very new to Bodhi Linux and I'm really impressed, first Linux distro that runs really smooth on my old laptop!
I have one issue with opening files from the file browser:
I use OnlyOffice DesktopEditors as Office solution. When I chose Open with DesktopEditors from the context menu, the systems brings the command line desktopeditors %U.
The problem is, that DesktopEditors opens Excel files in the Word equivalent then.
I found out that the files are opened correctly in the Excel equivalent, if I change the command line to desktopeditors %s.
But I'd have to do that each time opening a file from the context menu.
How do I teach the system to use command line desktopeditors %s instead of desktopeditors %U ?
Thank you!
|
|
enigma9o7
Crew Member
Posts: 1,427
Likes: 1,336
|
Post by enigma9o7 on Nov 13, 2022 20:55:36 GMT
I'm not sure if I can explain this clearly.
When you right click in thunar file manager and select something to open with, its checking desktop files. So if your desktop file for OnlyOffice has "Exec= desktopeditors %U" in it, thats what it's gunna use.
So sounds like to me you need to make another desktop file for documents. So what I would do is find the onlyoffice desktop file in /usr/share/applications and copy it to ~/.local/share/applications then rename it, then edit it, changing the program name so you can find it easily (i.e. OnlyOffice Documents), and changing the Exec line to the %s version.
Then I'd go back to thunar, open with, and select that new version of the app you just created.
|
|
mcnord
Member
Posts: 3
Likes: 1
|
Post by mcnord on Nov 13, 2022 21:10:51 GMT
Thanks a lot, that solution works perfectly!
|
|