Sample Header Ad - 728x90

Unix & Linux Stack Exchange

Q&A for users of Linux, FreeBSD and other Unix-like operating systems

Latest Questions

0 votes
1 answers
526 views
Debian 12's Super Old Version of LibreOffice - Why SO old?
Debian 12 stable provides LibreOffice version 7.4.7.2. [LibreOffice.org][1] offers version 24.8. I understand that Debian stable tries to provide stable versions of software. Does this mean the last 17 versions of LibreOffice were not stable? [1]: https://www.libreoffice.org/
Debian 12 stable provides LibreOffice version 7.4.7.2. LibreOffice.org offers version 24.8. I understand that Debian stable tries to provide stable versions of software. Does this mean the last 17 versions of LibreOffice were not stable?
Lonnie Best (5415 rep)
Jan 15, 2025, 10:43 AM • Last activity: Jul 31, 2025, 08:13 AM
0 votes
1 answers
2744 views
how to use libreoffice --headless export more than one png image from ppt or pptx
I use libreoffice export images, command like: $ libreoffice --headless --convert-to png ./ /tmp/example.ppt but this command only export one page, is first page image, how can export few image or specify page image?
I use libreoffice export images, command like: $ libreoffice --headless --convert-to png ./ /tmp/example.ppt but this command only export one page, is first page image, how can export few image or specify page image?
user160454 (1 rep)
Mar 10, 2016, 09:14 AM • Last activity: Jul 25, 2025, 09:07 PM
0 votes
0 answers
35 views
LibreOffice crashes with Miniconda3 in path
this is a post that has workaround but not an explanation ---- Sometime in last 4 weeks my LibreOffice on my debian started crashing. Not producing window with eg. LOWriter, just a "crashed docs recovery" and a Soffice start window "choose from recent docs, create new" I think it's not relevant, but...
this is a post that has workaround but not an explanation ---- Sometime in last 4 weeks my LibreOffice on my debian started crashing. Not producing window with eg. LOWriter, just a "crashed docs recovery" and a Soffice start window "choose from recent docs, create new" I think it's not relevant, but reported version is "LibreOffice 25.2.3.2 520(Build:2)" on debian trixie indication was only this error output in console
> soffice --writer                                                                                                                                     (base) 
terminate called after throwing an instance of 'std::bad_alloc'
  what():  std::bad_alloc

# or at most

> lowriter                                                                                                                                             (base) 
terminate called after throwing an instance of 'std::bad_alloc'
  what():  std::bad_alloc
terminate called after throwing an instance of 'std::bad_alloc'
  what():  std::bad_alloc
