Jump to content

johnnyv

Members
  • Posts

    960
  • Joined

  • Last visited

Everything posted by johnnyv

  1. use the command glxinfo then look for the line direct rendering like so [john@bob john]$ glxinfo | grep "direct" direct rendering: Yes [john@bob john]$ if direct rendering is yes opengl drivers should be working if not that will be your problem.
  2. No but on the dosbox site they have a games listing with the working status of each game so have a look. Monkey island 1 & 2 are supposed to work. http://dosbox.sourceforge.net/comp_list.php?letter=a
  3. www.fpdf.org Has a good class for generating pdfs with php, no pdflib required.
  4. wow i was not aware of dosbox have used dosemu which works but not well for me, dosbox plays UFO terror from the deep really well woohoo :)
  5. Actually i wouldn't lump SUSE in there, they use proprietry yast to limit distribution. Debian, Mandrake, Gentoo, LFS, FC (some other lesser known distros) certainly but not SUSE in that group.
  6. the mysql database was on the same computer. 0.2 seconds was render time on the browser which is much less than script execution time of php/mysql. 5 seconds to grab the initial data is way to slow, there must be driver problems, you can pass and retrieve data from a mysql database about as fast as the mysql client if the drivers are good.
  7. What could MS do? Well nothing that wouldn't make their shareholders panic and cause the price of MS shares to plummet.
  8. Prelink is supposed to make programs with shared libraries open faster and use less memory. Anyone tried it out? just seen references to it now and wondered if anyone here had any practical experience with it? ftp://people.redhat.com/jakub/prelink/ http://www.gentoo.org/doc/en/prelink-howto.xml
  9. Oh by the way this is dangerous . files are usually configuration files so you can fsck up your box if you go messing with them. YOU HAVE BEEN WARNED! :P Oh and the script will overwrite files with the same name as your . file without the dot if you have write permission for that file. eg .cat and cat cat gets overwritten by .cat
  10. You think thats long look at this ;) but php is much much much much easier/faster to produce for me then sh scripts create a text file call it mv_hidden paste this into it: #!/usr/bin/php -q <?php if($_SERVER['argc'] != 2) { die("You must enter a directory as an argument!\nUsage: mv_hidden <directoryname>\n"); } $path = $_SERVER['argv'][1]; // retrieve the path argument // check path and make sure it has a trailing /, if not add one ---------------------------/ $path_length = strlen($path); // length of path string $path_length--; $path_last_slash = strrpos($path,"/"); // last position of / character if($path_last_slash === false) { $path .= "/"; } else { if($path_length != $path_last_slash) { $path .= "/"; } } //------------------------------------------------------------------------------------------/ echo "Path to search: $path\n"; $counter = 0; if($handle = @opendir($path)) { while(false !== ($file = readdir($handle))) { $type = filetype("$path$file"); if($type == "file") { if(strpos($file,".") === 0) { $new_name = substr($file, 1); $command = shell_exec("/bin/mv $path$file $path$new_name 2>&1"); if($command != "")// if we got an error display it { echo $command."\n"; } else { echo "$file --> $new_name\n"; $counter++; } } } } if($counter != 0) { echo "$counter files converted\n"; } closedir($handle); } else { die("'$path' is not a valid directory\n"); } ?> save the file then make it executable, make sure php is installed, place the mv_hidden in your $PATH some where (perhaps /usr/bin) Then cd to a directory you want to convert all .blah files to blah The command is mv_hidden /path
  11. I'm trying to do it via the command line but its hard, you can't seem to assign variables from within a pipe, least its not working for me, besides can you even use variables for the source and destination in mv. Will look into it further after i cook and eat dinner. [john@bob test]$ ls -a | grep -i -h '^[[:punct:]]\w' | xargs -i sh -c "(echo {} | sed -e 's/\.//g' -e 's/ /\ /g'; echo {})" cat .cat cathat .cat.hat hat .hat [john@bob test]$
  12. mv .* * would move all files starting with . (wont move . and ..) to the next directory eg) if you have a directory test/ and in test/ is a file .blah and directories test2/ and test/3 performing mv .* * in test/ will move .blah into the directory test2/ if you try mv .* * in a directory without any child directories it will result in an error about the last command must be a directory. Even if you only have one .name file it will always think there are multiple files because every directory has . and .. which are for directory navigation i think, and because there are multiple files mv always wants the second argument to be a directory.
  13. Have you checked your mixer settings?
  14. I have given rekall a try and although it is pretty similar to access in functionality it is way slow. For grabing 2 indexed columns from a table with 4000 rows it takes around 5 seconds. To contrast it takes a php script served via apache to a web browser around 0.2 seconds on the same hardware(just using the mysqlclient program the same query takes 0.03 seconds). Once the data is grabed then you can work with it on forms fine and fast but it is the initial grab that is a killer. Any ideas on speeding up data transfer?. As it currently stands i will definately stick with apache/mysql/php although rekall may still be good for report generation for me(and speed will probably improve in the future). xul looks promising as well, probably more promising but will not be a RAD.
  15. I'm assuming your refering to a direct connect client. Just use a linux one. http://dc.ketelhot.de/download.php plf has rpms for 9.2
  16. johnnyv

    Scorched3d

    www.scorched3d.co.uk Really fun game. Internet play aswell as lan and bots. I just used the redhat rpm but latter i have found a mandrake one on rpmfind http://rpmfind.net//linux/RPM/cooker/contr...-2mdk.i586.html if you have mandrake 9.1 you will need this aswell http://rpmfind.net//linux/RPM/mandrake/9.2...-3mdk.i586.html mandrake 9.2 comes with libwxPython on cd3 for both 9.1 and 9.2 you have to make symbolic links in the /usr/lib directory ln -s /usr/lib/wxPython/lib/libwx_gtk-2.4.so.0 ln -s /usr/lib/wxPython/lib/libwx_gtk_gl-2.4.so.0 the executable is in /usr/lib/games/scorched3d/ Tested in mandrake 9.1 and 9.2, works for me
  17. found the answer incase anyone wants to know /usr/bin/mozilla -mail mailto:"%t" worked in 9.0 without the mailto component, oh well i guess thats progress ;)
  18. Trying to get konquer browser to open mailto links in mozilla mail doesn't seem to work like it has done in previous mandrakes. Setting "configuration -> kde -> components -> component chooser -> mail program" to /usr/bin/mozilla -mail doesn't work, when you click on a mailto link in konq the mozilla mail window pops up not a message composition window. This worked fine in 9.0 but in 9.0 you used "configuration -> kde -> network -> email". Any ideas?
  19. kmenu -> configuration -> userdrake perhaps
  20. can you ping externel ip addresses? open a terminal window and type "ping 216.239.59.99" (google.com) without the " 's or 213.232.94.69 (mandrakeusers.org). If you can then it will be a name resolution problem.
  21. http://yanc.sourceforge.net/index-en.html the easiest way IMO to set up dual view etc for nvidia cards.
  22. I will just add that i have installed 9.2 on several more machines all good (all AMD's though). All in all i would say it is better for me than 9.1 (9.1 was harder to get running well initially) and i really liked 9.1 after i got it working. Supermount appears to work perfectly for once, but im sure it will break soon :P Upgrading should not be an option imo (at least not default and with dire warnings ;) ), so much changes between releases it is just to much of a hassle. I don't think Mandrake is perfect at all, but it is the most comfortable/productive/fun distro/os for ME so i use it.
  23. I use the original mozilla icon as i use mozilla and it's fine for me, it is just an icon after all.
  24. It's on my list of "getting a round to it" items.
×
×
  • Create New...