Xfce Forum

Sub domains
 

You are not logged in.

#1 2015-10-03 13:55:26

Jerry3904
Member
Registered: 2013-11-09
Posts: 850

Whisker Menu non-working commands

We are in early alpha testing of MX-15 using Xfce 4.12 on Jessie. Two Whisker Menu (xfce4-whiskermenu-plugin 1.5.0) commands do not work, and I am interested in seeing how general the problem is:

1) Edit Profile, command "mugshot". Enabled, causes the user icon on WM main screen to be clickable, but we continue to get errors no matter what we change (create file, etc.)

2) Edit Applications, command "xfce4-appfinder --collapsed". Enabled, no icon shows with the others on WM main screen. Substituting another valid command, either menulibre (as Manjaro does) or our mx-menu-editor, has the same result.

I see nothing like this on the Bug list filtered for "whisker"

TIA


MX-23 (based on Debian Stable) with our flagship Xfce 4.18.

Offline

#2 2015-10-03 14:11:27

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 10,948

Re: Whisker Menu non-working commands

Jerry,

1) What error messages are you getting? You can run mugshot manually in debug mode ("mugshot -vv") to see exactly what is happening and where the hangups are.

2) You won't get an icon for the Edit Applications command on the main whisker-menu screen. It is displayed when you right-click the plugin.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#3 2015-10-03 14:54:33

Jerry3904
Member
Registered: 2013-11-09
Posts: 850

Re: Whisker Menu non-working commands

Thanks for 2), now that makes sense. Never looked there, the brain likes symmetry and all the other commands produce main screen icons.

Have to switch to my testing machine for 1)


MX-23 (based on Debian Stable) with our flagship Xfce 4.18.

Offline

#4 2015-10-03 15:01:23

Jerry3904
Member
Registered: 2013-11-09
Posts: 850

Re: Whisker Menu non-working commands

$ mugshot -vv

** (mugshot:2855): WARNING **: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
DEBUG:mugshot: set_up_logging() 'logging enabled'
DEBUG:mugshot_lib: __init__() 'consider using a pythonic name instead of
        design name 'filechooserdialog-vbox1''
DEBUG:mugshot_lib: __init__() 'consider using a pythonic name instead of
        design name 'filechooserdialog-action_area1''
