Closed hxss closed 6 years ago
gtk-update-icon-cache
requires the folder to have a different modification time. do a
touch /usr/share/icons/hicolor
before updating the cache. And try again please.
@polmr nothing changed
# ls -l /usr/share/icons/hicolor/scalable/status/mega*
lrwxrwxrwx 1 root root 52 Dec 3 18:27 /usr/share/icons/hicolor/scalable/status/megalogging.svg -> /usr/share/icons/Papirus/22x22/panel/megalogging.svg
lrwxrwxrwx 1 root root 51 Dec 3 18:27 /usr/share/icons/hicolor/scalable/status/megapaused.svg -> /usr/share/icons/Papirus/22x22/panel/megapaused.svg
lrwxrwxrwx 1 root root 53 Dec 3 18:27 /usr/share/icons/hicolor/scalable/status/megasynching.svg -> /usr/share/icons/Papirus/22x22/panel/megasynching.svg
lrwxrwxrwx 1 root root 53 Dec 3 18:27 /usr/share/icons/hicolor/scalable/status/megauptodate.svg -> /usr/share/icons/Papirus/22x22/panel/megauptodate.svg
lrwxrwxrwx 1 root root 52 Dec 3 18:27 /usr/share/icons/hicolor/scalable/status/megawarning.svg -> /usr/share/icons/Papirus/22x22/panel/megawarning.svg
# ls -ld /usr/share/icons/hicolor
drwxr-xr-x 18 root root 4096 Dec 21 23:14 /usr/share/icons/hicolor
# sudo gtk-update-icon-cache /usr/share/icons/hicolor
gtk-update-icon-cache: Cache file created successfully.
ok, that means that it's not getting the icons from the theme at all. In case of failure, MEGAsync uses hardcoded icons (the old red ones). hicolor should be the fallback theme: maybe in your particular case that's not happening. What theme are you using?:
gsettings get org.gnome.desktop.interface icon-theme
Em..Actually I'm on XFCE(I use Papirus icon theme)
# gsettings get org.gnome.desktop.interface icon-theme
'Adwaita'
# xfconf-query -c xsettings -p /Net/IconThemeName
Papirus
I tried just now change org.gnome.desktop.interface.icon-theme to Papirus, logout-login - nothing changed.
Do you have qt5-svg
package intalled? I'm afraid I can't reproduce it: here's an screenshot with Papirus and its customized MEGAsync icon
Yes, qt5-svg installed. And qt5ct too.
# pac -Qs qt5
local/qt5-base 5.10.0-1 (qt qt5)
A cross-platform application and UI framework
local/qt5-styleplugins 5.0.0.20170311-4
Additional style plugins for Qt5
local/qt5-svg 5.10.0-1 (qt qt5)
Classes for displaying the contents of SVG files
local/qt5-tools 5.10.0-1 (qt qt5)
A cross-platform application and UI framework (Development Tools, QtHelp)
local/qt5-x11extras 5.10.0-1 (qt qt5)
Provides platform-specific APIs for X11
local/qt5ct 0.34-2
Qt5 Configuration Utility
You test it on Arch Linux?
Yes, that screenshot is from an up-to-date Arch Linux
maybe you can try to replace the icons by some test .png
manually created. Just to ensure the themes are working properly. If that's the case, you can always save the files as pngs.
Its very strange. I just installed clear arch in VBox. Installed xfce4, papirus-icon-theme-git and megasync client from official site. Here is the result: @polmr, can I share this vm to you for test?
@hxss yes, please
@polmr https://mega.nz/#F!pYMlST7Z!ebuwkmUfWjX4mqcn6dQiSA user: hxss pass: 123
It's bug for only Qt5-version (tray icons not applied from system icon theme). Qt4-version worked fine. Also Qt5-version have problem with rendering backround: https://github.com/meganz/MEGAsync/issues/157
Qt4-version:
@hxss , "No bootable medium file". Can you create an VDI image out of it?
Do you use this settings?
Maybe path of arch.vhd is incorrect in your system and you need to change it in arch.vbox file?
I was create arch.vdi in main directory. (uploading now) But I think, the problem is due to paths to vhd's in arch.vbox
Also you can create vdi yourself
vboxmanage clonemedium disk /[path to]/arch/Snapshots/{04e40791-2e50-4489-b0bb-defe3b448787}.vhd arch.vdi
No luck: I've tried opening the vbox, importing the vhd into a new VM, saving to vdi and importing the vdi image in VirtualBox, converting the vhd and the vdi to qemu image (qcow2) and opening in QEMU/KVM, ... btw, your .vdi is not an actual .vdi (you were missing --format VDI
parameters).
Why don't you just use my VM(with my vhds)? In vbox menu Machine - Add(Ctrl+a). And select arch.vbox file in my folder.
And don't forget to use EFI. If I disable EFI, I'll catch this error too.
I´ve finally been able to open the VM in a windows host MEGAsync uses icons in "hicolor" after linking them Papyrus ones . They work fine.
Thank you for helping. Seems like I found source of my problem.
In my host installed and enabled qt5ct for all qt5 apps. So when I run megasync by this command QT_QPA_PLATFORMTHEME=''; megasync
- it use Papyrus icons.
Glad to hear that @hxss!
4.13.12-1-ARCH XFCE 4.12 megasync 3.5-1(from official site) Papirus-icons(updated, with new mega icons - megapaused.svg, megasynching.svg, etc)
other qt5-apps(keepassxc, qbittorrent on the screenshot) work good with icons theme.
Also you can see my issue to papirus-icon-theme project.