Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
[Solved] LibreOffice installed from Debian repo looks atrocious and tiny, but looks normal when installed from deb files
[Solved] LibreOffice installed from Debian repo looks atrocious and tiny, but looks normal when installed from deb files
OK, so, in the last few days I've reinstalled 12 Bookwork from the stable netinstall iso, and getting it configured for my needs. I chose a minimal install with standard system utils only. Followed by xorg, lxqt-core, and sddm as a login/display manager. Today I installed LibreOffice from the official repos via apt. As soon as I fired up Writer, the UI was just way too tiny to be usable. I could read it if I squinted, and even despite me having 20/5 vision, I knew it wouldnt be optimal for daily usage. No matter what settings I changed, I couldnt get the UI/toolbars/etc to be big enough for me to consider it acceptable. So I purged libreoffice with apt, then found this page:
https://wiki.debian.org/LibreOffice
Specifically, the section titled "using the project's own deb packages". I figured the Debian maintainers wouldnt even mention this as an alternate install approach, if it werent safe/would break the system/etc.
I then went to this page:
https://www.libreoffice.org/download/do ... lang=en-US
And downloaded the Linux 64 bit deb file, along with the Linux 64 bit deb offline help file. After unpacking them, it was just a simple "sudo apt install ./*.deb", first for the main program, then the offline help. After launching Writer again, I noticed everything was scaled appropriately, needing no obvious manual configuration changes by me. As is, it's usable "out of the box".
What could be the difference between the Debian repo version and the deb files version? Specifically relating to why one has horrible scaling and the other doesnt. I'd like to try the official repo version again, for update support, but with the UI being so small, it's just not usable as-is.
Edit: The LO version I used from the official website is v7.6.6.
https://wiki.debian.org/LibreOffice
Specifically, the section titled "using the project's own deb packages". I figured the Debian maintainers wouldnt even mention this as an alternate install approach, if it werent safe/would break the system/etc.
I then went to this page:
https://www.libreoffice.org/download/do ... lang=en-US
And downloaded the Linux 64 bit deb file, along with the Linux 64 bit deb offline help file. After unpacking them, it was just a simple "sudo apt install ./*.deb", first for the main program, then the offline help. After launching Writer again, I noticed everything was scaled appropriately, needing no obvious manual configuration changes by me. As is, it's usable "out of the box".
What could be the difference between the Debian repo version and the deb files version? Specifically relating to why one has horrible scaling and the other doesnt. I'd like to try the official repo version again, for update support, but with the UI being so small, it's just not usable as-is.
Edit: The LO version I used from the official website is v7.6.6.
Last edited by Enigma83 on 2024-04-16 05:02, edited 1 time in total.
-
- Debian Developer
- Posts: 463
- Joined: 2022-07-12 14:10
- Has thanked: 1 time
- Been thanked: 88 times
Re: LibreOffice installed from Debian repo looks atrocious and tiny, but looks normal when installed from deb files
There are many possibilities. In Debian upstream software is often split to multiple packages so that it is possible to take only the parts you need and avoid embedded code copies. However, this means you need to know what each of these packages do, or just install a sane default collection of packages instead of minimal.
If you have time you can run
And exit libreoffice as soon as you observe the problem. Then you can use
To get all the files that libreoffice opens. Now repeat this with the default desktop where libreoffice works (not with upstream packages). Compare the filelists with
and use "dokg -S" to find out what packages provide the files that could not be opened in your minimal installation. Installing those most likely fixes your problem.
If you have time you can run
Code: Select all
strace -o libreoffice.strace -s4095 -f libreoffice
Code: Select all
grep " open" libreoffice.strace | cut -d " " -f 2 | sort -u > libreoffice.fileaccess.mimimal
Code: Select all
meld libreoffice.fileaccess.minimal libreoffice.fileaccess.default
Re: LibreOffice installed from Debian repo looks atrocious and tiny, but looks normal when installed from deb files
I wouldnt consider what I did a minimal installation. The command I used when installing from the official repo was "sudo apt install libreoffice". No picking and choosing, I just assumed it would install every LO has on offer. I don't really care about how much space it would use, I have over 1.7TB free space, so it's not an issue for it to be install packages I wont explicitly use. I was just puzzled by the stark difference in UI scaling between the 2 install options.lindi wrote: ↑2024-04-13 06:21 There are many possibilities. In Debian upstream software is often split to multiple packages so that it is possible to take only the parts you need and avoid embedded code copies. However, this means you need to know what each of these packages do, or just install a sane default collection of packages instead of minimal.
If you have time you can run
And exit libreoffice as soon as you observe the problem. Then you can useCode: Select all
strace -o libreoffice.strace -s4095 -f libreoffice
To get all the files that libreoffice opens. Now repeat this with the default desktop where libreoffice works (not with upstream packages). Compare the filelists withCode: Select all
grep " open" libreoffice.strace | cut -d " " -f 2 | sort -u > libreoffice.fileaccess.mimimal
and use "dokg -S" to find out what packages provide the files that could not be opened in your minimal installation. Installing those most likely fixes your problem.Code: Select all
meld libreoffice.fileaccess.minimal libreoffice.fileaccess.default
Yes, I do have time, tomorrow, I'll uninstall the deb version and try what you've mentioned. The Debian LO wiki page does specifically mention possible scaling issues. I know LXQT uses the QT toolkit, I'm not sure if LO is GTK toolkit-based, or something else. I do have a few other programs that look "off", but it is OK enough that I'm not bothered much by it.
I actually don't have an issue with keeping the deb files installed version. It was installed by apt, so the files are "tracked" and "known" to apt's package install mechanism, even if not from the official repos. I think the only downside is, I would have to be vigilant when checking the LO website for new releases. Of course any future deb packages would have to be manually installed in the same way, I assume they wont be automatically updated along with the rest of the packages installed from the official repos. But just for the sake of learning/testing, I will try what you've said anyway.
- bbbhltz
- Posts: 168
- Joined: 2024-01-10 14:53
- Location: Normandy
- XMMP/Jabber: bbbhltz@mailbox.org
- Has thanked: 52 times
- Been thanked: 34 times
Re: LibreOffice installed from Debian repo looks atrocious and tiny, but looks normal when installed from deb files
I have experienced this before as well.
apt install libreoffice will install the meta package (https://packages.debian.org/bookworm/libreoffice) and doesn't install the libreoffice-gtk(2|3) package or whatever UI enhancement you need. It also doesn't install interface translations.
apt install libreoffice will install the meta package (https://packages.debian.org/bookworm/libreoffice) and doesn't install the libreoffice-gtk(2|3) package or whatever UI enhancement you need. It also doesn't install interface translations.
bbbhltz
longtime desktop Linux user; eternal newbie
longtime desktop Linux user; eternal newbie
Re: LibreOffice installed from Debian repo looks atrocious and tiny, but looks normal when installed from deb files
Yes, the version of LibreOffice automatically installed from netinstall iso always has this menu-fonts-too-small problem. You can do a sudo apt purge libreoffice then reinstall it to (hopefully) fix it.
However, LibreOffice is a very much involved program, doing the above purge-then-reinstall steps may cause some other problems.
Since LibreOffice is the most critical app for our desktops, we always install Debian from the hybrid live iso:
https://cdimage.debian.org/debian-cd/cu ... so-hybrid/
and never from the netinstall iso. No such problem was experienced.
As I mentioned in a separate thread, we now always run LibreOffice from its appimage.
Re: LibreOffice installed from Debian repo looks atrocious and tiny, but looks normal when installed from deb files
Sorry, but you misread my first post. I said that I installed *ONLY* essential system utilities from the netinstall iso. No desktop environment, window manager, office suite, etc. Just the baseline system. My first boot was into a terminal, from there I installed lxqt-core, followed by other packages like libreoffice, after LXQT was set up. The netinstall iso has nothing to do with LibreOffice, in my case.pwzhangzz wrote: ↑2024-04-13 07:12Yes, the version of LibreOffice automatically installed from netinstall iso always has this menu-fonts-too-small problem. You can do a sudo apt purge libreoffice then reinstall it to (hopefully) fix it.
However, LibreOffice is a very much involved program, doing the above purge-then-reinstall steps may cause some other problems.
Since LibreOffice is the most critical app for our desktops, we always install Debian from the hybrid live iso:
https://cdimage.debian.org/debian-cd/cu ... so-hybrid/
and never from the netinstall iso. No such problem was experienced.
As I mentioned in a separate thread, we now always run LibreOffice from its appimage.
Re: LibreOffice installed from Debian repo looks atrocious and tiny, but looks normal when installed from deb files
I don't know if LibreOffice can adequately run without a proper DE (as I mentioned even the default gnome install under netinstall iso wouldn't cut it). Also, although appimages are supposed to be distro-agnostic, I don't even know if the LibreOffice appimage will run under LXQT.
Re: LibreOffice installed from Debian repo looks atrocious and tiny, but looks normal when installed from deb files
It probably would run, I've used other appimage programs with LXQT, they all ran fine. The whole point of an appimage/Flatpak/Snap is that they are supposed to already include everything that's required to run the software. Thereby making them agnostic by their nature. I was also able to run LibreOffice while using openbox as my "desktop environment", LO most certain doesn't require a proper DE.pwzhangzz wrote: ↑2024-04-13 07:33 I don't know if LibreOffice can adequately run without a proper DE (as I mentioned even the default gnome install under netinstall iso wouldn't cut it). Also, although appimages are supposed to be distro-agnostic, I don't even know if the LibreOffice appimage will run under LXQT.
Re: LibreOffice installed from Debian repo looks atrocious and tiny, but looks normal when installed from deb files
Of course you can run LibreOffice 5.0 (?) or earlier without a proper DE. Gtk2 was all you need. This is a different era. I have been running LibreOffice and its progenitors since the StarOffice/StarSuite days (which were designed to be run in a text console, and Star Suite was designed for CJK languages).
Re: LibreOffice installed from Debian repo looks atrocious and tiny, but looks normal when installed from deb files
The version I used with openbox was certainly newer than 5.0, this was less than 2 months ago. I'm not open to using an appimage for LO, and I already clarified that my LOs didn't come from the netinstall iso, so there's nothing more to discuss. I will try the advice suggested to me by lindi, if that doesn't sort it out then I'll just continue using the manual deb approach.pwzhangzz wrote: ↑2024-04-13 08:20 Of course you can run LibreOffice 5.0 (?) or earlier without a proper DE. Gtk2 was all you need. This is a different era. I have been running LibreOffice and its progenitors since the StarOffice/StarSuite days (which were designed to be run in a text console, and Star Suite was designed for CJK languages).
Re: LibreOffice installed from Debian repo looks atrocious and tiny, but looks normal when installed from deb files
I am definitely not making any suggestions to you or anyone one way or another but just to make a point that LibreOffice has progressed a lot and for those of us whose livelihood depends on it, it involves quite a complicated dependency.
Re: LibreOffice installed from Debian repo looks atrocious and tiny, but looks normal when installed from deb files
Perhaps your livelihood depends on it, I'm sure some organizations use LO too. But mine doesn't, for me it is purely for personal use, and not used on a day to day basis.
- fabien
- Forum Helper
- Posts: 735
- Joined: 2019-12-03 12:51
- Location: Anarres (Toulouse, France actually)
- Has thanked: 67 times
- Been thanked: 173 times
Re: LibreOffice installed from Debian repo looks atrocious and tiny, but looks normal when installed from deb files
What @bbbhltz said:
It is automatically installed only under specific conditions:
although it is necessary to achieve a good appearances.
Do you have libreoffice-gtk3 installed?bbbhltz wrote: ↑2024-04-13 06:54 apt install libreoffice will install the meta package (https://packages.debian.org/bookworm/libreoffice) and doesn't install the libreoffice-gtk(2|3) package or whatever UI enhancement you need.
It is automatically installed only under specific conditions:
Code: Select all
$> apt --no-conflicts --no-breaks --no-replaces rdepends libreoffice-gtk3
libreoffice-gtk3
Reverse Depends:
Recommends: task-xfce-desktop
Recommends: task-mate-desktop
Recommends: task-lxqt-desktop
Recommends: task-lxde-desktop
Recommends: libreoffice-gnome
Recommends: liblibreofficekitgtk
Depends: design-desktop
Depends: parl-desktop
Share your Debian SCRIPTS
There will be neither barrier nor walls, neither official nor guard, there will be no more desert and the entire world will become a garden. — Anacharsis Cloots
There will be neither barrier nor walls, neither official nor guard, there will be no more desert and the entire world will become a garden. — Anacharsis Cloots
-
- Posts: 213
- Joined: 2021-08-13 19:55
- Location: Minnesota
- Has thanked: 7 times
- Been thanked: 42 times
Re: LibreOffice installed from Debian repo looks atrocious and tiny, but looks normal when installed from deb files
Since you are running lxqt, there is also qt integration if you prefer as well:
libreoffice-qt5
libreoffice-qt6
libreoffice-qt5
libreoffice-qt6
- pbear
- Posts: 384
- Joined: 2023-08-27 15:05
- Location: San Francisco
- Has thanked: 2 times
- Been thanked: 63 times
Re: LibreOffice installed from Debian repo looks atrocious and tiny, but looks normal when installed from deb files
Not something I would anticipate from a meta-package. Confirmed by apt show libreoffice, though, so a conscious decision, not an oversight.
Re: LibreOffice installed from Debian repo looks atrocious and tiny, but looks normal when installed from deb files
Problem fixed, libreoffice-gtk3 was what corrected the appearance. Even though I'm using LXQT, which uses the QT toolkit, not GTK.
My most recent commands were (prepended by sudo, ofc):
apt install libreoffice
apt install libreoffice-help-en-us
apt install libreoffice-qt5
apt install libreoffice-gtk3
The hope now is that since I've already manually installed all of these myself from the Debian repo, future updates to these should "just work" and not break the appearance.
My most recent commands were (prepended by sudo, ofc):
apt install libreoffice
apt install libreoffice-help-en-us
apt install libreoffice-qt5
apt install libreoffice-gtk3
The hope now is that since I've already manually installed all of these myself from the Debian repo, future updates to these should "just work" and not break the appearance.
- fabien
- Forum Helper
- Posts: 735
- Joined: 2019-12-03 12:51
- Location: Anarres (Toulouse, France actually)
- Has thanked: 67 times
- Been thanked: 173 times
Re: LibreOffice installed from Debian repo looks atrocious and tiny, but looks normal when installed from deb files
There's no reason for anything to break, at least I've never had a problem.
I'm glad you found a solution, don't forget to mark your topic as [Solved].
Share your Debian SCRIPTS
There will be neither barrier nor walls, neither official nor guard, there will be no more desert and the entire world will become a garden. — Anacharsis Cloots
There will be neither barrier nor walls, neither official nor guard, there will be no more desert and the entire world will become a garden. — Anacharsis Cloots
Re: LibreOffice installed from Debian repo looks atrocious and tiny, but looks normal when installed from deb files
How to mark as solved? I dont see a button for it in the thread. I'm sure I've probably looked right over it and missed it. Or it's buried?
- FreewheelinFrank
- Global Moderator
- Posts: 2138
- Joined: 2010-06-07 16:59
- Has thanked: 38 times
- Been thanked: 233 times
Re: LibreOffice installed from Debian repo looks atrocious and tiny, but looks normal when installed from deb files
You have to edit your first post and add [Solved] to the title.
Re: [Solved] LibreOffice installed from Debian repo looks atrocious and tiny, but looks normal when installed from deb f
The libreoffice-gtk3 package is included in the debian-gnome-live iso:
ryzen@L32:~/Downloads$ cat debian-live-12.5.0-amd64-gnome.iso.packages | grep libreoffice-gtk3
libreoffice-gtk3 4:7.4.7-1+deb12u1
Live-built has been in Debian's DNA for quite some time now. I suppose when Debian developers build the live iso, it went through an additional level of testing under the real work environment, vis-a-vis the netinstall iso.
ryzen@L32:~/Downloads$ cat debian-live-12.5.0-amd64-gnome.iso.packages | grep libreoffice-gtk3
libreoffice-gtk3 4:7.4.7-1+deb12u1
Live-built has been in Debian's DNA for quite some time now. I suppose when Debian developers build the live iso, it went through an additional level of testing under the real work environment, vis-a-vis the netinstall iso.