Announcement

Collapse
No announcement yet.

kmix not launching from menu

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    kmix not launching from menu

    No problems launching via the panel, but not from Kickoff (kmix -caption "%c" %i).
    I know it's just a minor niggle, but for the sake of 'completeness', how do I fix this.
    Editing the .desktop file perhaps ?

    Thank you in advance.

    #2
    KMixer

    The KMixer /1/ should autostart with the /usr/share/autostart/kmix_autostart.desktop. After this the KMIx Icon can be found from the system tray /2/.
    ...To interact with an application in the System Tray right click on its icon...

    If the Kmixer is not running then the KMix can be restarted from the Kickoff or Krunner (Alt+F2) /3/ or Konsole. After this the KMIx Icon can be found from the system tray.


    kmix not launching from menu
    No problems launching via the panel, but not from Kickoff (kmix -caption "%c" %i).
    Doesn't your KMixer autostart ?
    What is happening when your click the Kickoff KMixer icon ?

    The KMix can be controlled by the D-Bus - KMixer handbook Chapter 3.
    Help via the qdbus:
    Code:
    qdbus org.kde.kmix /kmix/KMixWindow/actions/help_contents com.trolltech.Qt.QAction.trigger
    If you want to add a Kickoff button KMIx-restore - KDE menu editor /4/:
    Code:
    qdbus org.kde.kmix /MainApplication org.kde.KUniqueApplication.newInstance
    --- Edit----
    Should be:

    KDE 4.7 & KDE 4.8
    Code:
    qdbus org.kde.kmix /kmix/KMixWindow com.trolltech.Qt.QWidget.show
    KDE 4.9 Beta 1
    Code:
    qdbus org.kde.kmix /kmix/KMixWindow org.qtproject.Qt.QWidget.show
    --- Edit----





    Links

    1. http://userbase.kde.org/KMix
    2. http://userbase.kde.org/Plasma/SystemTray/en
    3. http://userbase.kde.org/Plasma/Krunner
    4. http://docs.kde.org/stable/en/kde-workspace/kmenuedit/
    Last edited by OneLine; Jun 08, 2012, 07:27 AM.
    Have you tried ?

    - How to Ask a Question on the Internet and Get It Answered
    - How To Ask Questions The Smart Way

    Comment


      #3
      Thanks for your response and the useful links.

      Originally posted by OneLine View Post
      The KMixer /1/ should autostart with the /usr/share/autostart/kmix_autostart.desktop. After this the KMIx Icon can be found from the system tray /2/.

      If the Kmixer is not running then the KMix can be restarted from the Kickoff or Krunner (Alt+F2) /3/ or Konsole. After this the KMIx Icon can be found from the system tray.
      I can access it in the system tray as shown in the attached thumbnail by clicking on 'Mixer'

      Doesn't your KMixer autostart ?
      It does autostart.

      What is happening when your click the Kickoff KMixer icon ?
      Nothing happens. Terminal output:-

      $ kmix
      QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
      QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.

      The KMix can be controlled by the D-Bus - KMixer handbook Chapter 3.
      Help via the qdbus:
      Code:
      qdbus org.kde.kmix /kmix/KMixWindow/actions/help_contents com.trolltech.Qt.QAction.trigger
      If you want to add a Kickoff button KMIx-restore - KDE menu editor /4/:
      Code:
      qdbus org.kde.kmix /MainApplication org.kde.KUniqueApplication.newInstance
      What do you suggest ? Should I try the KMix-restore code you mention above ?
      Attached Files

      Comment


        #4
        The Kickoff KMix button is a start button. It will start the KMix process. It won't show the settings window /1/. The KMix window can be launched from the system tray KMix button.



        You could add the "show the KMix window" to the Kickoff with the D-Bus call:

        KDE 4.7 & KDE 4.8
        Code:
        qdbus org.kde.kmix /kmix/KMixWindow com.trolltech.Qt.QWidget.show
        KDE 4.9 Beta 1
        Code:
        qdbus org.kde.kmix /kmix/KMixWindow org.qtproject.Qt.QWidget.show

        Notes

        1. The KMix has an option keepvisibility but that doesn't work at here.

        :~$ kmix --help
        Usage: kmix [Qt-options] [KDE-options] [options]

        KMix - KDE's full featured mini mixer

        Generic options:
        --help Show help about options
        --help-qt Show Qt specific options
        --help-kde Show KDE specific options
        --help-all Show all options
        --author Show author information
        -v, --version Show version information
        --license Show license information
        -- End of options

        Options:
        --keepvisibility Inhibits the unhiding of the KMix main window, if KMix is already running.
        Last edited by OneLine; Jun 08, 2012, 07:38 AM.
        Have you tried ?

        - How to Ask a Question on the Internet and Get It Answered
        - How To Ask Questions The Smart Way

        Comment


          #5
          Yes, this works fine in Kickoff ...
          Code:
          qdbus org.kde.kmix /kmix/KMixWindow com.trolltech.Qt.QWidget.show
          I then get what I get by clicking on "Mixer" via the tray icon; i.e. the Playback devices, Capture devices etc. with audio settings
          in drop down box.
          What is a bit of a conundrum for me, is that I am stumped as to how you get the layout per your screenshot.
          I just used alsamixer in terminal to mute/unmute and set volumes. Is that the same ?

          At least now when I select KMix from the Kickstart menu I get what I thought I should get. Grateful for that. :cool:

          Comment


            #6
            What is a bit of a conundrum for me, is that I am stumped as to how you get the layout per your screenshot.
            I just used alsamixer in terminal to mute/unmute and set volumes. Is that the same ?
            The result is the same.

            Earlier:
            http://www.kubuntuforums.net/showthr...lems&highlight
            --> http://fedoraproject.org/wiki/Featur...io_Integration
            Users of KMix will notice that most of their hardware sound controls are no longer shown in the default (PulseAudio-based) interface. To get access to these controls, close KMix (use right-click / quit) and restart it by running KMIX_PULSEAUDIO_DISABLE=1 kmix in a Konsole terminal...
            Have you tried ?

            - How to Ask a Question on the Internet and Get It Answered
            - How To Ask Questions The Smart Way

            Comment


              #7
              Ah, all clear now. Many thanks for the help OneLine !

              Comment

              Working...
              X