Tag Info

Hot answers tagged

4

In Linux shells \ is a special character It tells the shell interpreter to treat the next character literally that is, if you want to pass \ as part of the command in a script, you have to use it twice. The first \ is interpreted as a special character by the shell that tells the shell not to treat the next character, in this case the second \ not as a ...


4

apt-get wants to upgrade some packages at the same time as you want to remove libreoffice-draw. Of course this requires downloading new packages: 8 upgraded, 0 newly installed, 4 to remove and 33 not upgraded. Need to get 27.9 MB/64.3 MB of archives. At the same time, the operation frees some space overall: After this operation, 15.6 MB disk ...


2

Here's what I think it is. You're uninstalling LibreOffice and an upgrade to completely unrelated packages is trying to occur. Your command output says that 8 apps are to be upgraded, so I'm pretty sure that's where the 30MB download is coming from.


2

Update: You can use libreoffice, which is installed by default, to convert the file to a plain text file and then count the characters / words / lines using wc: To count the characters: libreoffice --headless --convert-to txt:Text <path_to_source_file> &> /dev/null && < <plaint_text_file_name> wc -c && rm test.txt ...


2

With Regular Expressions search enabled, search for $ and replace with a space. You may do another search/replace to reduce multiple spaces to one space. Alternatively, you may first remove all empty paragraphs using a regex search for ^$, replacing it with "nothing" (empty string), and afterwards replace the paragraph marks by spaces as described. Take ...


1

Using the Freeform Line tool sound like the best tool in Libreoffice for what you want to do, whilst the Curve tool may be more precise but slower to use. If you want to edit the curve after adding it, use the Edit points tool. You may want to use a program designed more for this called Inkscape, which has more tools available. You can then use the ...


1

If the file is an XML table, you can open it in LibreOffice Calc through the Data > XML Source menu. Inside it, you just need to open the XML file, point to the table you're importing on the left column and specify a destination in your sheet in the right text field. Example:


1

XML Copy Editor is a fast, free, validating XML editor. It features DTD/XML Schema/RELAX NG validation, XSLT, XPath, pretty-printing, syntax highlighting, folding, tag completion/locking, and a spelling/style check. XML Copy Editor can be installed from the Ubuntu Software Center. XML Copy Editor debugger (xmlcopyeditor-dbg) is an optional add-on for XML ...


1

There's also the standalone odt2txt (the unoconv package also offers odt2txt): sudo apt-get install odt2txt odt2txt foo.odt | wc -w The Ubuntu manpages surprisingly lack a manpage for it.


1

Whilst this question is very specific about always displaying the menu in LibreOffice, you now have the ability in 14.04 (as long as you are fully up-to-date) to switch on the global & local window menus permanently on a Unity wide basis. This ability was back-ported from 15.04 which has this ability (and is set permanently on) To switch on ...


1

Create a file /usr/lib/libreoffice/share/registry/disable-file-locking.xcd gedit /usr/lib/libreoffice/share/registry/disable-file-locking.xcd or nano /usr/lib/libreoffice/share/registry/disable-file-locking.xcd and add the following code: <?xml version="1.0" encoding="UTF-8"?> <oor:data xmlns:oor="http://openoffice.org/2001/registry"> ...


1

I have an alternative for you. First install pdftk via software center or: sudo apt-get install pdftk then export the pdf normally in Libreoffice. Create 2 identical files, a.pdf and b.pdf, and run in a terminal in the directory where those files are stored: pdftk A=a.pdf B=b.pdf shuffle A B output collated.pdf This will create the file collated.pdf ...


1

Try to delete ~/.config/libreoffice rm ~/.config/libreoffice and restart LibreOffice


1

I found the wrapping options and have solved the issue for specific formula objects. For those experiencing the same issue: Right click on the object (in my case a formula). From the options that appear in the drop down menu select "Object" (you can also press the "o" key as a shortcut). This will bring up a new widow showing that object's specific ...


1

Create two page styles Style1 and Style2, one with Roman page numbers and one with numerical page numbers. Set the first pages to Style1. Right-click on the first paragraph of the second section and choose "Paragraph...". Click the "Text Flow" tab. In the "Line end" section, check the "Insert" box and the "with page style:" box. From the drop down list, ...


1

I'm not sure if this will help anyone with troubleshooting, but you can re-size those windows to get them to display. (I had this happen in Impress, and I could not for the life of me figure out what was wrong for two weeks).


1

TL;DR: In ~/.config, rename libreoffice to libreoffice.old. Often a bug or other problem that keeps a big, complicated application (like LibreOffice or Firefox) from starting correctly is triggered by something in the profile of the user who runs it, that is, in user-specific configuration files. When this happens, you can rename the folder that contains ...



Only top voted, non community-wiki answers of a minimum length are eligible