Page 1 of 1

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

Posted: Fri Oct 22, 2021 11:26 pm
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


Re: Open Docx files is an issue

Posted: Sat Oct 23, 2021 12:04 am
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.


Re: Open Docx files is an issue

Posted: Sat Oct 23, 2021 12:19 am
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.


Re: Open Docx files is an issue

Posted: Sat Oct 23, 2021 12:34 am
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.


Re: Open Docx files is an issue

Posted: Sat Oct 23, 2021 2:40 am
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!