Hi.. Actually, I have created some pretty rudimentary KDE2 tray .ui that sits in tray and allows user to Play/Pause and Next,Prev the songs. It's rea nice if the player is running in different desktop - the tray is common to all desktops. The ui itself runs as "secondaryUI". Of course there are some issues, but currently I can't really fix them. I have created a readme file for the UI - it's attached. If you read it, you might become interested... I attached the archive with source files and patch for Make process (needs some guidance) in Bugzilla under bug 1250. http://www.freeamp.org/bugzilla/show_bug.cgi?id=1250 Hmmm I had to put it under Linux FreeAmp UI component... -- Valters "WaTT" Vingolds ... self improvement is masturbation. self destruction might be the answer.
kdetray: a UI plugin for KDE2 implementing interface on tray. Why it's useful? ~~~~~~~~~~~~~~~ 1) Icon on tray is easily accessible from all desktops 2) Fast'n'minimalistic 3) It's a step in direction of integration into kde How to compile ~~~~~~~~~~~~~~ Patch Makefile.in and Makefile-plugins.in and Makefile.header.in with kdemake.patch. (I hope I did not forget something... write me email if it won't work) Re-generate makefiles. Before compiling freeamp you need to modify Makefile.header KDEINCL= line and Makefile-plugins KDELIBS= and MOC= lines and write the correct paths there. (i assumed KDE2 is in /opt/kde2 and QT is in /usr/lib/qt2 - that's where Suse7 puts them) Known bugs ~~~~~~~~~~ 1) Problem deinitializing. I just can't figure out how to quit it once it has started. See line 148 of kdetray.cpp (as of 25 Jan 2001) - there's some #ifdefed code. The proper shutdown just won't work. kdetray.ui keeps crashing with SIGSEGV (at least that's what KDE2 is thinking and dr.konqi says... oh and lately i have messed it up so much dr konqi won't even run). Probably KDE calls some routine in kdetray.ui after the object has already been deleted. (maybe I am not disconnecting some signals? hmm) 2) The tray icon I made is unspeakably ugly. If someone just could convert windows .ico to .xpm and replace the current xpm. 3) ToolTip does not show up when song is first changed in 'main ui' and you hover the mouse over tray icon. In order to for tip to start showing one has to fiddle with tray icon a little - left click it or right click it, then tooltip starts appearing. No idea why such behaviour. Maybe toplevel.cpp should set some 'focus' in code or something. 4) debug prints everywhere. oh, but that's not a bug... Wishlist ~~~~~~~~ 1) Make architecture is not right. This here UI takes compile requirements of Freeamp to extreme - for it to compile you need to have QT2 and KDE2 (and their brother) installed. Basically, it makes no sense to compile it as part of regular FreeAmp. It should come with it's own makefile and ./configure should detect if KDE2 is installed and then opt compile if this UI in. Probably similar setup should be used for building CorbaUI and other 'integration' ui's. 2) Tray applet. Make tray applet which could show cool visualizations. Kudos ~~~~~ based on code of cmdline.ui (ok, which .ui was -not- based off that? ;) based on code of tee cooker toy of kde2. Valters "WaTT" Vingolds email: [EMAIL PROTECTED]
