Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 454184 - kmix doesn't start on login
Summary: kmix doesn't start on login
Alias: None
Product: Fedora
Classification: Fedora
Component: gnome-session
Version: rawhide
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: jmccann
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2008-07-06 05:58 UTC by Jonathan Kamens
Modified: 2015-01-14 23:21 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2008-08-06 01:23:01 UTC

Attachments (Terms of Use)

Description Jonathan Kamens 2008-07-06 05:58:52 UTC
I'm running all current packages from Rawhide as of 7/6/2008.  I have

Kmix doesn't start when I log in.  It is listed in the Session Preferences
dialog (System > Preferences > Personal > Sessions).

Here's what ~/.xsession-errors has to say about "grep kmix"):

** (gnome-session:3739): DEBUG: read /usr/share/autostart/kmix_autostart.desktop
** (gnome-session:3739): DEBUG: read
** (gnome-session:3739): DEBUG: app kmix_autostart.desktop not installed or not
** (gnome-session:3739): DEBUG: app restore_kmix_volumes.desktop not installed
or not for GNOME
** (gnome-session-properties:4737): DEBUG: read
** (gnome-session-properties:4737): DEBUG: read
** (gnome-session-properties:4850): DEBUG: read
** (gnome-session-properties:4850): DEBUG: read

I don't know what to make of this.

Comment 1 Kevin Kofler 2008-07-06 18:28:12 UTC
gnome-session? Are you running GNOME? If so, it's normal that KMix doesn't 
start, it's set to autostart only in KDE.

Comment 2 Jonathan Kamens 2008-07-06 23:21:24 UTC
If it's normal for it not to auto-start, then why is it listed as one of the
Startup programs in System > Preferences > Personal > Sessions?

And if kmix isn't what I'm supposed to be using in GNOME as my volume control,
what *should* I be using.  There needs to be *something* that starts
automatically when I log in and puts a volume control in my system tray, doesn't

Comment 3 Kevin Kofler 2008-07-06 23:30:07 UTC
None of these are problems in kdemultimedia.

Comment 4 Jonathan Kamens 2008-07-29 18:26:46 UTC
Perhaps not a kdemultimedia bug, but definitely a bug somewhere, since this used
to do the right thing and doesn't anymore, and "Sessions Preferences" clearly
indicates that kmix is supposed to be starting on login but it isn't.

Perhaps a gnome-desktop bug?

Comment 5 Rex Dieter 2008-07-29 18:28:28 UTC
All the way up to F-9 at least, /usr/share/autostart was a kde-only thing.  Is
gnome (in rawhide) using that now too?

Comment 6 Jonathan Kamens 2008-07-29 18:31:53 UTC
I have no idea what gnome is using.  All I know is that kmix used to start
automatically every time I logged in; it is no longer starting automatically
even though my session preferences say that it's supposed to; and I didn't
change anything to cause this change in behavior.

Clearly there needs to be a way to get a volume control in the system tray
automatically upon login.  If there's another way to do it other than what kmix
used to do for me, I'd love to hear what it is, but I still maintain that
there's a bug here.

Comment 7 Ray Strode [halfline] 2008-07-30 13:59:48 UTC
Hi Jonathan,

right click on your panel, choose "Add to Panel" and pick "Volume Control". 
That should give you want you want, I think.

Rex, looking at rawhide gnome-session, I see:

      g_ptr_array_add (dirs, 
                       g_build_filename (system_data_dirs[i], 
                                         "autostart", NULL));

which is clearly wrong.  Jon, do you know why it's doing this? 
/usr/share/autostart is a kde specific directory with kde specific semantics
that are different than /etc/xdg/autostart

Comment 8 Ray Strode [halfline] 2008-07-30 14:00:56 UTC
For clarity, when I mentioned Jon above I meant Jon McCann (who I added to the
cc list) not Jonathan Kamens.

Comment 9 Rex Dieter 2008-07-30 14:13:23 UTC
fwiw, /usr/share/autostart is fixable either way, I just need to know what to
expect from gnome (though selfishly, I'd prefer the old behavior, less work you

Comment 10 Ray Strode [halfline] 2008-07-30 21:57:12 UTC
Nah, this is an old topic that's been beat in the ground before. 
/usr/share/autostart was explicitly ignored when the xdg autostart idea was made
because it has different existing semantics than what were being proposed.  It's
a bug that gnome-session is trying to use it.

Comment 11 Matthias Clasen 2008-08-01 13:53:45 UTC
Here is what I committed upstream, it'll show up in rawhide in a bit.

2008-08-01  Matthias Clasen  <>

        * gnome-session/gsm-util.c (gsm_util_get_autostart_dirs): Don't
        look in /usr/share/autostart, since that is a KDE-specific
        location using legacy KDE autostart conventions predating the
        autostart spec.

Comment 12 Jonathan Kamens 2008-08-07 01:55:09 UTC
Do I understand correctly that the "fix" for this problem is not that I will once again be able to get kmix to start automatically upon login under GNOME, as I could before, but rather than it no longer appears in the "Session Preferences" dialog?

This is not the "fix" I was looking for.  I like kmix a lot better than the GNOME volume control applet, I liked being able to use it in GNOME, and I was hoping to be able to once again use it in GNOME.  Is that not going to happen?

Comment 13 Matthias Clasen 2008-08-07 02:03:56 UTC
You can use kmix, of course. You just have to install an autostart file in a place where gnome-session looks: /etc/xdg/autostart, /usr/share/gnome/autostart
or ~/.config/autostart.

Comment 14 Jonathan Kamens 2008-08-07 02:12:13 UTC
Is there a tool somewhere for generating such a file, or documentation somewhere of what to put in it, or do I need to guess by looking at other autostart files?  Thanks.

Comment 15 Kevin Kofler 2008-08-07 02:18:41 UTC
Try copying the file from /usr/share/autostart maybe?

Comment 16 Matthias Clasen 2008-08-07 02:21:20 UTC
I think you can use the Add button in the session capplet to create one

Note You need to log in before you can comment on or make changes to this bug.