
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
[NEW RELEASE]
I have just made a new release (0.2), which incorporates a couple of new features... Those might need some bugfixing, so please e-mail me or whatever so I can fix whatever problem there might be...
[/NEW RELEASE]
KXmmsController is a little Kicker applet that can hide XMMS from your desktop.
It will make you able to control most of XMMS with four buttons hanging around
your panel.
I got the idea for this applet from xmmsctrl, a teeny console program which can do
basically the same (and a little more, which I didn't think was relevant in the GUI
version). I believe xmmsctrl is more meant for scripting and automation
purposes, while KXmmsController is for direct user interference.
Note: This is not a "frontend" for xmmsctrl (e.g. a program that calls other
programs and reads their output), KXmmsController communicates directly
with XMMS...
Hope you like it! Of course you will need XMMS and KDE installed for it to work,
that's basically it...
17 years ago
0.3:
- Bugfixes (icons now work with Crystal 0.9 icon theme).
- Added tooltips.
- Icons all over the place.
0.2:
- Added a "compact" option, making it possible to hide the previous, play, and forward buttons.
- Added an option to control whether XMMS should be hidden by default or not.
- Added Settings-dialog to control the above.
0.1: First release. Works flawlessly on my computer (running Gentoo Linux, KDE 3.1.4, Qt 3.2.1 and all). Please notify me of bugs.
17 years ago
0.3:
- Bugfixes (icons now work with Crystal 0.9 icon theme).
- Added tooltips.
- Icons all over the place.
0.2:
- Added a "compact" option, making it possible to hide the previous, play, and forward buttons.
- Added an option to control whether XMMS should be hidden by default or not.
- Added Settings-dialog to control the above.
0.1: First release. Works flawlessly on my computer (running Gentoo Linux, KDE 3.1.4, Qt 3.2.1 and all). Please notify me of bugs.
RND
17 years ago
xmms.cpp:154: error: (Each undeclared identifier is reported only once for each function it appears in.)
make[2]: *** [xmms.lo] Error 1
make[2]: Leaving directory `/home/rnd/kxmmscontroller/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/rnd/kxmmscontroller'
make: *** [all] Error 2
[root@localhost kxmmscontroller]#
Im using Mandrake 9.2 with KDE 3.1 and XMMS 1.2.9
Report
thormedia
17 years ago
The reason is, I have a large kicker, and the buttons for the kxmms are full size, so it dramatically adds to the width of my kicker.
If a systray one was avilable, it would be ideal, preferably just the one icon with a menu to control from there.
Hope this is something your prepared to do.
Many thanks!
Report
Cosine
17 years ago
If you want to write your own, I will gladly help. Really, programming against XMMS is really easy.
- Simon
Report
Cosine
17 years ago
- Simon
Report
Cosine
17 years ago
You can add the following line to your /usr/include/xmms/xmmsctrl.h to make it work...
void xmms_remote_show_jump_box(gint session);
You can also download the whole header file here:
http://www.ulsnes.dk/simon/xmmsctrl.h
I don't think it is possible to hide XMMS completely (i.e. from the taskbar), not without fiddling with KWin (I think), and I would say that is overkill... Besides, it would be kinda bugger if my applet crashed while XMMS was totally hidden (at least for users uknowing of killall...).
About size, you are right, it does need some space if your Kicker is large (or even Normal size), but for those of us running small or tiny Kickers, it is quite nice (IMHO ;-D). A grid is not a bad idea, however...
- Simon
Report
wjarosz
17 years ago
The first thing I noticed was how much space the damn thing takes up. I like to keep my kicker set as large, and this takes up about a 5th of my kicker space because the buttons are laid out horizontally. Perhaps you could change it to see if the kicker is big enough vertically to show the buttons in a grid for instance - like what the system tray applet does.
Secondly, I would recommend adding tooltips so that you can figure out what each button does if the icons aren't found. On my system, using crystal 0.9, what I think is supposed to be rewind shows up as a New document icon.
I would have liked to be able to hide xmms completely, so its not even visible in the taskbar when minimized, but it looks like you may have added an update that does that. I'll check it out.
I was able to get it to compile also once I commented out line 135 of src/xmms.cpp. However the jumpto command doesn't work now obviously. If this is compiling for you, then perhaps you forgot to include a source file somewhere. doing a grep for xmms_remote_show_jump_box only returned that one source file which calls the function.
thanks.
Report
Cosine
17 years ago
Programming is fun! :-D
- Simon
Report
Chromakode
17 years ago
Report
Cosine
17 years ago
I think the next step would be to implement some kind of config... I figure KConfig is the way to go, maybe I'll start working on that tonight.
The reason I chose not to make it only a single button is that I might as well have made a systray icon in stead of an applet. But, well, of course it shouldn't be hard to implement... ;-)
- Simon
Report
skrrytch
17 years ago
Report
emence
17 years ago
Report
Chromakode
17 years ago
Report
wjarosz
17 years ago
Report
Cosine
17 years ago
Could you give me some compiler output?
Report
Chromakode
17 years ago
xmms.cpp:135: `xmms_remote_show_jump_box' undeclared (first use this function)
xmms.cpp:135: (Each undeclared identifier is reported only once for each
function it appears in.)
make: *** [xmms.lo] Error 1
when i comment out line 135 it compiles and works fine :P
Report
Cosine
17 years ago
I'll post a link for a working version in the description.
- Simon
Report
thormedia
17 years ago
Is their any chance you can add a mode where it just make one small icon, and we can right click on it to get a popup list on controls (AKA Juk style), then it does not hog the systray!
Thanks
Report
Chromakode
17 years ago
Report