Image 01
profile-image

HoKaze

James Wright Nottingham, United Kingdom
dockbarx menu button

GnoMenu Skins by HoKaze 2 comments

Um, it's been a long time so I'm not too sure but the gtk theme is probably "The days of greys" and the icon theme is definitely one of those on this page: http://gnome-look.org/content/show.php/black-white+2+Style?content=72619 - Jul 07 2010
WiMP Media / Web Player for Linux

Video Apps by shaji 20 comments

Thanks again for all your work but I'm afraid that even after starting clean with this version, I still can't use wimp:
-->> enter [wimp_startup]
---> WiMP Alpha1 0.0pre release 1 version 1.0
---> Welcome
---> Xine library version 1.1.16.3
<<-- leave [wimp_startup]
-->> enter [wimp_gui2]
-->> enter [wimp_gui_new]
-->> enter [wimp_gui_enhancements_new]
<<-- leave [wimp_gui_enhancements_new]
<<-- leave [wimp_gui_new]
-->> enter [wimp_gui2_init]
-->> enter [wimp_gui_enhancements]
-->> enter [wimp_gui_enhancements_equalizer]
<<-- leave [wimp_gui_enhancements_equalizer]
-->> enter [wimp_gui_enhancements_equalizer]
<<-- leave [wimp_gui_enhancements_equalizer]
-->> enter [wimp_gui_enhancements_equalizer]
<<-- leave [wimp_gui_enhancements_equalizer]
-->> enter [wimp_gui_enhancements_equalizer]
<<-- leave [wimp_gui_enhancements_equalizer]
-->> enter [wimp_gui_enhancements_equalizer]
<<-- leave [wimp_gui_enhancements_equalizer]
-->> enter [wimp_gui_enhancements_equalizer]
<<-- leave [wimp_gui_enhancements_equalizer]
-->> enter [wimp_gui_enhancements_equalizer]
<<-- leave [wimp_gui_enhancements_equalizer]
-->> enter [wimp_gui_enhancements_equalizer]
<<-- leave [wimp_gui_enhancements_equalizer]
-->> enter [wimp_gui_enhancements_equalizer]
<<-- leave [wimp_gui_enhancements_equalizer]
-->> enter [wimp_gui_enhancements_equalizer]
<<-- leave [wimp_gui_enhancements_equalizer]
<<-- leave [wimp_gui_enhancements]
-->> enter [wimp_gui_playlist_load_playlist_default]
-->> enter [wimp_gui_playlist_load_playlist]
[WiMP (3768)] warning: Cannot load playlist: Failed to open file '/home/flames/.wimp/playlist.m3u': No such file or directory
-->> enter [wimp_gui2_track_window_state]
Segmentation fault - May 23 2010
WiMP Media / Web Player for Linux

Video Apps by shaji 20 comments

It's nothing. Thank you for taking the time and effort to try and sort things out. Hopefully this time will be the one.
As always I've enabled debug and when compiling I get these warnings in addition to normal output:
make: Warning: File `Makefile' has modification time 1.6e+04 s in the future
make: warning: Clock skew detected. Your build may be incomplete.

This should be fine as I assume it just means the modification time of the makefile is ahead of my clock or something. I run wimp from the command line and get this:
-->> enter [wimp_startup]
---> WiMP Alpha1 0.0pre release 1 version 0.3
---> Welcome
---> Xine library version 1.1.16.3
Segmentation fault

Doesn't look good, huh? But as ever I try to run it a second time, which yields similar results to last time. Namely, the same error dialog coming up. Wimp's main window remained open for a few seconds before closing. Output at the end, when it closed, is as follows:
[WiMP (11857)] debug: Using audio driver auto and video driver auto
ctl_oss: MIXER_CAPS error: Invalid argument
ctl_oss: MIXER_CAPS error: Invalid argument
-->> enter [wimp_xine_vo_init_x11]
The program 'wimp' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadAccess (attempt to access private resource denied)'.
(Details: serial 7 error_code 10 request_code 2 minor_code 0)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the --sync command line
option to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)

So...if this was an X error I assume it's the gtk portion of the code? And as heads-up that I should have mentioned earlier, I'm running OSS 4.2 although I've got it setup so that anything that uses ALSA can still work normally. - May 19 2010
Process Priority Setter

Utilities by HoKaze 2 comments

I'm not exactly the expert on this but the idea behind all this is that you have a program running that you either want to go faster or slower. Say you have a video converter that's eating up too many of your computer's resources and the temperature is rising too fast (on laptops this can be an issue).
So we want to change how much of the CPU they take up, right? Decreasing CPU time means the video converter will now run slower, but not take up as much CPU or produce lots of heat.

So with this script it brings up a window displaying all processes from all users (I know it doesn't look very readable at the moment, I intend on looking into changing that). The idea is that you look for the process you want to change the priority of for the CPU. So find the process and look at its PID.
Type the PID into the box and then it will ask you for the priority. 0 is default and negative numbers like -5 can be used. Typing in -5 will make that process use more CPU whilst 5 would make it use less CPU.

Does this explain it? - May 18 2010
The "Start Menu"

Utilities by shaji 5 comments

I believe they weren't calling your program or the aesthetics of it ugly exactly but instead expressing dislike towards the windows XP look and anything that bears resemblance. I must say that personally I think yours looks better than the original XP start menu and all the almost-identical replicas people have made either through themes for existing menus (e.g. Gnomenu) or through their own creations.
Still, I can see why people would say it's ugly. certainly after having to see it in public for 9 years and endure the same login sound due to the mass public *twitch*. And personally, Window's default themes have always looked pretty cheap to me.
Yours, as I said, looks better than the real thing but a few people will likely dislike it purely on the basis of it emulating the appearance of windows (which is what you're trying to achieve here, for familiarity's sake)

I commend you for your efforts though, especially seeing as this is one of the only such "Start menus" that should be rather usable and fitting in the majority of window managers and environments. - May 14 2010
WiMP Media / Web Player for Linux

Video Apps by shaji 20 comments

I highly doubt that you're that bad a programmer. You're writing in C (it is C isn't it? That or C++?) when a lot of apps here are written in python or even through extensive use of shell scripts. You're using tools that are a lot older and thus we should really be expecting incompatibilities.
It's not your fault, so don't beat yourself up about it.

Anywho, tried compiling (with debug enabled) and make threw up some errors for a change:
"make: Warning: File `Makefile' has modification time 5.3e+05 s in the future"
and:
"make: warning: Clock skew detected. Your build may be incomplete."

This is a bit odd as make has always been fine compiling earlier. When running wimp from the command line this comes up:
-->> enter [wimp_startup]
---> WiMP Alpha1 0.0pre release 1 version 0.1.5
---> Welcome
---> Xine library version 1.1.16.3
Segmentation fault

So yeah...I don't think we're going to be able to run this on my system. I don't know if it's just the differences in libs or architecture or some combination of lesser issues but it doesn't look like it's going to happen, I'm afraid.
Still, thanks for putting in the time and effort trying to sort this out. I'll triple check that it's not a problem on my end.

-last second edit-
Tried running it again and we're getting somewhere. Terminal throws up
-->> enter [wimp_startup]
---> WiMP Alpha1 0.0pre release 1 version 0.1.5
---> Welcome
---> Xine library version 1.1.16.3
<<-- leave [wimp_startup]
-->> enter [wimp_gui]
-->> enter [wimp_gui_new]
-->> enter [wimp_gui_enhancements_new]
<<-- leave [wimp_gui_enhancements_new]
<<-- leave [wimp_gui_new]
-->> enter [wimp_gui_init]
-->> enter [wimp_gui_enhancements]
-->> enter [wimp_gui_enhancements_equalizer]
<<-- leave [wimp_gui_enhancements_equalizer]
-->> enter [wimp_gui_enhancements_equalizer]
<<-- leave [wimp_gui_enhancements_equalizer]
-->> enter [wimp_gui_enhancements_equalizer]
<<-- leave [wimp_gui_enhancements_equalizer]
-->> enter [wimp_gui_enhancements_equalizer]
<<-- leave [wimp_gui_enhancements_equalizer]
-->> enter [wimp_gui_enhancements_equalizer]
<<-- leave [wimp_gui_enhancements_equalizer]
-->> enter [wimp_gui_enhancements_equalizer]
<<-- leave [wimp_gui_enhancements_equalizer]
-->> enter [wimp_gui_enhancements_equalizer]
<<-- leave [wimp_gui_enhancements_equalizer]
-->> enter [wimp_gui_enhancements_equalizer]
<<-- leave [wimp_gui_enhancements_equalizer]
-->> enter [wimp_gui_enhancements_equalizer]
<<-- leave [wimp_gui_enhancements_equalizer]
-->> enter [wimp_gui_enhancements_equalizer]
<<-- leave [wimp_gui_enhancements_equalizer]
<<-- leave [wimp_gui_enhancements]
Attempting to load default playlist ...-->> enter [wimp_gui_playlist_load_playlist_default]
-->> enter [wimp_gui_playlist_load_playlist]
[WiMP (9272)] warning: Cannot load playlist: Failed to open file '/home/flames/.wimp/playlist.m3u': No such file or directory