terminate called recursively
no other indication, running with --backtrace yielded no success either (i can share the log, or strace log as well) **However once I cleared env and removed "miniconda3 init code" from .bashrc it started working** Can anybody please think of 1. explanation 2. proper way to detect/debug this kind of issue (since neither strace, gdb or anything helped me) Thank you
Marek Sebera (131 rep)
Jul 1, 2025, 04:37 PM
0 votes
0 answers
44 views
Cannot open LibreOffice files on Samba share concurrently on Debian Linux - File locking issue
We have a Samba file server and use Debian Linux for both server and clients. Everything works fine. Except for one thing: If someone opens a LibreOffice document (mainly Calc / *.ods), nobody else can open the same file concurrently, not even "read only" or as a copy. If I try to open such a file,...
We have a Samba file server and use Debian Linux for both server and clients. Everything works fine. Except for one thing: If someone opens a LibreOffice document (mainly Calc / *.ods), nobody else can open the same file concurrently, not even "read only" or as a copy. If I try to open such a file, LibreOffice says it is locked by a certain named user or by an unknown user (the latter happens if I rm the ~lock. file). Then I can choose if I want to open the file read-only or if I want to work with a copy of the file. That's fine. But none of both options work! If I choose "open read only", nothing happens. If I choose "work with a copy", an empty Writer document opens up (although I tried to open an ods file with Calc). Next thing I tried: I can't even run md5sum document.ods! It says permission denied. So it's not just LibreOffice that cannot open the file for concurrent read access. LibreOffice seems to put an exclusive lock on the file when it is opened for editing. Nobody else can open the file until the first user closes the document. Any ideas what I could try? Preventing concurrent write access is reasonable. But why does it also block concurrent read access? And how can I disable that? getfacl output on the file server looks fine so far.
MrSnrub (145 rep)
Jun 25, 2025, 09:16 AM • Last activity: Jun 25, 2025, 10:59 AM
1 votes
1 answers
9457 views
How to open Composite Document File V2 Document, Cannot read section info
Output of *file* command for a given odt file gives me Composite Document File V2 Document, Cannot read section info. By searching on Google I found it a doc document and I installed *unoconv* to read it on linux(fedora). But when I run the command: unoconv -d document --format=odt file.doc I get th...
Output of *file* command for a given odt file gives me Composite Document File V2 Document, Cannot read section info. By searching on Google I found it a doc document and I installed *unoconv* to read it on linux(fedora). But when I run the command: unoconv -d document --format=odt file.doc I get the following error: unoconv: RuntimeException during import phase:Office probably died. Unsupported URL Thumb.doc: "type detection failed"**. I am having all packages of libreoffice writer. So how do I open these kind of files on fedora?
Prvt_Yadav (6032 rep)
Feb 8, 2018, 10:22 AM • Last activity: Jun 16, 2025, 06:02 AM
0 votes
2 answers
2252 views
Debian: Minimum LibreOffice Packages to Convert docx Files to pdf in Headless Mode
I'm developing a Docker container with a Debian 10 base image (this is a fixed dependency) that converts docx files to pdf using LibreOffice (soffice) in headless mode. I've got it working with the following packages installed: `libreoffice` `default-jre-headless` `libreoffice-java-common` However,...
I'm developing a Docker container with a Debian 10 base image (this is a fixed dependency) that converts docx files to pdf using LibreOffice (soffice) in headless mode. I've got it working with the following packages installed: libreoffice default-jre-headless libreoffice-java-common However, when built, the Docker container size is over 1GB. Ideally, I'd like the container to be as small as possible. Is there a way I can find out what are the minimum package requirements to get soffice to run in headless mode and convert the docx files to pdfs?
John (101 rep)
Apr 29, 2022, 08:25 AM • Last activity: Jun 6, 2025, 11:14 AM
7 votes
1 answers
2039 views
Getting a digital signature from an eToken/smart card into LibreOffice
I successfully managed to make use of digital signatures in LibreOffice Writer by following [flatmtn.com/creating-pkcs12-certificates][1] But now I want to use a digital certificate from an eToken/smart card and not from the Mozilla keystore directory. How can I achieve this? [1]: http://www.flatmtn...
I successfully managed to make use of digital signatures in LibreOffice Writer by following flatmtn.com/creating-pkcs12-certificates But now I want to use a digital certificate from an eToken/smart card and not from the Mozilla keystore directory. How can I achieve this?
SHW (15376 rep)
Aug 28, 2012, 08:37 AM • Last activity: May 21, 2025, 10:10 PM
0 votes
1 answers
238 views
Why doesn't LibreOffice update to the latest version on Debian 12?
I am unsure why apps aren't upgraded to the latest version even after updating and upgrading from the terminal. For example, I have version 7-something of LibreOffice, but the LibreOffice website has version 25.2. I tried updating and upgrading from the terminal multiple times, but the version didn'...
I am unsure why apps aren't upgraded to the latest version even after updating and upgrading from the terminal. For example, I have version 7-something of LibreOffice, but the LibreOffice website has version 25.2. I tried updating and upgrading from the terminal multiple times, but the version didn't update. Is it that the Debian GNU/Linux 12 repository does not have an updated version, so I have to download the file and install the package manually?
Sage (1 rep)
May 9, 2025, 03:09 AM • Last activity: May 9, 2025, 06:29 AM
0 votes
1 answers
56 views
The default "Generic" Printer throws "Could not start generic printer. Check your printer configuration". How do I make printing to PDF the default?
When I print from Libre Office and have the default "Generic" Printer, I get "Could not start generic printer. Check your printer configuration". What needs to be done so that I do not have to choose "Print to file" with the mouse each time I want to print a PDF? And even if I choose "Print to file"...
When I print from Libre Office and have the default "Generic" Printer, I get "Could not start generic printer. Check your printer configuration". What needs to be done so that I do not have to choose "Print to file" with the mouse each time I want to print a PDF? And even if I choose "Print to file" with the mouse, the file is not named with the name of the opened file, you need to write down the name. This is tedious work, you either have to write down the name or copy the name from the file name.
questionto42 (587 rep)
Apr 28, 2025, 07:35 AM • Last activity: Apr 29, 2025, 07:19 AM
0 votes
0 answers
22 views
How can I apply a function to cells in place in Calc?
I have a large table of numbers using the wrong decimal separator for my locale (dot instead of comma), so LibreOffice Calc does not parse them as numbers, but as strings. I can apply this function to a cell (A1 in this case) to parse it as a number: `NUMBERVALUE(A1; "."; "")` I know that I can crea...
I have a large table of numbers using the wrong decimal separator for my locale (dot instead of comma), so LibreOffice Calc does not parse them as numbers, but as strings. I can apply this function to a cell (A1 in this case) to parse it as a number: NUMBERVALUE(A1; "."; "") I know that I can create a side table where I would calculate the values using cell references and copy the results back to the original table. But that is impractical for a large table. How can I apply the function to all these cells at once without using any other cells?
matj1 (141 rep)
Apr 28, 2025, 11:57 AM
0 votes
1 answers
2180 views
LibreOffice Base ODBC connection to MariaDB fails: "Data source name not found"
Linux Mint 20 (Ubuntu 20). MariaDB version: "mariadb Ver 15.1 Distrib 10.7.3-MariaDB, for debian-linux-gnu (x86_64) using readline 5.2" I want to run LibreOffice Base as the front end, using ODBC. I have tried to follow the MariaDB instructions [here][1]. I have put the file libmaodbc.so in /usr/lib...
Linux Mint 20 (Ubuntu 20). MariaDB version: "mariadb Ver 15.1 Distrib 10.7.3-MariaDB, for debian-linux-gnu (x86_64) using readline 5.2" I want to run LibreOffice Base as the front end, using ODBC. I have tried to follow the MariaDB instructions here . I have put the file libmaodbc.so in /usr/lib64/. I believe this is the main connector file. I have made a file /etc/odbcinst.ini as follows: [MariaDB] Description=MariaDB Connector/ODBC v.3.0 Driver=/usr/lib64/libmaodbc.so UsageCount=1 and a file /etc/odbc.ini as follows: [localdb] Description = MariaDB connection to database Driver = MariaDB Database = localdb Server = localhost User = root Password = root Port = 3306 Socket = /var/run/mysqld/mysqld.sock When I try to connect using LO Base, this ODBC entry "localdb" is seen. But then when I test out the connection I get: "[unixODBC][Driver Manager]Data source name not found, and no default driver specified" "Data source name"? "default driver"? Anyone know what I should do? My theory is that the odbc.ini file references the odbcinst.ini file, which in turn drives the libmaodbc.so file. NB if I go as far as trying to actually make the connection, i.e. to get a list of tables in the database in LO Base, I get "The connection to the data source "xxx"* could not be established
[ma-3.1.15]Can't connect to local server through socket '/var/run/mysqld/mysqld.sock' (13)" \* i.e. the LO Base filename minus the ".odb" extension. And also to check my socket (with the MariaDB service running): mike@M17A:~/MariaDB_files$ netstat -ln | grep mysql unix 2 [ ACC ] STREAM LISTENING 263752 /var/run/mysqld/mysqld.sock ... interesting: seems to suggest that the socket is alive and well. Also I **can** connect using isql localdb from the CLI: doesn't this suggest things are set up OK?
mike rodent (1172 rep)
Apr 1, 2022, 11:30 AM • Last activity: Apr 28, 2025, 10:01 AM
0 votes
0 answers
96 views
Why LibreOffice uses Noto Serif for the missing Aptos?
Aptos font is not present in the system. The LibreOffice's "Apply replacement table" is off. ``` $ fc-match aptos NotoSans-Regular.ttf: "Noto Sans" "Regular" ``` Yet Writer definitely renders text in Aptos using Noto Serif (not Sans). Why? What defines this choice? **UPDATE**: Tested a bit more... i...
Aptos font is not present in the system. The LibreOffice's "Apply replacement table" is off.
$ fc-match aptos
NotoSans-Regular.ttf: "Noto Sans" "Regular"
Yet Writer definitely renders text in Aptos using Noto Serif (not Sans). Why? What defines this choice? **UPDATE**: Tested a bit more... it's actually worse than that. Writer renders one Aptos line in serif, another Aptos line in sans. The original file comes from MS Office and is a DOCX, but the effect stays even after saving it as ODT. On the sample below, the font dropdown states "Calibri" for the row 3, and "Aptos" for the rows 1 and 2. Different fonts in Writer
Anton K (351 rep)
Apr 3, 2025, 10:52 PM • Last activity: Apr 11, 2025, 09:46 PM
0 votes
2 answers
4408 views
Installing Ubuntu Software Applications in Qubes OS
Is it possible to install the Ubuntu Software Applications, such as LibreOffice and others in Qubes OS? Thanks.
Is it possible to install the Ubuntu Software Applications, such as LibreOffice and others in Qubes OS? Thanks.
N Even (223 rep)
Jul 11, 2017, 09:21 AM • Last activity: Apr 7, 2025, 11:02 AM
0 votes
0 answers
21 views
Change page background in LibreDraw
I am trying to change the background of the all pages in a pdf using LibreDraw in Debian 12 I follow these steps and I can do it for one page: Open PDF > Page > Page Properties > Background > Color and then select and press OK However it's a 250 pages PDF and I need to apply this to all pages but it...

