How to open .docx files in BionicPup32? (Solved)

New to Puppy and have questions? Start here

Moderator: Forum moderators

Post Reply
tucumano88
Posts: 19
Joined: Fri Oct 08, 2021 8:45 pm
Has thanked: 3 times

How to open .docx files in BionicPup32? (Solved)

Post by tucumano88 »

Hi guys, I'm a BionicPup32 user and I'm making very comfortable with it but have a thing that is breaking my nerves. Installed WPS office, LibreOffice, FreeOffice and every time that I want to open a "docx" file or any Microsoft Office extension, I get a sign of make a "zip". It's any way to make the click and open the document without have to open the app, open and search the document from there?. I put it the LibreOffice apps by default, but keeps with the same luck.

P.S: when I go to "open with" I only have AbiWord

Last edited by Flash on Sat Oct 23, 2021 2:59 am, edited 2 times in total.
Reason: Original title: Open Docx files is an issue
User avatar
rockedge
Site Admin
Posts: 6532
Joined: Mon Dec 02, 2019 1:38 am
Location: Connecticut,U.S.A.
Has thanked: 2743 times
Been thanked: 2619 times
Contact:

Re: Open Docx files is an issue

Post by rockedge »

you can try to change the "Run Action" of the .docx extension to default opening it in FreeOffice or LibreOffice when you click on one.

right click on the docx file in the rox file manager and there one can set the run actions.

williams2
Posts: 1062
Joined: Sat Jul 25, 2020 5:45 pm
Been thanked: 305 times

Re: Open Docx files is an issue

Post by williams2 »

To set the run action for a file type,
right click a file of that type (in your case a .docx file)
select File 'filename.docx' -> Set Run Action
In the box Enter Shell Command mine says defaultwordprocessor "$@"
change defaultwordprocessor to the name of the executable that you want.
For example, abiword "$@" or swriter "$@" etc etc

(actually, "$@" should be "$1" --- doesn't really matter)

Or you could edit the defaultwordprocessor script.
type which defaultwordprocessor to find the file is /usr/local/bin/defaultwordprocessor
so edit the file, like this geany /usr/local/bin/defaultwordprocessor
Mine is exec abiword "$@" (the "$@" is correct)
Change the executable name to what you want.
for example, exec swriter"$@"

Or you can add an executable to the Open With ... menu,
so that you can open any file in freeoffice by right clicking it.
Right click file, select File 'filename' -> Open With... -> Customise
Click "OK"
Rox should open a file window showing the contents of /root/.config/rox.sourceforge.net/OpenWith
Drag an executable or .desktop file to the dir and select link
now, that executable should be in the menu whenever you right click any file.

User avatar
bigpup
Moderator
Posts: 6975
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 902 times
Been thanked: 1520 times

Re: Open Docx files is an issue

Post by bigpup »

Before you do the above process. and no longer have it set to default word processor.

If you use the main menu Applications->Setup->Default Applications Chooser->Document->Word processor
Select the one you want to be default
If you select one that can handle docx files.
In Rox file manager.
Left Clicking on a docx file should open it in that default word processor.

I have mine set to LibreOffice writer
Works for me.

The things you do not tell us, are usually the clue to fixing the problem.
When I was a kid, I wanted to be older.
This is not what I expected :o

tucumano88
Posts: 19
Joined: Fri Oct 08, 2021 8:45 pm
Has thanked: 3 times

Re: Open Docx files is an issue

Post by tucumano88 »

williams2 wrote: Sat Oct 23, 2021 12:19 am

To set the run action for a file type,
right click a file of that type (in your case a .docx file)
select File 'filename.docx' -> Set Run Action
In the box Enter Shell Command mine says defaultwordprocessor "$@"
change defaultwordprocessor to the name of the executable that you want.
For example, abiword "$@" or swriter "$@" etc etc

(actually, "$@" should be "$1" --- doesn't really matter)

Or you could edit the defaultwordprocessor script.
type which defaultwordprocessor to find the file is /usr/local/bin/defaultwordprocessor
so edit the file, like this geany /usr/local/bin/defaultwordprocessor
Mine is exec abiword "$@" (the "$@" is correct)
Change the executable name to what you want.
for example, exec swriter"$@"

Or you can add an executable to the Open With ... menu,
so that you can open any file in freeoffice by right clicking it.
Right click file, select File 'filename' -> Open With... -> Customise
Click "OK"
Rox should open a file window showing the contents of /root/.config/rox.sourceforge.net/OpenWith
Drag an executable or .desktop file to the dir and select link
now, that executable should be in the menu whenever you right click any file.

worked like a charm! thanks!

Post Reply

Return to “Beginners Help”