DEBUG:mugshot_lib: connect_signals() 'connect builder by design 'crop_center', 'toggled', 'on_crop_changed''
DEBUG:mugshot_lib: connect_signals() 'connect builder by design 'crop_left', 'toggled', 'on_crop_changed''
DEBUG:mugshot_lib: connect_signals() 'connect builder by design 'crop_right', 'toggled', 'on_crop_changed''
DEBUG:mugshot_lib: connect_signals() 'connect builder by design 'image_menu', 'hide', 'on_image_menu_hide''
DEBUG:mugshot_lib: connect_signals() 'connect builder by design 'image_from_stock', 'activate', 'on_image_from_stock_activate''
DEBUG:mugshot_lib: connect_signals() 'connect builder by design 'image_from_camera', 'activate', 'on_menu_camera_activate''
DEBUG:mugshot_lib: connect_signals() 'connect builder by design 'image_from_browse', 'activate', 'on_image_from_browse_activate''
DEBUG:mugshot_lib: connect_signals() 'connect builder by design 'image_remove', 'activate', 'on_image_remove_activate''
DEBUG:mugshot_lib: connect_signals() 'connect builder by design 'image_button', 'clicked', 'on_image_button_clicked''
DEBUG:mugshot_lib: connect_signals() 'connect builder by design 'first_name', 'activate', 'entry_focus_next''
DEBUG:mugshot_lib: connect_signals() 'connect builder by design 'last_name', 'activate', 'entry_focus_next''
DEBUG:mugshot_lib: connect_signals() 'connect builder by design 'initials', 'activate', 'entry_focus_next''
DEBUG:mugshot_lib: connect_signals() 'connect builder by design 'initials', 'grab-focus', 'initials_entry_focused''
DEBUG:mugshot_lib: connect_signals() 'connect builder by design 'home_phone', 'activate', 'entry_focus_next''
DEBUG:mugshot_lib: connect_signals() 'connect builder by design 'home_phone', 'changed', 'filter_numbers''
DEBUG:mugshot_lib: connect_signals() 'connect builder by design 'email', 'activate', 'entry_focus_next''
DEBUG:mugshot_lib: connect_signals() 'connect builder by design 'office_phone', 'activate', 'entry_focus_next''
DEBUG:mugshot_lib: connect_signals() 'connect builder by design 'office_phone', 'changed', 'filter_numbers''
DEBUG:mugshot_lib: connect_signals() 'connect builder by design 'fax', 'changed', 'filter_numbers''
DEBUG:mugshot_lib: connect_signals() 'connect builder by design 'help_button', 'clicked', 'on_help_activate''
DEBUG:mugshot_lib: connect_signals() 'connect builder by design 'cancel_button', 'clicked', 'on_cancel_button_clicked''
DEBUG:mugshot_lib: connect_signals() 'connect builder by design 'apply_button', 'clicked', 'on_apply_button_clicked''
DEBUG:mugshot_lib: connect_signals() 'connect builder by design 'filechooserdialog', 'update-preview', 'on_filechooserdialog_update_preview''
DEBUG:mugshot_lib: connect_signals() 'connect builder by design 'stock_browser', 'delete-event', 'on_stock_browser_delete_event''
DEBUG:mugshot_lib: connect_signals() 'connect builder by design 'stock_iconview', 'item-activated', 'on_stock_iconview_item_activated''
DEBUG:mugshot_lib: connect_signals() 'connect builder by design 'stock_iconview', 'selection-changed', 'on_stock_iconview_selection_changed''
DEBUG:mugshot_lib: connect_signals() 'connect builder by design 'stock_cancel', 'clicked', 'on_stock_cancel_clicked''
DEBUG:mugshot_lib: connect_signals() 'connect builder by design 'stock_ok', 'clicked', 'on_stock_ok_clicked''
DEBUG:mugshot_lib: do_connect() 'connect builder by name 'stock_browser','delete_event', 'on_stock_browser_delete_event''
DEBUG:mugshot_lib: do_connect() 'connect builder by name 'mugshot_window','destroy', 'on_destroy''
DEBUG:mugshot_lib: do_connect() 'connect builder by name 'stock_iconview','selection_changed', 'on_stock_iconview_selection_changed''
DEBUG:mugshot_lib: do_connect() 'connect builder by name 'stock_iconview','item_activated', 'on_stock_iconview_item_activated''
DEBUG:mugshot_lib: log_unconnected_functions() 'Not connected to builder 'on_preferences_changed''
DEBUG:mugshot_lib: log_unconnected_functions() 'Not connected to builder 'on_camera_dialog_apply''
DEBUG:mugshot: init_user_details() 'Checking for ~/.face profile image'
DEBUG:mugshot: init_user_details() 'Checking AccountsService for profile image'
DEBUG:mugshot: init_user_details() 'AccountsService is not supported.'
DEBUG:mugshot: set_user_image() 'Setting user profile image to /home/jb/.face'
Traceback (most recent call last):
  File "/usr/bin/mugshot", line 36, in <module>
    mugshot.main()
  File "/usr/lib/python3/dist-packages/mugshot/__init__.py", line 46, in main
    window = MugshotWindow.MugshotWindow()
  File "/usr/lib/python3/dist-packages/mugshot_lib/Window.py", line 51, in __new__
    new_object.finish_initializing(builder)
  File "/usr/lib/python3/dist-packages/mugshot/MugshotWindow.py", line 216, in finish_initializing
    self.init_user_details()
  File "/usr/lib/python3/dist-packages/mugshot/MugshotWindow.py", line 236, in init_user_details
    self.set_user_image(face)
  File "/usr/lib/python3/dist-packages/mugshot/MugshotWindow.py", line 281, in set_user_image
    pixbuf = GdkPixbuf.Pixbuf.new_from_file(filename)
GLib.Error: g-file-error-quark: Failed to open file '/home/jb/.face': No such file or directory (4)

This is on an installed instance. I tried creating that missing file first, but perhaps I did it incorrectly...

Last edited by Jerry3904 (2015-10-03 15:02:18)


MX-23 (based on Debian Stable) with our flagship Xfce 4.18.

Offline

#5 2015-10-03 19:40:07

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 10,948

Re: Whisker Menu non-working commands

Jerry3904 wrote:

Thanks for 2), now that makes sense. Never looked there, the brain likes symmetry and all the other commands produce main screen icons.

It might be worth putting in a request to have it moved to this location - it would make more sense. The developer seems quite active.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#6 2015-10-03 19:46:48

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 10,948

Re: Whisker Menu non-working commands

Jerry3904 wrote:
$ mugshot -vv

