[opensuse] lxcc won't start
As I mentioned in another thread, lxcc won't start after my upgrade to Leap 15. I see it has been discussed before here: https://lists.opensuse.org/opensuse/2018-03/msg00087.html I have the same error but the previous thread doesn't really help me. I don't understand much about themes & icons etc. I try to ignore that whole area as long as I have a display that works. David Haller suggested something to do with linking process-stop.svg and gtk-stop.svg. FWIW I have: /usr/share/icons/Tango/scalable/actions/process-stop.svg /usr/share/icons/HighContrast/scalable/actions/process-stop.svg /usr/share/icons/Tango/scalable/actions/gtk-stop.svg and according to lxappearance I am using a theme called Adwaita. If I switch to Tango then lxcc starts. I have no idea what other things changing my icon theme may do. Presumably it's a bug that I had to switch icon theme, but what is the bug? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
* Dave Howorth <dave@howorth.org.uk> [07-17-18 07:20]:
As I mentioned in another thread, lxcc won't start after my upgrade to Leap 15. I see it has been discussed before here:
https://lists.opensuse.org/opensuse/2018-03/msg00087.html
I have the same error but the previous thread doesn't really help me. I don't understand much about themes & icons etc. I try to ignore that whole area as long as I have a display that works.
David Haller suggested something to do with linking process-stop.svg and gtk-stop.svg. FWIW I have:
/usr/share/icons/Tango/scalable/actions/process-stop.svg /usr/share/icons/HighContrast/scalable/actions/process-stop.svg /usr/share/icons/Tango/scalable/actions/gtk-stop.svg
and according to lxappearance I am using a theme called Adwaita. If I switch to Tango then lxcc starts. I have no idea what other things changing my icon theme may do.
Presumably it's a bug that I had to switch icon theme, but what is the bug?
you say you use adwaita theme but show tango theme files. do you actually have adwaita-icon-theme installed. perhaps occam's razor? -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri Registered Linux User #207535 @ http://linuxcounter.net Photos: http://wahoo.no-ip.org/piwigo paka @ IRCnet freenode -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Tue, 17 Jul 2018 07:29:29 -0400 Patrick Shanahan <paka@opensuse.org> wrote:
* Dave Howorth <dave@howorth.org.uk> [07-17-18 07:20]:
As I mentioned in another thread, lxcc won't start after my upgrade to Leap 15. I see it has been discussed before here:
https://lists.opensuse.org/opensuse/2018-03/msg00087.html
I have the same error but the previous thread doesn't really help me. I don't understand much about themes & icons etc. I try to ignore that whole area as long as I have a display that works.
David Haller suggested something to do with linking process-stop.svg and gtk-stop.svg. FWIW I have:
/usr/share/icons/Tango/scalable/actions/process-stop.svg /usr/share/icons/HighContrast/scalable/actions/process-stop.svg /usr/share/icons/Tango/scalable/actions/gtk-stop.svg
and according to lxappearance I am using a theme called Adwaita. If I switch to Tango then lxcc starts. I have no idea what other things changing my icon theme may do.
Presumably it's a bug that I had to switch icon theme, but what is the bug?
you say you use adwaita theme but show tango theme files. do you actually have adwaita-icon-theme installed.
Yes I do. I think it would be odd if I could have it selected if it wasn't there. Or even listed in the choices available.
perhaps occam's razor?
Indeed so. FWIW, there's a tumbleweed bug for it that's two years old with no action, so I added a comment. http://bugzilla.opensuse.org/show_bug.cgi?id=1002456 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Hello, On Tue, 17 Jul 2018, Dave Howorth wrote:
FWIW, there's a tumbleweed bug for it that's two years old with no action, so I added a comment.
==== lxcc.patch ==== --- /usr/bin/lxcc~ 2018-07-17 16:49:47.879476140 +0200 +++ /usr/bin/lxcc 2018-07-17 16:48:47.515478131 +0200 @@ -138,7 +138,10 @@ else: pixbuf=it.load_icon(line[1],48,gtk.ICON_LOOKUP_FORCE_SVG) except: - pixbuf=it.load_icon('gtk-stop',48,gtk.ICON_LOOKUP_FORCE_SVG) + try: + pixbuf=it.load_icon('gtk-stop',48,gtk.ICON_LOOKUP_GENERIC_FALLBACK | gtk.ICON_LOOKUP_GENERIC_FALLBACK) + except: + pixbuf=it.load_icon('process-stop',48,gtk.ICON_LOOKUP_GENERIC_FALLBACK | gtk.ICON_LOOKUP_GENERIC_FALLBACK) namen=i18n(line[0]) self.liststore.append([ pixbuf,namen,line[2] ]) window.show_all() ==== Careful with the whitespace! -dnh -- Despite the best efforts of a quantum bigfoot drive (yes I know everyone told me they suck, now I know they were right) 2.1.109ac1 is now available -- Alan Cox announcing Linux 2.1.109ac1 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Tue, 17 Jul 2018 17:05:14 +0200 David Haller <dnh@opensuse.org> wrote:
Hello,
On Tue, 17 Jul 2018, Dave Howorth wrote:
FWIW, there's a tumbleweed bug for it that's two years old with no action, so I added a comment.
==== lxcc.patch ==== --- /usr/bin/lxcc~ 2018-07-17 16:49:47.879476140 +0200 +++ /usr/bin/lxcc 2018-07-17 16:48:47.515478131 +0200 @@ -138,7 +138,10 @@ else: pixbuf=it.load_icon(line[1],48,gtk.ICON_LOOKUP_FORCE_SVG) except: - pixbuf=it.load_icon('gtk-stop',48,gtk.ICON_LOOKUP_FORCE_SVG) + try: + pixbuf=it.load_icon('gtk-stop',48,gtk.ICON_LOOKUP_GENERIC_FALLBACK | gtk.ICON_LOOKUP_GENERIC_FALLBACK) + except: + pixbuf=it.load_icon('process-stop',48,gtk.ICON_LOOKUP_GENERIC_FALLBACK | gtk.ICON_LOOKUP_GENERIC_FALLBACK) namen=i18n(line[0]) self.liststore.append([ pixbuf,namen,line[2] ]) window.show_all() ====
Careful with the whitespace!
Thanks for that. I won't hack my system just yet; I'll wait and see if there's any action on that bug report.
-dnh
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Hello, On Tue, 17 Jul 2018, Dave Howorth wrote:
On Tue, 17 Jul 2018 17:05:14 +0200 David Haller <dnh@opensuse.org> wrote:
Hello,
On Tue, 17 Jul 2018, Dave Howorth wrote:
FWIW, there's a tumbleweed bug for it that's two years old with no action, so I added a comment.
==== lxcc.patch ==== +++ /usr/bin/lxcc 2018-07-17 16:48:47.515478131 +0200 @@ -138,7 +138,10 @@ else: pixbuf=it.load_icon(line[1],48,gtk.ICON_LOOKUP_FORCE_SVG) except: - pixbuf=it.load_icon('gtk-stop',48,gtk.ICON_LOOKUP_FORCE_SVG) + try: + pixbuf=it.load_icon('gtk-stop',48,gtk.ICON_LOOKUP_GENERIC_FALLBACK | gtk.ICON_LOOKUP_GENERIC_FALLBACK) + except: + pixbuf=it.load_icon('process-stop',48,gtk.ICON_LOOKUP_GENERIC_FALLBACK | gtk.ICON_LOOKUP_GENERIC_FALLBACK) namen=i18n(line[0]) self.liststore.append([ pixbuf,namen,line[2] ]) window.show_all() ====
Careful with the whitespace!
Thanks for that. I won't hack my system just yet; I'll wait and see if there's any action on that bug report.
*ARGH* I messed the flags up anyway. ==== --- /usr/bin/lxcc~ 2018-07-17 16:49:47.879476140 +0200 +++ /usr/bin/lxcc 2018-07-17 19:26:50.011165448 +0200 @@ -138,7 +138,10 @@ else: pixbuf=it.load_icon(line[1],48,gtk.ICON_LOOKUP_FORCE_SVG) except: - pixbuf=it.load_icon('gtk-stop',48,gtk.ICON_LOOKUP_FORCE_SVG) + try: + pixbuf=it.load_icon('gtk-stop',48,gtk.GTK_ICON_LOOKUP_USE_BUILTIN | gtk.ICON_LOOKUP_GENERIC_FALLBACK) + except: + pixbuf=it.load_icon('process-stop',48,gtk.GTK_ICON_LOOKUP_USE_BUILTIN | gtk.ICON_LOOKUP_GENERIC_FALLBACK) namen=i18n(line[0]) self.liststore.append([ pixbuf,namen,line[2] ]) window.show_all() ==== If that barfs with AttributeError: 'module' object has no attribute 'GTK_ICON_LOOKUP_USE_BUILTIN' if pygtk is too old or whatever, it works with the number 4 instead of the constant gtk.GTK_ICON_LOOKUP_USE_BUILTIN (see $ grep GTK_ICON_LOOKUP_USE_BUILTIN /usr/include/gtk-?.0/gtk/gtkicontheme.h GTK_ICON_LOOKUP_USE_BUILTIN = 1 << 2, (and 1 << 2 == 4) HTH, -dnh -- I suspect Vixie runs f.root-servers.net purely for the geek value of having an Important Server whose name is pronounced "Fruit Servers Dot Net" -- adb in the Monastery -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Tue, 17 Jul 2018 13:04:44 +0100 Dave Howorth <dave@howorth.org.uk> wrote:
FWIW, there's a tumbleweed bug for it that's two years old with no action, so I added a comment.
I cloned it as a separate report for Leap 15.0 https://bugzilla.opensuse.org/show_bug.cgi?id=1101744 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (3)
-
Dave Howorth
-
David Haller
-
Patrick Shanahan