Bug 180589 - Kmix should have an option to not be run at logging into KDE4
Summary: Kmix should have an option to not be run at logging into KDE4
Status: RESOLVED FIXED
Alias: None
Product: kmix
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Mandriva RPMs Linux
: NOR wishlist
Target Milestone: ---
Assignee: Christian Esken
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-13 22:49 UTC by vatbier
Modified: 2012-11-14 23:27 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.10
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description vatbier 2009-01-13 22:49:17 UTC
Version:            (using KDE 4.1.3)
OS:                Linux
Installed from:    Mandriva RPMs

I found it annoying to have a Kmix icon in system tray everytime KDE4 starts up. I never use it. But I thought it was necessary for restoring audio volumes.
So I created a cumbersome script "Hide KmixWindow script":
sleep 5
dbus-send --type=method_call --dest=org.kde.kmix /kmix/KMixWindow/actions/hide_kmixwindow com.trolltech.Qt.QAction.trigger

So kmix runs for 5 seconds after logging in and then gets hided which is the same as getting killed.
Just now I find that kmix is not responsible for restoring the volumes:
/usr/share/autostart/kmix_autostart.desktop
‎/usr/share/autostart/restore_kmix_volumes.desktop

So how can I get rid of the autostarting of kmix as I don't need it? Kmix should have an option to not be run at logging in.
In my ~/.kde4/share/config/kmixrc :
Visible=true
startkdeRestore=true
But changing these to false doesn't make a difference.
I only can prevent kmix from starting up by changing /usr/share/autostart/kmix_autostart.desktop to kmix_autostart.desktop~ .
But I prefer an option for this in kmix settings.
Comment 1 Nicolas L. 2009-02-18 23:21:14 UTC
i can try to look to this if i understand
Comment 2 Kamil Neczaj 2009-09-13 17:09:41 UTC
There is option in kmixrc -'AutoStart'. I didn't have it by default, but it works. If you set AutoStart=true kmix starts, if you set 'false' doesn't. The option is checked in kmix_autostart.desktop file. The autostart option can be changed only by editing kmixrc, there is no option to change it using kmix gui.
Comment 3 vatbier 2009-09-17 20:11:58 UTC
In KDE 4.2.2 and later kmix now has in its menu the option "Start KMix when KDE starts".
Comment 4 Kamil Neczaj 2009-09-18 01:54:32 UTC
There isn't such an option in kmix menu nor the configuration window. There is only 'Restore volume configuration on login' which isn't the same.

I've also noticed that 'AutoStart' option also doesn't work well. When I set it to true and run system kmix doesn't start. I run kmix manually then log out and log in, it runs. Then I restart the system I doesn't start. I have turned off session restore at login at session manager.
Comment 5 vatbier 2009-09-18 15:49:00 UTC
In my Mandriva 2009.1 with KDE 4.2.4 kmix menu does have the option "Start KMix when KDE starts".
Kamil, what distribution and KDE version do you have?
Comment 6 Kamil Neczaj 2009-09-19 12:35:54 UTC
I have Arch Linux with kde 4.3.1. Maybe Mandriva has patched kmix.
Comment 7 Nicolas L. 2009-09-19 12:38:48 UTC
Mandriva have been patched for mandriva 2009.1 but the patch have been removed from mdv 2010 because rejected by Mandriva KDE Team, we need to find a better patch
Comment 8 Manuel Amador (Rudd-O) 2012-01-17 12:34:51 UTC
The bug persists.  I am using kde-redhat.
Comment 9 Christian Esken 2012-11-10 15:03:47 UTC
Implemented for KDE4.10. See http://kmix5.wordpress.com/2012/08/04/usability-first-kmixs-long-term-milestone-plan/