This forum has been archived. All content is frozen. Please use KDE Discuss instead.

new program for system tray

Tags: None
(comma "," separated)
gm40
Registered Member
Posts
46
Karma
0
OS

new program for system tray

Wed Dec 03, 2014 4:57 am
Hi, I would like to replace the KMix-icon in the system tray by the PulseAudioVolumeControl-icon in the system tray. Therefore I would have to edit the list of predefined programs ready for use in the system tray. Is that possible in principle? Where are the predefined applets stored that appear in the list of installable applets when calling 'System Tray Settings'? Thanks for any help!
wolfi323
Registered Member
Posts
1129
Karma
11
OS

Re: new program for system tray

Wed Dec 03, 2014 11:06 am
KMix is not one of those system tray plasmoids, so it is not in any "list of predefined programs ready for use in the system tray".

KMix is just a standalone application that adds an icon to the system tray. You have to actually run it to get the icon.
It is normally started automatically on login via a .desktop file in /usr/share/autostart/.

To prevent it from starting automatically at all (even for new users), I see those options:
  • Uninstall the package "kmix"
  • Remove the file /usr/share/autostart/kmix_autostart.desktop or add "Hidden=true" to it (but any update to kmix will restore it again)
  • Copy the file /usr/share/autostart/kmix_autostart.desktop to ~/.local/share/autostart/ and set "Hidden=true" there (will only have effect for that particular user of course)
  • Create a file ~/.kde4/share/config/kmixrc for each user (via /etc/skel/ maybe, if you want to disable the autostart for every new user automatically) with this content:
    Code: Select all
    [Global]
    AutoStart=false
  • Add "AutoStart=false" to the default config file /etc/kde4/share/config/kmixrc
The last 2 items will make it possible for a user to still manually start KMix and enable AutoStart again.

Or, if this is only about your own user account anyway, simply go into KMix's settings (click on its icon in the system tray and then on the "spanner" symbol in its popup window) and disable the option "Autostart"...
gm40
Registered Member
Posts
46
Karma
0
OS

Re: new program for system tray

Wed Dec 03, 2014 11:56 pm
Thanks for the hints! My problem is not as much how to get rid of kmix in the system tray as much more how to get 'PulseAudio Volume Controle' into the system tray. The settings of this program don't make any provisions for that.
wolfi323
Registered Member
Posts
1129
Karma
11
OS

Re: new program for system tray

Thu Dec 04, 2014 4:25 pm
gm40 wrote:Thanks for the hints! My problem is not as much how to get rid of kmix in the system tray as much more how to get 'PulseAudio Volume Controle' into the system tray. The settings of this program don't make any provisions for that.

Well, you can't.

If that application creates a system tray icon, you should see it in the system tray. If not, you cannot do much about it, except maybe file a feature request for that application or implement it yourself... ;)

A possibility might be to run it via "ksystraycmd", or create an application launcher in the panel for it.

You could try "plasmoid-veromix" from the KDE:Extra repo though. This is a PulseAudio Volume Control plasmoid which you can add to the system tray.
I never used it myself though (I don't even have PulseAudio installed here).
http://software.opensuse.org/package/pl ... id-veromix

plasmoid-veromix

Mixer plasmoid for the Pulseaudio sound server

Veromix is a mixer plasmoid for the Pulseaudio sound server.
Features:
- Media Player Controls (aka nowplaying)
- Per application volume control (replay & record)
- Global hotkeys
- Can live in system tray


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Sogou [Bot]