Jump to content

neddie

Members
  • Posts

    2095
  • Joined

  • Last visited

Everything posted by neddie

  1. Recently I had the problem where I wanted the directory listing of a directory on a remote windows machine. This was shared over the network, and in Konqueror it was very easy to go to the network, browse to the machine, open the shared folder and see the files. But I couldn't find a way of doing a "ls > filelist.txt" on this folder. The URL in Konqueror was something like "smb://name-abcdxyz/blah" which obviously isn't in the file system so I can't cd to it. And I couldn't see an obvious option in Konqueror to "open command shell here" for example. And nor could I show the contents in Konqueror in such a way that I could then copy the filenames... So I thought I'd need to mount it to use the console there, but when I tried to "add directory" it asked for the IP address and share name of the folder, instead of just showing me what it had just found... and I couldn't remember the IP address and couldn't see an obvious way to find it out so got frustrated. In the end I copied the contents of the directory (sadly a few hundred MB) to a local directory, did an ls there and then deleted the local copy again - but I can't help thinking there was an easier solution somewhere... anyone know what it was? :unsure:
  2. Never understood that about magazines, why 4th of March is almost time to bring out the April issue.Next thing you know, linux distros will be releasing their 2009.0 editions when it's still only year 2008!
  3. I was reluctant to install that gnome stuff (and its dependencies) and have extra daemons running, so I've continued to suffer till now. But today I just read in that free Linux Format magazine about gtk-qt-engine, and how you can use it to set gtk apps to use KDE settings. I did that (small install, no dependencies), and it seems to have done the trick! At least, I can't get it to fail right now and it's usually pretty easy... Thanks for the tip tyme, you led me to the answer!
  4. Came down in less than 4 minutes here - must be popular! weird that it's split up into so many pdfs, but it's quite readable. Very nice gesture to make it available too, no doubt they're hoping to generate some new readership.
  5. neddie

    World of Goo

    Very addictive indeed. I thought I'd be able to stop playing it when I'd finished the free demo levels, but then I found out about the OCDs... * gnashes teeth, shakes fist at "ode to the bridge-builder"... * :D
  6. An update, in case people are interested - I was given some other pdfs recently and this pdftk trick didn't work. It turns out these pdfs were encrypted using AES, which pdftk doesn't understand. The solution I found was to open the files in kpdf, and then print them to a new pdf file. Then the new pdf doesn't have any password protection so you can use pdftk for editing / merging / whatever to the pdfs as you wish.
  7. When you run that perl script on your machine, does it do what you want it to do? Because like I said, it doesn't appear to do what you want. Have you tried something like find /home/user/some/path -type d -mtime -2 to give a list of recently modified (not created) directories under the given path?
  8. Sorry, I don't quite get what this script is supposed to do. Do you know? It looks like the first line builds a string like "/home /home/user/current/working directory" But then when you loop through this, there's only one entry, which is the string itself, so there's no looping going on. Then you do some replacing, deleting stuff which starts with /cd, and then you append that modified string to the log flie. I don't get the point! :unsure: are you trying to list files here?
  9. Was it easy / straightforward? I thought I'd have a quick look at the upgrade instructions but there was so much in there and so much which I didn't understand, I haven't upgraded my Etch yet. I was thinking it might be easier / less painful to just do a minimal install from CD (which was how I installed etch) rather than try to upgrade... :unsure:
  10. That's not a gcc thing, (and certainly not a Mandriva thing), it's a bash thing. It evaluates the result of the call to pkg-config and passes that to gcc.
  11. Any idea why you're using "pkg-config" (something to do with packaging??) instead of the recommended "gtk-config" (something to do with gtk) ? Please feel free to retract this if the problem is in fact just a typo on the compile command ;) Edit: OK, my bad, you're right, it should be pkg. This changed apparently since gtk1. pkg-config is right. But I think it's a problem with your apostrophe - it should be a backtick. Try the command pkg-config --cflags gtk+-2.0 and see if that works. If it does, retry your gcc command but make sure you use a backtick ` instead of an apostrophe '.
  12. Yeah, it's interesting that they've got live Debian CDs this time, I think that's the first time they've done it.I've got the i386 gnome one and was playing around with it yesterday. Seems very slick. And I don't care too much about OOo3 because I still use 2 here on Mandriva 2008.1 (maybe I just don't know what I'm missing!)
  13. You may have missed it at the weekend, but Debian released v5.0, codenamed "Lenny" (the walking binoculars character in Toy Story). You can read more about it at debian.org (see news item) or slashdot.
  14. What?! Not for me, and certainly not when the files are moved within the same drive. Then, moving is much faster!
  15. Yeah but still the time it takes depends more on the number of files which have to be moved (assuming they're being moved within the same device) rather than the size, as the files themselves don't move, just the pointers to them. But the reason I suggested moving the directory (instead of moving each file in turn) is that even if there are a boatload of files in there, moving the directory just updates a single entry rather than one for each file. So it should be even faster.
  16. If A is empty apart from B, you could always do this: mv A/B . rmdir A mv B A But your way should be pretty fast, no matter how big the files are. The files aren't really moved or copied anywhere, just the directory contents are updated.
  17. neddie

    World of Goo

    Indescribable awesomeness B) This game, world of goo, is just beautiful. Great graphics, great animation, lovely sounds, and interesting puzzles. There's a free demo, or you can buy the full thing. It's difficult to describe but imagine a cross between lemmings and sodaplay and you come kinda close. Here's the link: http://2dboy.com/2009/02/12/world-of-goo-l...rsion-is-ready/ Just download the tar.gz, unpack it, and run the ./WorldOfGoo - it doesn't need root privileges.
  18. neddie

    KDE 4.2

    If anyone's interested, I wrote a few words about trying out this 4.2 live CD here. :)
  19. Maybe look at the nepomuk indexing stuff, see if that's configurable? </wildguess>
  20. Thanks again to all who helped - I'll bother you all again when I'm ready to release the next version! :P Now there's a chance for Portuguese, Indonesian and Romanian speakers to get involved too!
  21. Have you tried this? grep -l main * Is that what you're trying to do? I am guessing that bash is failing to expand your filenames properly, possibly trying to expand the ~ signs? Just a guess. And yes, I'm guessing that the echo is correct, just to list the files which contain the characters "main". But that's what the above grep command should do too. Even better, you can make it recursive to search a whole directory tree with "grep -Rl main *" if you want.
  22. I think it was version 2.x last time I used it, but I'm pretty sure that's how it worked, and that screenshot confirms it. Are you sure you don't get a dialog like that? Sure it's not hiding behind another window or something? Nothing hiding in the task tray? Are you using KDE / gnome / something else?
  23. You don't see any accept / reject call buttons? Like these? http://homel.vsb.cz/~voz29/team_2007-VoIP-...l_from_7151.png
  24. If you mean a webcam (rather than a normal digital camera which connects via usb) then just search this forum for "webcam" - there are lots of good threads in there. Just try plugging it in, and see what happens, does the light come on? (if it has one) do any apps recognise it, does anything happen in the logs?
×
×
  • Create New...