** (mugshot:2855): WARNING **: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
DEBUG:mugshot: set_up_logging() 'logging enabled'
DEBUG:mugshot_lib: __init__() 'consider using a pythonic name instead of
        design name 'filechooserdialog-vbox1''
DEBUG:mugshot_lib: __init__() 'consider using a pythonic name instead of
        design name 'filechooserdialog-action_area1''
DEBUG:mugshot_lib: connect_signals() 'connect builder by design 'crop_center', 'toggled', 'on_crop_changed''
DEBUG:mugshot_lib: connect_signals() 'connect builder by design 'crop_left', 'toggled', 'on_crop_changed''
DEBUG:mugshot_lib: connect_signals() 'connect builder by design 'crop_right', 'toggled', 'on_crop_changed''
DEBUG:mugshot_lib: connect_signals() 'connect builder by design 'image_menu', 'hide', 'on_image_menu_hide''
DEBUG:mugshot_lib: connect_signals() 'connect builder by design 'image_from_stock', 'activate', 'on_image_from_stock_activate''
DEBUG:mugshot_lib: connect_signals() 'connect builder by design 'image_from_camera', 'activate', 'on_menu_camera_activate''
DEBUG:mugshot_lib: connect_signals() 'connect builder by design 'image_from_browse', 'activate', 'on_image_from_browse_activate''
DEBUG:mugshot_lib: connect_signals() 'connect builder by design 'image_remove', 'activate', 'on_image_remove_activate''
DEBUG:mugshot_lib: connect_signals() 'connect builder by design 'image_button', 'clicked', 'on_image_button_clicked''
DEBUG:mugshot_lib: connect_signals() 'connect builder by design 'first_name', 'activate', 'entry_focus_next''
DEBUG:mugshot_lib: connect_signals() 'connect builder by design 'last_name', 'activate', 'entry_focus_next''
DEBUG:mugshot_lib: connect_signals() 'connect builder by design 'initials', 'activate', 'entry_focus_next''
DEBUG:mugshot_lib: connect_signals() 'connect builder by design 'initials', 'grab-focus', 'initials_entry_focused''
DEBUG:mugshot_lib: connect_signals() 'connect builder by design 'home_phone', 'activate', 'entry_focus_next''
DEBUG:mugshot_lib: connect_signals() 'connect builder by design 'home_phone', 'changed', 'filter_numbers''
DEBUG:mugshot_lib: connect_signals() 'connect builder by design 'email', 'activate', 'entry_focus_next''
DEBUG:mugshot_lib: connect_signals() 'connect builder by design 'office_phone', 'activate', 'entry_focus_next''
DEBUG:mugshot_lib: connect_signals() 'connect builder by design 'office_phone', 'changed', 'filter_numbers''
DEBUG:mugshot_lib: connect_signals() 'connect builder by design 'fax', 'changed', 'filter_numbers''
DEBUG:mugshot_lib: connect_signals() 'connect builder by design 'help_button', 'clicked', 'on_help_activate''
DEBUG:mugshot_lib: connect_signals() 'connect builder by design 'cancel_button', 'clicked', 'on_cancel_button_clicked''
DEBUG:mugshot_lib: connect_signals() 'connect builder by design 'apply_button', 'clicked', 'on_apply_button_clicked''
DEBUG:mugshot_lib: connect_signals() 'connect builder by design 'filechooserdialog', 'update-preview', 'on_filechooserdialog_update_preview''
DEBUG:mugshot_lib: connect_signals() 'connect builder by design 'stock_browser', 'delete-event', 'on_stock_browser_delete_event''
DEBUG:mugshot_lib: connect_signals() 'connect builder by design 'stock_iconview', 'item-activated', 'on_stock_iconview_item_activated''
DEBUG:mugshot_lib: connect_signals() 'connect builder by design 'stock_iconview', 'selection-changed', 'on_stock_iconview_selection_changed''
DEBUG:mugshot_lib: connect_signals() 'connect builder by design 'stock_cancel', 'clicked', 'on_stock_cancel_clicked''
DEBUG:mugshot_lib: connect_signals() 'connect builder by design 'stock_ok', 'clicked', 'on_stock_ok_clicked''
DEBUG:mugshot_lib: do_connect() 'connect builder by name 'stock_browser','delete_event', 'on_stock_browser_delete_event''
DEBUG:mugshot_lib: do_connect() 'connect builder by name 'mugshot_window','destroy', 'on_destroy''
DEBUG:mugshot_lib: do_connect() 'connect builder by name 'stock_iconview','selection_changed', 'on_stock_iconview_selection_changed''
DEBUG:mugshot_lib: do_connect() 'connect builder by name 'stock_iconview','item_activated', 'on_stock_iconview_item_activated''
DEBUG:mugshot_lib: log_unconnected_functions() 'Not connected to builder 'on_preferences_changed''
DEBUG:mugshot_lib: log_unconnected_functions() 'Not connected to builder 'on_camera_dialog_apply''
DEBUG:mugshot: init_user_details() 'Checking for ~/.face profile image'
DEBUG:mugshot: init_user_details() 'Checking AccountsService for profile image'
DEBUG:mugshot: init_user_details() 'AccountsService is not supported.'
DEBUG:mugshot: set_user_image() 'Setting user profile image to /home/jb/.face'
Traceback (most recent call last):
  File "/usr/bin/mugshot", line 36, in <module>
    mugshot.main()
  File "/usr/lib/python3/dist-packages/mugshot/__init__.py", line 46, in main
    window = MugshotWindow.MugshotWindow()
  File "/usr/lib/python3/dist-packages/mugshot_lib/Window.py", line 51, in __new__
    new_object.finish_initializing(builder)
  File "/usr/lib/python3/dist-packages/mugshot/MugshotWindow.py", line 216, in finish_initializing
    self.init_user_details()
  File "/usr/lib/python3/dist-packages/mugshot/MugshotWindow.py", line 236, in init_user_details
    self.set_user_image(face)
  File "/usr/lib/python3/dist-packages/mugshot/MugshotWindow.py", line 281, in set_user_image
    pixbuf = GdkPixbuf.Pixbuf.new_from_file(filename)
GLib.Error: g-file-error-quark: Failed to open file '/home/jb/.face': No such file or directory (4)

This is on an installed instance. I tried creating that missing file first, but perhaps I did it incorrectly...

Yes, it appears to crash when trying to create ~/.face. If a file exists, remove it and see if it successfully creates it. If you're creating the file manually, the .face file should be a png file (no extension).

Also make sure that the directory and file are accessible (should be writeable).

What version of mugshot are you using:

mugshot --version

Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#7 2015-10-03 20:03:24

Jerry3904
Member
Registered: 2013-11-09
Posts: 850

Re: Whisker Menu non-working commands

mugshot 0.2.5

There are certainly a lot of problems reported on your favorite site:

https://aur.archlinux.org/packages/mugshot/

Honestly, I am surprised that Xfce devs would include this. There is a post thee about the need for accountservice that I will look at. I will continue to screw around with this a bit more, but I think the program itself is really sloppily written and lacks documentation, so suspect we will just drop it.

Thanks for your help.

Last edited by Jerry3904 (2015-10-03 20:03:59)


MX-23 (based on Debian Stable) with our flagship Xfce 4.18.

Offline

#8 2015-10-03 20:10:09

Jerry3904
Member
Registered: 2013-11-09
Posts: 850

Re: Whisker Menu non-working commands

Aha: once accountsservice is installed, clicking on the user image causes a screen to pop up that looks like it will function--needs to be a dependency!


MX-23 (based on Debian Stable) with our flagship Xfce 4.18.

Offline

#9 2015-10-03 20:49:28

Jerry3904
Member
Registered: 2013-11-09
Posts: 850

Re: Whisker Menu non-working commands

Things are still pretty squirrelly, even with that.

--you must reboot after installing accountsservice for it to find the user
--It will crop out part of any image you select, apparently no matter how small in my few tests.
--If you want to keep any changes, it asks for a password, but it hangs with either user or root
--I ran it in a terminal to see why it hung, and it shows a GTK error (symbolic icon...of size 16 is in an icon theme directory of size 96) that, when searched, lands on a recent bug report with many people reporting the same problem

Dumb dumb dumb. Online Help (only available once the app launches...) is of no help.

In the Trash...

Last edited by Jerry3904 (2015-10-03 21:09:51)


MX-23 (based on Debian Stable) with our flagship Xfce 4.18.

Offline

#10 2015-10-03 21:38:35

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 10,948

Re: Whisker Menu non-working commands

Interesting. I don't have any problems with it and I don't have accountsservice installed either. I just rebuilt it from the AUR and its still working fine.

Mugshot isn't actually part of Xfce. I think the Xubuntu devs include it in their distro. Don't know about the other distros. As far as I know, it creates the .face file (which you could create manually) and fills in the extra fields in /etc/passwd.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

Board footer

Powered by FluxBB