You are not logged in.
hi,
can i set gtk2 on LibreOffice (gtk3 is slow in my PC)?
maybe i need to compile it without "--enable-gtk3" in "autogen.sh"?
How much time is required to compile it with a CPU Dual Core 1.86GHz?
Last edited by quellen (2016-10-18 13:03:21)
sorry for my bad english
Offline
% ls /etc/profile.d/libreoffice*
/etc/profile.d/libreoffice-still.csh /etc/profile.d/libreoffice-still.sh
if that fails, in pacman.conf(5):
NoUpgrade = usr/lib/libreoffice/program/libvclplug_gtk3lo.so
NoExtract = usr/lib/libreoffice/program/libvclplug_gtk3lo.so
Last edited by Alad (2016-10-18 08:53:03)
Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby
Offline
thanks.
i have tried to edit libreoffice-still.csh and libreoffice-still.sh and pacman.conf but libreoffice still uses gtk3.
$ cat /etc/profile.d/libreoffice-still.sh
# to force a certain look'n feel
#export SAL_USE_VCLPLUGIN=gen
#export SAL_USE_VCLPLUGIN=kde4
export SAL_USE_VCLPLUGIN=gtk
#export SAL_USE_VCLPLUGIN=gtk3 # currently broken and not available
$ cat /etc/profile.d/libreoffice-still.csh
# to force a certain look'n feel
#setenv SAL_USE_VCLPLUGIN gen
#setenv SAL_USE_VCLPLUGIN kde4
setenv SAL_USE_VCLPLUGIN gtk
#setenv SAL_USE_VCLPLUGIN gtk3 # currently broken and not available
$ cat /etc/pacman.conf |grep -i libr
NoUpgrade = /usr/lib/libreoffice/program/libvclplug_gtk3lo.so
NoExtract = /usr/lib/libreoffice/program/libvclplug_gtk3lo.so
sorry for my bad english
Offline
It doesn't matter which VCL plugin you use, libreoffice now has a hard dependency on gtk. You *must* have gtk2/3 installed, and you can then altneratively have other toolkits installed to use other VCL plugins. I don't know that this can be changed by compile time options as these are the requirements listed upstream.
See also:
https://bbs.archlinux.org/viewtopic.php?id=206869
EDIT: ah, you have gtk2, so yes it should work without gtk3. Do you also have gtk3 installed? If you have gtk3 installed and don't want to use it, just uninstall gtk3.
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
pacman.conf but libreoffice still uses gtk3.
I forgot to add that besides blacklisting those files, you also have to either reinstall the packages to reflect the change in the file system, or remove the files manually.
Last edited by Alad (2016-10-18 12:27:20)
Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby
Offline
SOLVED:
i have removed /usr/lib/libreoffice/program/libvclplug_gtk3lo.so manually and now libreoffice starts with gtk2. thanks.
Trilby: i cant remove gtk3:
# pacman -Rs gtk3
checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: file-roller: removing gtk3 breaks dependency 'gtk3'
:: firefox: removing gtk3 breaks dependency 'gtk3'
:: gcr: removing gtk3 breaks dependency 'gtk3'
:: gmtk: removing gtk3 breaks dependency 'gtk3'
:: gnome-screenshot: removing gtk3 breaks dependency 'gtk3'
:: gpaste: removing gtk3 breaks dependency 'gtk3'
:: gufw: removing gtk3 breaks dependency 'gtk3'
:: webkit2gtk: removing gtk3 breaks dependency 'gtk3'
:: webkitgtk: removing gtk3 breaks dependency 'gtk3'
sorry for my bad english
Offline
Odd - you say gtk3 slows down your system, but you use mainly gtk3 programs.
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
thanks.
i have tried to edit libreoffice-still.csh and libreoffice-still.sh and pacman.conf but libreoffice still uses gtk3.
Have you started LibreOffice immediately after that? The changes will not take effect until the next login (if not sourced manually).
Offline
can i disable gtk3 on file-roller too?
https://git.archlinux.org/svntogit/pack … ile-roller
Last edited by quellen (2016-10-24 11:33:06)
sorry for my bad english
Offline
Please don't hijack threads.
https://wiki.archlinux.org/index.php/Co … _hijacking
https://wiki.archlinux.org/index.php/Co … ow_to_post
You had a problem with libreoffice using gtk3, that problem has been solved. Fileroller using gtk3 is a different problem.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Online
Odd - you say gtk3 slows down your system, but you use mainly gtk3 programs.
Again, if you want to stop using gtk3, stop using gtk3 programs - it's that simple. File-roller, and all those others, are gtk3 programs. Use the gtk2/gnome2 alternatives.
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline