dcop kmix kmix-mainwindow#1 hide
Hides the GUI window. Use dcop kmix kmix-mainwindow#1 show
or the dock icon to show it again.
dcop kmix kmix-mainwindow#1 resize 1 1
Resizes the GUI window to the smallest size possible. This is the size so that all sliders (and other GUI elements) will fit into the window.
dcop kmix Mixer0 mixerName
Tells the name of the first Mixer, for example Sound Fusion CS46xx
.
dcop kmix Mixer1 setVolume 0 10
Sets the volume on the second mixer, device 0 to 10 percent. Device 0 is often the master device, but not always. If you want to quiet down the (first) master device on your second soundcard, you can use dcop kmix Mixer1 setMasterVolume 0
You can directly execute these commands from a shell that you started from inside KDE. If you need to execute dcop commands from somewhere else, for example from a crontab script, you need to define the DCOPSERVER
environment variable (as seen in the first line of your ~/.DCOPserver_hostname_:0
file), for example:
#!/bin/sh DCOPSERVER=`cat /home/yourhome/.DCOPserver_yourhostname_:0 | grep local` export DCOPSERVER dcop kmix Mixer0 setMasterVolume 0
Would you like to make a comment or contribute an update to this page?
Send feedback to the KDE Docs Team