Skip to content
This repository has been archived by the owner on Feb 2, 2024. It is now read-only.

icon libreoffice is missing from dock ubuntu 18.04 #11

Open
Lvaskz opened this issue May 11, 2018 · 5 comments
Open

icon libreoffice is missing from dock ubuntu 18.04 #11

Lvaskz opened this issue May 11, 2018 · 5 comments

Comments

@Lvaskz
Copy link

Lvaskz commented May 11, 2018

Hi, I am using ubuntu 18.04 and the icon libreoffice full.appimage from the dock is missing every time i run it.

64 bits
ubuntu 18.04, gnome shell

@antoniofaccioli
Copy link
Owner

For the moment it is not provided directly, look into other thread of appimage github. For example here:
AppImage/AppImageKit#346

@probonopd
Copy link
Contributor

probonopd commented May 12, 2018

I think @Lvaskz is talking about the icon on the dock. How do you launch LibreOffice? By just double clicking the AppImage or from the menu, using the optional appimaged daemon?

  • From the menu, using the optional appimaged daemon, the icon in the dock should "just work"
  • By double clicking the AppImage, it will work only if LibreOffice sets the window icon (in its source code)

This is the Qt code that does it - I am sure it can be done without Qt as well:

# Construct the absolute path to the icon from the relative path
QFileInfo fi(app.applicationDirPath() + "/../share/pixmaps/qtquickapp.png");
# Set the window icon
QGuiApplication::setWindowIcon(QIcon(fi.absoluteFilePath()));

@Lvaskz
Copy link
Author

Lvaskz commented May 12, 2018

I am not using appimaged, double click on the appimage only

@probonopd
Copy link
Contributor

probonopd commented May 12, 2018

Then LibreOffice needs to set the window icon (in its source code).

@Lvaskz
Copy link
Author

Lvaskz commented Oct 21, 2018

To update this issue a bit, I installed appimagelauncher and effectively the libreoffice icon can be seen in the applications menu and the ubuntu dock. Until then everything, well, the problem is when I select calc, writer or any other, the icon of the applications is missing
I started to dive in .local / share / icons / etc etc etc and I could see that the icons are downloaded there, but for some reason, they are not loaded.
To complicate the matter a little bit more, I installed libreoffice of flatpak, and I left the flatpak application closed and I returned to open libreimage of appimage and the calc, writter correct icon appeared. I uninstalled libreoffice flatpak and reopened libreoffice. appimage and disappeared the images of calc, writter, etc.
From the above I infer that the libreoffice appimage is registering the flatpak icons and not those that are loaded in .local / share / icons. For some reason when libreoffice flatpak is present, libreoffice appimage recognizes the path of the icons, but if I uninstall flatpak, the icons of libreoffice appimages get lost again. This is a pretty strange behavior, maybe there is some error in the recognition of the routes-path of the icons.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants