Source i (link to git-repo or to original if based on someone elses unmodified work):

Add the source-code for this project on opencode.net

0
Become a Fan
5.0

Available as/for:
Description:
--- what is mkc ---
mkc or mediakeyboardcontrol (previously known as mediaplayer controller) is now a project running via sourceforge http://sourceforge.net/projects/mkc/ .

Because I use several mediaplayer sometimes even at the same time and have a multimedia keyboard I missed the functionaly that I could directly control a mediaplayer even if it isn't selected, With one specific keybinding set (so no diverent keybindings for every mediaplayer) . So I created a mediacontrol program which can control mediaplayers which have an DCOP interface. The extra beauty of the program is that you don't by definition need multimedia keyboard, just bind some keycombo in kde with a dcop call to the mediacontrol service.

I recently started using mkc as a replacement for KMilo, so no more ugly KMilo osd and it's better configurable

If you have any wishes for the program just let me know.

--- what is new ---
- rewriten code
- new dcop functions
- other configfile

--- what programs can be controlled ---
the program can now control the following mediaplayers:
1. kaffeine
2. juk
3. amarok
4. noatun
5. kscd

mixer: kmix

other mediaplayers should also be possible to add if they have a dcop interface.

install howto:
just read the readme file should contain al the information needed

due to a packaging problem the mkcrc and readme are at the base of the archive.
Last changelog:

### 01-07-2006 0.533 ###
bug in isPlaying function fixed

### 10-06-2006 0.532 ###
I have no idea what I changed :S

### 08-06-2006 0.531 ###
bug in mixer toggle fixed

### 08-06-2006 0.53 ###
I rewrote the mixer volume control now it doesn't have to wait for a second before displayig the real volume

### 12-05-2006 config update ###
- the config has been changed a bit, making it possible to adress more player functionality

### 20-03-2006 total code rewrite ###
- I have rewriten the whole code, making it faster then before.
- Added new dcopfunctions.
- new type of config file

### 23-12-2005 no change ###
My servers harddisk crashed :S so that the package was unavailable.
If there are any bugs tell me about it and I will fix them asap.

### 15-09-2005 config update ###
added a couple of mediaplayers to the config file

### 29-08-2005 bug fixes ###
forgot to add the up to date config file. because of that the OSD was black.

### 27-08-2005 bug fixes ###
fixed zome bugs. Including a compile error.

### 13-06-2005 OSD added ###
I have added an OSD to the app

### 13-06-2005 bug fixed ###
program crashed when mixer was not running and action towards mixer was made


Ratings & Comments

31 Comments

pantelhs

Makefile.am: required file `./INSTALL' not found Makefile.am: required file `./NEWS' not found Makefile.am: required file `./README' not found Makefile.am: required file `./COPYING' not found Makefile.am: required file `./AUTHORS' not found make: *** [Makefile.in] Error 1

josep

When compiling mkc 0.5 on an updated Debian sid with GCC 4.0 I got this error: osdwidget.h:38: error: default argument missing for parameter 2 of ‘osdwidget::osdwidget(const char*, configmanager*)’ main.cpp: In function ‘int main(int, char**)’: main.cpp:43: warning: unused variable ‘service’

kennyX

Should be fixed now. If now just let me know and I will look at it

josep

Thanks, it compiled now!

maitre

This can already be done with lineak. As long as the KDE program has a dcop interface, amaroK for instance.

kennyX

lineak is only a mapping to a specific player not a bundle of players at the same time.

maitre

so contribute it to lineak, don't reinvent the wheel.

kennyX

The thing is I don't want to incorporate into a tool that is specificly for keyboard. In my home situation I also use the DCOP interfaces for the use with lirc, and A flatmate of mine wants to use it to show player information on het keyboard lcd display. Looking at the way linux is build up, and the different ways people use their pcs, I belive this is more versityle solution.

DaBlade

Does it work with a wired logitech itouch?

lenooh

use "xev" to find your keycodes: open konsole, type xev, and press your multimedia buttons. look for "keycode". example: when you press "play" you probably get keycode 162 then edit the file "xmodmap.conf". it should be in your home directory (if not, google for it): if keycode 162 was your "play" button, then you would type "keycode 162 = XF86AudioPlay XF86AudioPause" and so on. i can send you my xmodmap.conf if you want. i have a wired logitech itouch navigator keyboard.

