Hello, With Xfce 4.4 on Xubuntu 6.10, I cannot add the Volume Control plugin to my panel. I right click the panel, click add new item, and add the Volume Control plugin. A little black line appears on the panel, then disappears. No plugin. When I run xfce4-panel through the terminal and then try to add the plugin, this is what I get: kim@komputer:~$ xfce4-panel The program 'xfce4-mixer-plugin' received an X Window System error. This probably reflects a bug in the program. The error was 'BadAccess (attempt to access private resource denied)'. (Details: serial 182 error_code 10 request_code 33 minor_code 0) (Note to programmers: normally, X errors are reported asynchronously; that is, you will receive the error a while after causing it. To debug your program, run it with the --sync command line option to change this behavior. You can then get a meaningful backtrace from your debugger if you break on the gdk_x_error() function.) ** Message: Volume Control: screen changed: 0 ** Message: No valid plug window. (xfce4-panel:6296): Gtk-CRITICAL **: gtk_socket_get_id: assertion `GTK_WIDGET_ANCHORED (socket)' failed ** (xfce4-panel:6296): CRITICAL **: An item was unexpectedly removed: "Volume Control". Can anyone help me?
I also have this bug now. I am running Xubuntu Gutsy Beta (7.10). Xfce Panel 4.4.1
Created attachment 1392 strace output
Created attachment 1393 strace output (2)
Created attachment 1394 valgrind output
Created attachment 1395 valgrind output (2)
I experienced this bug some time ago (I used strace and valgrind since gdb was broken on gutsy at this time). Now I can't reproduce it anymore (it works without problem).
I just deleted the plugins user local config files and restarted X, this fixed it for me. The plugin works now.
Sorry, but I stated too early that it works. Actually it only worked because restarting the panel and adding it is a workaround. After restarting X it will be gone again. This is also stated here: https://bugs.launchpad.net/xfce4-mixer/+bug/90261 Another workaround seems to be to drag the plugin from the plugin menu to the panel. I just tried restarting X and it is still there. I found this workaround here: http://ubuntuforums.org/showthread.php?t=375118
Additionnal information added In LP's bug report : "The drag-n-drop workaround works depending on your theme. That means, if you have "MurrinaStormCloud" as your current theme it works, but if you use "Human" instead it doesn't. So you need to set your theme to "MurrinaStormCloud" and drag the mixer-plugin to the panel instead of clicking on "Add"."
I was suffering from this bug as well on two of my laptops. Based on comments in bug reports here: https://bugs.launchpad.net/xfce4-mixer/+bug/90261 and here: http://ubuntuforums.org/showthread.php?t=375118 it appears that some users are having limited success by dragging the volume control icon into the panel. For some users this only temporarily fixes the problem. I discovered another workaround that fixes the problem and the volume control (xfce4-mixer) appears in the panel and stays there even after logging out or restarting and then logging back in. This workaround involves manually editing the user's configuration files for xfce4-panel My systems are set up as follows: 1: running Xubuntu and the other running Ubuntu. Both of them based on Gutsy and running xfce 4.4.1 . After playing around with the configuration files in ~.config/xfce4/panel/ I realized that the configuration to display the volume control was incomplete. I found that the configuration requires (at least) two parts. 1. a file called xfce4-mixer-<numbers>.rc 2. an entry in the <items> section of the appropriate panel in the file panels.xml that references this mixer configuration file. My setup only had the file called xfce4-mixer-<numbers>.rc But didn't have an entry in the <items> section. Listing of ~/.config/xfce4/panel/: benb@bensgateway:~$ ls .config/xfce4/panel/ actions-6.rc panels.xml xfce4-menu-1.rc clock-5.rc separator-3.rc xfce4-mixer-<11939790840>.rc cpugraph-11939409932.rc systray-4.rc launcher-2.rc tasklist-2.rc Excerpt from ~/.config/xfce4/panel/panels.xml: 17 <items> 18 <item name="xfce4-menu" id="1"/> 19 <item name="launcher" id="2"/> 20 <item name="separator" id="3"/> 22 <item name="cpugraph" id="11939409932"/> 23 <item name="systray" id="4"/> 24 <item name="clock" id="5"/> 25 <item name="actions" id="6"/> 26 </items> Note that there are files for each of the entries in the items list, but that there is no item entry for the xfce4-mixer file. Also not that the "id" attribute for each item tag corresponds to the number in each applet's configuration file. After trying the drag-n-drop workaround, which worked, I examined the configuration again and now I had a new file called xfce4-mixer-11939790840.rc and a corresponding entry in the items section. I then deleted the old xfce-mixer-<numbers>.rc file which had no entry. After this I rebooted and the volume control was in the panel when I logged in. I hope this workaround works for others and that it gives some developers an idea of where to look for the cause.
Can someone that is affected by this compile a version of xfce4-mixer and xfce4-panel with debugging information, use "ulimit -c unlimited" to enable core files and attach to the core file with the "xfce4-mixer-plugin" executable? Thanks. So this: xfce4-panel/ $ ./configure --enable-debug --sysconfdir=/etc --prefix=/usr xfce4-panel/ $ make xfce4-panel/ $ make install xfce4-mixer/ $ ./configure --enable-debug --sysconfdir=/etc --prefix=/usr --with-sound=alsa xfce4-panel/ $ make xfce4-panel/ $ make install then restart panel with a Mixer plugin, it should crash and leave a core dump in the directory where you started the panel from (usually your home directory). Then do this: ~ $ gdb /usr/libexec/xfce4/panel-plugins/xfce4-mixer-plugin core gdb> bt Thanks.
*** Bug 2978 has been marked as a duplicate of this bug. ***
This seems to have been reported against version 4.4 initially and the code base has changed significantly since then, if you still experience crashes with version 4.9.0 or later please open a new bug and attach a backtrace. Please see http://docs.xfce.org/xfce/xfce4-panel/debugging for instructions.