! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
No icons on the settings manager
Status:
RESOLVED: FIXED
Product:
Xfce4-settings
Component:
Settings Manager

Comments

Description Cristian Marchi 2012-04-18 20:07:42 CEST
Created attachment 4341 
Image of the settings manager window

I've compiled, on my xubuntu 11.10, xfce4-settings from git and I
can't see any icons in the setting manager.
If I launch the old xfce4-settings 4.8.3 from xubuntu 11.10 I can see all the icons.

What can be the problem?
Comment 1 Nick Schermer editbugs 2012-04-18 21:11:03 CEST
A couple of things:

Errors printed when you run xfce4-settings-manager in a terminal?

Is /usr/local/etc/xdg in $XDG_CONFIG_DIRS?

Do you have local copies of the desktop files in ~/.local/share/applications? Or possibly duplicates of old desktop settings files in a directory with a higher prio? You can enforce that with $XDG_DATA_DIRS.
Comment 2 Cristian Marchi 2012-04-18 21:27:18 CEST
No errors on terminal

usr/local/etc/xdg is in $XDG_CONFIG_DIRS

~/.local/share/applications I have only 1 file named mimeapps.list. Maybe this is the problem. What are the desktop files that needs to be there so that I can try to copy them?

Thanks for the assistence
Comment 3 Nick Schermer editbugs 2012-04-18 21:36:00 CEST
No mimeapps.list is not used for this.

Please search the system for "xfce-keyboard-settings.desktop", maybe there are old copies floating around? I changed the categories so if old files are read, this gives problems.

Possibly the same for "xfce-settings-manager.menu"

You can also test this by running

XDG_DATA_DIRS=/usr/local/share xfce4-settings-manager

The strange thing is that the category names are shown, so that means /something/ is found.
Comment 4 Cristian Marchi 2012-04-19 09:14:13 CEST
"xfce-keyboard-settings.desktop"
I've found it in /usr/local/share/applications/xfce-keyboard-settings.desktop and /usr/share/applications/xfce-keyboard-settings.desktop. Tried to rename both and compile xfce4-settings again but I get the same as in previous image

"xfce-settings-manager.menu"
I've found it only in /usr/local/etc/xdg/menus/xfce-settings-manager.menu. If I rename it and start xfce4-settings-manager, I lose the categories. If can be of any help, I attach this file

By running the following command I get the same as in previous image plus this output in the command line:
LANG=C XDG_DATA_DIRS=/usr/local/share xfce4-settings-manager

(xfce4-settings-manager:31673): Gtk-WARNING **: Could not find the icon 'preferences-desktop'. The 'hicolor' theme
was not found either, perhaps you need to install it.
You can get a copy from:
	http://icon-theme.freedesktop.org/releases

** (xfce4-settings-manager:31673): WARNING **: Pixbuf theme: Cannot load pixmap file /usr/share/themes/greybird/gtk-2.0/resize_grip.png: Couldn't recognize the image file format for file '/usr/share/themes/greybird/gtk-2.0/resize_grip.png'


(xfce4-settings-manager:31673): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_width: assertion `GDK_IS_PIXBUF (pixbuf)' failed

(xfce4-settings-manager:31673): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_height: assertion `GDK_IS_PIXBUF (pixbuf)' failed

(xfce4-settings-manager:31673): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_width: assertion `GDK_IS_PIXBUF (pixbuf)' failed

(xfce4-settings-manager:31673): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_height: assertion `GDK_IS_PIXBUF (pixbuf)' failed
Comment 5 Cristian Marchi 2012-04-19 09:14:54 CEST
Created attachment 4346 
xfce-settings-manager.menu
Comment 6 Nick Schermer editbugs 2012-04-19 09:22:50 CEST
Duplicates of the .desktop files is most likely blocking them from being included in the menu. If you reverse the order of the paths in XDG_DATA_DIRS it might work.

XDG_DATA_DIRS=/usr/local/share:/usr/share xfce4-settings-manager.
Comment 7 Nick Schermer editbugs 2012-04-19 09:24:46 CEST
Or "/usr/share:/usr/local/share" I'm not sure which of the two gives a higher prio to /usr/local/share
Comment 8 Cristian Marchi 2012-04-19 10:04:51 CEST
No luck. Only thing that changes by switching the two paths is the "Others" category being displayed or not in the list.
I've also tried with "XDG_DATA_DIRS=/usr/local/share xfce4-settings-manager" but nothing changes.

In usr/local/share/applications I have a bunch of desktop files named *-settings.desktop
Comment 9 Robby Workman editbugs 2014-12-03 15:33:33 CET
This looks more like a system config problem, but whether it was or wasn't, is it still reproducible these days? In other words, do you still have this bug?
Comment 10 Cristian Marchi 2014-12-03 20:53:29 CET
(In reply to Robby Workman from comment #9)
> This looks more like a system config problem, but whether it was or wasn't,
> is it still reproducible these days? In other words, do you still have this
> bug?

Now I'm running 14.10 and this problem is gone. I can't tell if the problem persist in 11.10
Comment 11 Robby Workman editbugs 2014-12-03 21:06:19 CET
Okay, thanks! Closing...

Bug #8731

Reported by:
Cristian Marchi
Reported on: 2012-04-18
Last modified on: 2014-12-03

People

Assignee:
Nick Schermer
CC List:
5 users

Version

Attachments

Image of the settings manager window (26.47 KB, image/png)
2012-04-18 20:07 CEST , Cristian Marchi
no flags
xfce-settings-manager.menu (2.20 KB, application/octet-stream)
2012-04-19 09:14 CEST , Cristian Marchi
no flags

Additional information