-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
On 09/18/2015 09:19 PM, Marek Marczykowski-Górecki wrote:
> [...]
>
> I think there are two _separate_ issues: 1. Failed skype icon
> retrieval 2. App menu entries not working
>
> While the first one is rather minor (you should still see Skype
> option, but with generic icon), the second one looks more
> disturbing. Try calling application pointed by any such icon, but
> add "-p" option to qvm-run. For example: qvm-run -p --tray -a
> VMNAME 'qubes-desktop-run
> /usr/share/applications/gnome-terminal.desktop'
Thank you Marek, trying to manually run the appmenu entries this way I
received an error message, linked to missing dbus-python package on
the minimal template. A simple "yum install dbus-python" fixed the
issue for nearly all of the entries, apart from one:
org.gnome.Nautilus.desktop, which fails with a different error.
The error is:
dbus.exceptions.DBusException:
org.freedesktop.DBUS.Error.Spawn.ExecFailed: /bin.dbus-launch
terminated abnormally without any error message
and the associated traceback is:
File "/usr/bin/qubes-desktop-run", line 7, in <module>
launch(*sys.argv[1:])
File "/usr/lib64/python2.7/site-packages/qubes/xdg.py", line 12, in
launch
bus = dbus.SessionBus()
File "/usr/lib64/python2.7/site-packages/dbus/_dbus.py", line 211,
in __new__
mainloop=mainloop)
File "/usr/lib64/python2.7/site-packages/dbus/_dbus.py", line 100,
in __new__
bus = BusConnection.__new__(subclass, bus_type, mainloop=mainloop)
File "/usr/lib64/python2.7/site-packages/dbus/bus.py", line 122, in
__new__
bus = cls._new_for_bus(address_or_type, mainloop=mainloop)
The fedora-21-minimal template I installed is version
3.0.3-201507081320, and apart from installing skype and firefox (and
now the dbus-python package) no other settings were altered or
configurations made.
For the icons, I tried again with the dbus-python package installed,
but still no luck. Trying to manually find the icons (by the algorithm
described in
http://standards.freedesktop.org/icon-theme-spec/icon-theme-spec-latest.
html)
yielded some funny results:
- - skype.desktop specifies a "skype.png" icon file, which can be found
in /usr/share/pixmap/skype.png; still, qvm-sync-appmenu does not
receive any icon
- - xterm.desktop specifies a "xterm-color" icon (without any
extension), but in /usr/share/pixmap there are many xterm-color files,
with appended size and extension: xterm-color_32x32.xpm,
xterm-color_48x48.xpm. The specification calls for subdirectories
(instead of filename suffixes) for icons with different sizes; so I
don't know if (or how) this can possibly work. I'm not that expert
with linux GUIs to figure this out...
- - firefox.desktop specifies a "firefox" icon which is nowhere to be
found in /usr/share/pixmap.
For the record, there is no /home/user/.icons directory and I could
not find the $XDG_DATA_DIRS variable set, to look for
$XDG_DATA_DIRS/icons, so I only looked for icons in /usr/share/pixmap.
There are some other XDG variables set, namely XDG_SEAT,
XDG_SESSION_ID and XDG_VTNR, anyway.
Thank you again for the support; I'm hoping on the fix for Nautilus,
while I agree that the icons are a minor nuisance. Still, I'm
available for testing if the problem will be taken care of and cannot
be reproduced on your side.
- --
Alex
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQIcBAEBCAAGBQJV/REDAAoJENNOJZnNP8uDxBUQAImbciLAk3cmLSPoVnsbDZLL
U1xwETtGF2aiARX0uTRvb8v7HKBEIsVit2uW3uS0B66hTdJcbbs7kscc9yoqeXvp
qbh2Ujrg/q9jndV85qo7Awo/ZiyCUE9PzhJ3OskRMmpVGJ8vw8bxgtWmwuMs0eYO
cPrLPV4Dsfy/X3ixW7OhvbmVfLnczE+TAJ52IL4x6rMTAPQXtsNaxwCJ/FR3bEfP
Loal4CGm1buHo9wAqlCNyaphCE6W2aSoXL8mHsiY9OJokpiUfR2tVMaAYJG7SEOO
br64MWQaewKr93+EmAvp26zBii0HS5zbf3oLG3LWQFZcZb4geAE8Js6YeOd/M51W
Tod+bz0cYJQfLCkJC3Yr498aNyLJ2CigTCq0ti6HdtaTPYfSSkgABtbJu9oVufGV
gUQE5oKpg86lc6YBu9r6IrujpvVnIM8elupaqzjjbpydbdAUSLyPM5DIrFd/xvmE
ICeE4+/qvSxoyM0IGQFJX+STcnnyb+i9iFb2F/rKUfd5s+4R1+mZpsUDmyGjjOem
IDn0e5DiBq24wG+Tncufdhe1QFjKMy0RB2/4aAJmrsN+wM6aQMgmlFUCM+2nVuq0
owWEoLpWtIEmitAbHdFfMYnUDEFx5UV+jU7/usmGnq3yetb5kwVL2kuDR6eVG4L4
BM5ocYYxFzVVtb7fIUNG
=wNgV
-----END PGP SIGNATURE-----