mkc

Various KDE 1.-4. Improvements

Source (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
Score 50.0%
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:

13 years ago

### 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

pantelhs

13 years ago

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

Report

josep

13 years ago

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’

Report

C

kennyX

13 years ago

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

Report

josep

13 years ago

Thanks, it compiled now!

Report

maitre

13 years ago

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

Report

C

kennyX

13 years ago

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

Report

maitre

13 years ago

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

Report

C

kennyX

13 years ago

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.

Report

DaBlade

13 years ago

Does it work with a wired logitech itouch?

Report

lenooh

13 years ago

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.

Report

DaBlade

13 years ago

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?

Report

lenooh

13 years ago

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!

Report

C

kennyX

13 years ago

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

Report

xep

13 years ago

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

Report

C

kennyX

13 years ago

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.

Report

xep

13 years ago

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

Report

C

kennyX

13 years ago

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

Report

galactix

14 years ago

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 :)

Report

Bags

14 years ago

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?

Report

C

kennyX

14 years ago

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.

Report

C

kennyX

14 years ago

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

Report

Bags

14 years ago

yeah, it has been made. thank you.

Report

C

kennyX

14 years ago

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

Report

maarizwan

14 years ago

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 ;)

Report

C

kennyX

14 years ago

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?

Report

13 years ago

### 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

12345678910
product-maker Base: 4 x 5.0 Ratings
Be the first to comment
File (click to download) Version Description PackagetypeArchitecture Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
Pling
0 Affiliates
Details
license
version
0.533
updated Jul 01 2006
added May 28 2005
downloads 24h
0
mediaviews 24h 0
pageviews 24h 2