DaBlade

I use Xorg. I don't have that file. Anyway, here's the output from xev: User: 223 E-mail: 236 IM/SMS: Nothing happened Webcam: Nothing happened Mute: 160 Volume up: 176 Volume down: 174 Media: 237 home: 178 Search: 229 Does anyone know how to use this information in Xorg?

kennyX

to get your keyboard working try this link http://dwangbuis.student.utwente.nl/wiki/index.php/Extra_keys_on_keyboard I had problem with my newly installed ubuntu by doing this I got it working

lenooh

here's the guide that i used: http://wiki.linuxquestions.org/wiki/Configuring_keyboards it's very easy to understand. btw, if you want to configure ALL your mouse buttons as well, check this out: http://www.linux-gamers.net/modules/wiwimod/index.php?page=HOWTO+Mouse+Buttons&back=HOWTO+INDEX+Hardware have fun!

xep

why KDE is not able to recognize the multimedia and extended keys until now?!

kennyX

If X is configured right the keys are usable, but by default only the volume and mute then works in kde, the other keys aren't bound to anything. If you can't get you're keyboard to work try googleling for it or use xmodmap to create a keyboard mapping for your keyboard.

xep

don't working on my "Labtec wd edge" (((

kennyX

are you're multimedia keys in a keyboard map?? try using xmodmap. If the keys are in the map binding them to the program can be done via your control center and the regional & accessibility and then khotkeys

galactix

It took me some effort to make my new Ubuntu to build cpp (needed a whole load of dev packages and g++ and other packagers... but oh well that's life) And now with the new features MediaControl is even better! Thanks for the update on the configfile I was having trouble with the OSD being over my Amarok OSD, now they are perfectly alligned :)

Bags

i've just downloaded mediacontrol and i'm trying to make it, but i have a trouble: make[2]: *** No rule to make target `OSDWidget.h', needed by `OSDWidget.moc.cpp'. Stop. make[2]: Leaving directory `/home/bags/tandeta/mediacontrol/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/bags/tandeta/mediacontrol' make: *** [all] Error 2 what should i do?

kennyX

I have seen the error before, but a room mate of mine fixed it, he will be back after the weekend I will ask him then what he did. I will try to look up to commands he did, maybe it's still there I thought the problem lies within the absence of some header files that should be on the system but I'm not sure. Will give you more info asap.

kennyX

I think I found the error edit you makefile and change OSDWidget to osdwidget, will try to find out why this has happenned

kennyX

new package which should fix this and some other bugs are now available

Bags

yeah, it has been made. thank you.

maarizwan

But we can improve the default KDE's mediacontrol applet to support other players like xmms, mplayer, xine, etc.! we need to file a wishlist! Anyways good work, but invisible ;)

kennyX

support for xine, xmms and other non dcop service mediaplayers is still on my wish list, and should be do able if I know how to do good readout of either the proc filesystem or if I could get the information from kde it self. I have been thinking of making an applet as extra front end, but there are a couple of things that I have to make do/know before I can do that. 1. A new range of functions needs to be implemented, like getpossitioninfile(), and getTitleOfSong(). 2. would it be better to make a applet or an karamba theme?

Pling
0 Affiliates
Details
license
version 0.533
updated
added
downloads 24h 0
mediaviews 24h 0
pageviews 24h 0

More Various KDE 1.-4. Improvements from kennyX:

Xbgc
kennyX
last update date: 19 years ago

Score 5.0

Other Various KDE 1.-4. Improvements:

Slicker Debian Package for Woody
cirrusgr
last update date: 22 years ago

Score 5.0

Konqueror/kdesktop suggestion
PovMan
last update date: 22 years ago

Score 5.0

Biiig buttons
dbojan
last update date: 20 years ago

Score 5.0

Yet Another KControl
Frans
last update date: 21 years ago

Score 5.0

Next window and next/previos window
dbojan
last update date: 20 years ago

Score 5.0

Fantasie Toolbar
katoe
last update date: 20 years ago

Score 5.0