I am trying to change the background of the all pages in a pdf using LibreDraw in Debian 12 I follow these steps and I can do it for one page:
Open PDF > Page > Page Properties > Background > Color and then select and press OK However it's a 250 pages PDF and I need to apply this to all pages but it's not allowing me or I don't know how to do this for all pages. I tried selecting all pages before doing this step but it didn't work, and I searched online a lot but I found nothing. Please someone tell me how to do it with steps. Thanks in advance
John Adams (1 rep)
Apr 3, 2025, 12:26 AM
7 votes
4 answers
20350 views
Proper way to convert PDF to word from bash command-line
I need to convert 1K pdf files to doc on a debian server. I can convert a PDF to word using libreoffice commandline: libreoffice --headless --invisible --convert-to doc Sample-doc-file-100kb.pdf Or using soffice: soffice --nocrashreport --nologo --nolockcheck --nofirststartwizard --invisible --headl...
I need to convert 1K pdf files to doc on a debian server. I can convert a PDF to word using libreoffice commandline: libreoffice --headless --invisible --convert-to doc Sample-doc-file-100kb.pdf Or using soffice: soffice --nocrashreport --nologo --nolockcheck --nofirststartwizard --invisible --headless --convert-to doc Sample-doc-file-100kb.pdf The main problem with the above two commands, is that the doc file doesn't include images in the pages, it only contains the formatted text. Is there a better way to convert pdf to doc, including also the images present in the pdf? I am not interested in web services like zamzam, I need to do that from command-line on the server. Thank you.
user2972081 (171 rep)
Jun 21, 2016, 07:45 PM • Last activity: Mar 5, 2025, 03:27 AM
0 votes
0 answers
41 views
Embed PDF in Libreoffice writer
On Libreoffice I know how to add an hyperlink to a file or a webpage. I know is possible to add an hyperlink to a file on local system. I want a thing like this This text contain this [attachment] And attachment point to a pdf, or txt file inside the document (odt), so I can send the odt with file a...
On Libreoffice I know how to add an hyperlink to a file or a webpage. I know is possible to add an hyperlink to a file on local system. I want a thing like this This text contain this [attachment] And attachment point to a pdf, or txt file inside the document (odt), so I can send the odt with file as attachment and me or another person can open it without the "need" to have the file in local fs. Like an email with attachment, is possible?
elbarna (13690 rep)
Jan 12, 2025, 07:51 AM • Last activity: Jan 12, 2025, 07:15 PM
0 votes
1 answers
30 views
How to not display the LibreOffice file picker / loader when closing any LibreOffice application?
Until today, when I closed any LibreOffice application (e.g. Writer, Calc, Draw, Impress, etc.) in Linux Mint, the expected happened: LibreOffice would close. Now, suddenly, when I close any LibreOffice application, the LibreOffice file picker (AKA the LibreOffice loader/launcher) is displayed. Libr...
Until today, when I closed any LibreOffice application (e.g. Writer, Calc, Draw, Impress, etc.) in Linux Mint, the expected happened: LibreOffice would close. Now, suddenly, when I close any LibreOffice application, the LibreOffice file picker (AKA the LibreOffice loader/launcher) is displayed. LibreOffice did not have any recent updates. What caused this, and how do I fix this?
Amazon Dies In Darkness (281 rep)
Mar 10, 2024, 08:35 PM • Last activity: Jan 12, 2025, 09:02 AM
3 votes
2 answers
10345 views
Run terminal commands from within LibreOffice's Basic programming?
Is there a way to run system commands in LibreOffice Basic macros so that macros will be able to do things outside LibreOffice (e.g. changing keyboard layout)?
Is there a way to run system commands in LibreOffice Basic macros so that macros will be able to do things outside LibreOffice (e.g. changing keyboard layout)?
user69453 (295 rep)
Jul 3, 2014, 12:05 PM • Last activity: Jan 8, 2025, 10:54 PM
7 votes
3 answers
4436 views
How to find out if a cell is (visibly) blank in LibreOffice Calc?
In LibreOffice Calc the `=BLANK()` formula will only return `TRUE` on cells with the underlying datatype ”blank”. In other words: If the cell contains a formula that returns nothing (or if it contains the empty text string), `=BLANK()` will be `FALSE`. Is there a way to check if a cell contains disp...
In LibreOffice Calc the =BLANK() formula will only return TRUE on cells with the underlying datatype ”blank”. In other words: If the cell contains a formula that returns nothing (or if it contains the empty text string), =BLANK() will be FALSE. Is there a way to check if a cell contains displayable content, such as a text string or a number? In the screenshot below, the =ISBLANK(B3) formula in C3 returns FALSE, as the cell contains a formula returning nothing. How would I go about to check is a B:B cell is ”blank” in the sense of not containing any data? Image showing a ”blank” field not trigegring ISBLANK
leo (172 rep)
Oct 12, 2021, 12:30 PM • Last activity: Jan 1, 2025, 08:13 PM
0 votes
0 answers
269 views
What Icons do you use in libreoffice draw for network diagrams? and how do you add them?
I wanted to use libreoffice draw to draw network diagrams. I searched a little and found out that there is an extension called VRT ( https://extensions.libreoffice.org/en/extensions/show/vrt-network-equipment ) Also I've heard that Libreoffice Draw should be able to use the cisco eps icons if I conv...
I wanted to use libreoffice draw to draw network diagrams. I searched a little and found out that there is an extension called VRT ( https://extensions.libreoffice.org/en/extensions/show/vrt-network-equipment ) Also I've heard that Libreoffice Draw should be able to use the cisco eps icons if I convert them to svg ( https://www.peteredstrom.se/how-to-import-cisco-network-symbols-in-libreoffice-draw ). I was wondering what you could suggest me to use if you used different themes/icons.
Malkavian (131 rep)
Dec 23, 2024, 03:09 PM • Last activity: Dec 24, 2024, 03:50 PM
Showing page 1 of 20 total questions