I have used tazpkg manager to install Libreoffice in my PC but it does not showup in the application menu.
Is there any way i can force start it through terminal?
or icons somewhere?
LibreOffice Installation(16 posts) (6 voices)
I have used tazpkg manager to install Libreoffice in my PC but it does not showup in the application menu.Posted 2 years ago #
All commands as root.
Verify executable exists on system:
tazpkg search-file soffice$
Find symlinks to soffice:
ls -l /usr/bin | grep soffice
Type symlink name, hit Enter key,should start libreoffice.
Find libreoffice .desktop files:
tazpkg list-files LibreOffice | grep desktop$
Create symlinks to desktop files for Applications menu :
for i in $(ls /usr/lib/libreoffice*/share/xdg/*desktop); do ln -sf $i; done
`Posted 2 years ago #
Many thank's mojo,
The procedure that you write (see above) works fine.
ps: in my case it's under SliTaz 4
Sorry, it appears in the menu now (in french) "Bureautique" but it don't launch when i click ...
I've tried the same and i have the same problem, when i click it's not start.
Futher, i've tried to create a destkop icon, it's show the name but not the icon.
I believe I'm having the same problem. I checked via the package manager and the packages are install. I checked the bin directories for the executable files. They were not there. I have know idea how to fix this.
Can you try to launch LibreOffice from a terminal and look for error messages ?
How many MB RAM do you have on your computer ?
It works now, it was because the initial symbolic link (in /usr/bin) was not good (see above):
as root user
The bad link:
# cd /usr/bin
# ls -al libreoffice5.1
lrwxrwxrwx 1 root root 51 Jul 23 23:04 libreoffice5.1 -> /usr/lib/libreoffice/libreoffice5.1/program/soffice
The right binary:
#ls -al /usr/lib/libreoffice/program/soffice
-rwxr-xr-x 1 root root 6012 Jul 23 22:45 /usr/lib/libreoffice/program/soffice
Remove the symlink:
#rm -i libreoffice5.1
rm: remove 'libreoffice5.1'? y
Recreate the symlink with the good target:
#ln -s /usr/lib/libreoffice/program/soffice libreoffice5.1
#ls -al libreoffice5.1
lrwxrwxrwx 1 root root 36 Jul 27 04:06 libreoffice5.1 -> /usr/lib/libreoffice/program/soffice
Many Thanks Escapetiger
it's works fine.
I've only one further request.
When i create desktop icon of libreoffice, i see the name but not the icon.
Have you any idea on how to fix also this problem ?
[quote]I've only one further request.
When i create desktop icon of libreoffice, i see the name but not the icon.[/quote]
I investigate this problem actually ... cheers :)
Remember that you have, even for SliTaz 4.x (under root user in command line) to process regurlarly this two commands:
"tazpkg check" and after "tazpkg up"
How do you proceed under SliTaz 4.x to make an îcon with LibreOffice ?
It's been a couple of hours now, that I try without success. By this point it's possible to investigate ... specially by the files created,the links as before these particulary point of this thema :)
Thanks for your help.
But nothing seems change also after the check and update command.
The icons on the desk still have only the name.
I made a mistake in my precedent message.
1) I'm not sliTaz developper but I see that now it's corrected for the menu (by the SliTaz team I suppose) in the menu with LibreOffice 5.2 when you make an update.
2) I understand what is your configuration by doing (in french, francese) for example :
Applications > Bureautique > LibreOffice 5.2 Base > Click/Right then link on the desktop
Effectively, only name appears on the desktop. So, at this point investigation is on the way :)
Here is en empiric solution (just resume) :
I create an icon on the desktop for midori to see what files are generated and looking for files (*.png)attached. There is a lot of for Libreoffice. And i see the "properties" of the icon created on the desktop (file name *.desktop) too.
So, here it goes (under root user) :
Go to /usr/share/pixmaps :
Create a symlink (symbolic link) corresponding to your Libreoffice version and the icon (*.png) founded on your system:
#ln -s ../icons/hicolor/128x128/apps/libreoffice5.2-math.png libreoffice5.2-math
Just wait 1 minute maximum and your icon appears on your desktop :)
You can look at the latest symlink created by this way (in /usr/share/pixmaps):
#ls -alrt | tail
-rw-r--r-- 1 root root 1602 Feb 8 2016 galculator.png
lrwxrwxrwx 1 root root 48 Feb 8 2016 epdfview.png -> /usr/share/epdfview/pixmaps/icon_epdfview-32.png
-rw-r--r-- 1 root root 7355 Feb 8 2016 bitbucket.png
-rw-r--r-- 1 root root 3630 Feb 8 2016 beaver.png
-rw-r--r-- 1 root root 3223 Feb 8 2016 asunder.png
lrwxrwxrwx 1 root root 38 Aug 7 21:06 midori.png -> ../icons/hicolor/22x22/apps/midori.png
drwxr-xr-x 52 root root 4096 Aug 13 20:26 ..
lrwxrwxrwx 1 root root 53 Aug 15 03:03 libreoffice5.2-base -> ../icons/hicolor/128x128/apps/libreoffice5.2-base.png
lrwxrwxrwx 1 root root 53 Aug 15 03:20 libreoffice5.2-math -> ../icons/hicolor/128x128/apps/libreoffice5.2-math.png
drwxr-xr-x 3 root root 4096 Aug 15 03:20 .
Thanks a lot.
This your trick works fine... now the icons appear on desktop.
it has required more than 1 minute, 5 minutes at least... but they are appeared.
"it has required more than 1 minute, 5 minutes at least... but they are appeared."
It depends on pcmanfm daemon, started at your login session. So, if you want to see the result more quickly, you can logout and login to take effect.
The choice of resolution 128 (pixels i suppose) (cf. ../icons/hicolor/128x128/apps/libreoffice5.2-base.png) was made by hazard. 32 exists too (../icons/hicolor/32x32/apps/libreoffice5.2-base.png) to be a more approaching value as for midori in the exemple (22x22).
You must log in to post.