on the second run and I now have a window and a dialog complaining that: "Cannot load playlist: Failed to open file '/home/flames/.wimp/playlist.m3u': No such file or directory"
I press okay and then both the dialog and the main window close. Looking back to the terminal this familiar bit has been tacked onto the end:
<<-- leave [wimp_gui_playlist_load_playlist_default]
[done]
<<-- leave [wimp_gui_init]
Segmentation fault

So before I despair I quickly create an empty file at /home/flames/.wimp/playlist.m3u to see if this stops the complaining. But this just segfaults it as it's not a real playlist and I don't actually have any real .m3u files lying around to test with, sorry.
So we've got some progress but it is looking unlikely still... - May 13 2010
WiMP Media / Web Player for Linux

Video Apps by shaji 20 comments

(for some reason it's not letting me reply to your last comment >.<)
Don't apologise, I chose to download it that many times to test your changes and report back to you. I brought this on myself :P
So I tried again with the usual (debug enabled, clean source, etc) and decided to run it a few times to confirm but no dice. Ran with the exact same errors as last time.

I'm thinking that the big differences in library versions are the issue and it's not going to be something that you can fix easily if at all. There are just too many differences between the 2004 libs and more modern ones. 6 years is a long time (although I'm aware that the versions I'm using are probably a bit outdated by a release or two now).

Still, thanks for all the effort ^_^ - May 10 2010
WiMP Media / Web Player for Linux

Video Apps by shaji 20 comments

Thanks for the changes. Deleted the old source and downloaded the new one. Changed definitions.c again to include debug, and compiled fine as usual. Upon running wimp I got a bit further and some more output:
-->> enter [wimp_startup]
-->> enter [wimp_get_pid]
List of functions called follow ...
./wimp:session.c:74: g_getenv ("HOME")
./wimp:session.c:88: g_build_filename ()
./wimp:session.c:91: g_file_test ()
** Message: Hello flames!

Welcome to WiMP. Please read the included documentation to make your program experience even more complete. Have fun!
-->> enter [wimp_log_pid]
Segmentation fault

It's a shame as I'd quite like to test out your media player and give you some proper feedback on the application. I suppose I could give the i386 version a shot using IA32-lib but that tends to be a pain as I've then got to download all the 32-bit versions of the libraries needed >.< - May 10 2010
WiMP Media / Web Player for Linux

Video Apps by shaji 20 comments

Thanks for the quick reply. I edited definitons.c like you asked and again, it compiled without error. When attempting to run it now displays this on the command line:
-->> enter [wimp_startup]
-->> enter [wimp_get_pid]
Segmentation fault - May 09 2010
WiMP Media / Web Player for Linux

Video Apps by shaji 20 comments

For the "Linux x86 binary" it would be nice if it said specifically which architecture it was compiled for. These days i386, i486, i686 and x86_64 are all common for different distros and developers to compile for. Some supply only i386, some deal with i686 and x86_64 and then some deal with a mixture. Picky maybe, but it helps users know if they can run it on their ancient hardware or not and let's 64-bit users know that they'll have to chroot it or use IA32-libs.

As for the media player itself, I'm sorry to say that I was unable to test it. I tried compiling from source (I have build essential, all the gtk2-dev libs and libxine-dev) and it compiled fine but running wimp just gives me "Segmentation fault" with no other info.
OS is Linux Mint 8 (based on Ubuntu Karmic) 64-bit, kernel is 2.6.31-21-generic. - May 09 2010