Sunday, November 09, 2014

For the Love of Goo, The World of Goo.


As many of you may know, I've been helping out Ken Starks with his passion of a project called Reglue.  I've been honored to be able to contribute to that project with the Respining of Linux Mint, and Kubuntu for his needs.  Reglue's been given the rights to take the World of Goo and put it into their desktop distro for the computers that are going out to the Reglue Kids. But somewhere along the line, (Ubuntu 12.10?) the game would install, but nothing happened when you'd go to run it.

** Crickets. ** 
Segmentation Fault 

Computers screens went black, and there was a massive gnashing of teeth.

One person, Alan, whet so far as to creating a great script (something that I wouldn't have been able to do as well has he did). He did a fantastic job.

MOM4Evr posts a how to fix it here (I'm sure there are others, but hers came up in my first search) 


libogg.so.0 
libvorbis.so.0 
libvorbisfile.so.3

download these 3 files:
http://2dboy.com/TopSecretTransfer/linux-libs64/
or:
http://2dboy.com/TopSecretTransfer/linux-libs32/

and replace those in

gksu nautilus /opt/WorldOfGoo/libs64/
or
gksu nautilus /opt/WorldOfGoo/libs32/

But what if there was simply an easier way to fix the .deb file, and not have to look for these files, or install them via a long script?  And why hasn't 2DBoy posted this fixed deb file, as it seems so simple to me? I don't have the answer for 2DBoy, but I did figure out the .deb file fix, and would have loved to have just posted the fixed deb file, but it IS a commercial game, so I don't have the liberty to post a link to the fixed file, but I will tell you how to fix it, so you can easily install it on your computer, and it'll be ready to go or whenever you re-install or upgrade your .deb based desktop distro you can just install this and go about other business. 

How to fix the .deb file. 
First you've got to "open it up".  I did this in my home folder. 

mkdir -p extract/DEBIAN
dpkg-deb -x WorldOfGooSetup.1.41.deb extract/
dpkg-deb -e WorldOfGooSetup.1.41.deb extract/DEBIAN  

**[...Copy the three Libs files...]**
Copy those three (Or 6 Library files, if you're going to do all of them) into their proper place in the .deb file that you just extracted.  And then you're done.
Such as  "/home/randy/extract/opt/WorldOfGoo/libs64"
Create your new .deb file. 

mkdir build
dpkg-deb -b extract/ build/

You should have a worldofgoo_1.41_all.deb file in your /home/randy/build folder. 

Now, install it like you would any other .deb file, and you're good to go. 


And before you go, I'd like to mention, that Ken IS currently hosting an indiegogo campaign, Deleting The Digital Divide One Computer at a Time. And even if you find this post AFTER his campaign, your donations would be STILL be MOST WELCOME

Tuesday, January 14, 2014

Droopy = Simple Home Web Server

So, just recently a friend of mine wanted me to check out how Droopy worked.  He had a busy day, and besides checking out this utility should take two people, or someone that has two ways to access the internet. I'm just doing a little update on what I found, and to answer some questions about how it's setup and used.  The page where I downloaded it from had enough information that even I could extrapolate how to get it setup and used.  This post is mainly to answer some of the questions that the setup page might have left unanswered.  http://stackp.online.fr/?p=28

I supposed that I ought to mention, that I am doing this on a Linux Mint 13 (LTS) MATE PC. I'm not sure if that will make a difference, but there is a possibility that if you're using something else, your experience will differ. Certainly your file manager might not be Caja, but most of the file managers allow you to do the same things.

As stated on the setup page, you can download (this opens in a new browser window) this is the text file that IS droopy. Just right click and save the file as droopy. I opened up Caja as root, as I knew I was going to need root access to change the file permissions, and to make it executable. I copied the droopy file to the /bin dir, and changed the permissions, and checked the box to make it executable. I did made the mistake of giving the file a .py extension, but it doesn't seem to need that.



You might also want to use an avatar.png file like the ones below, as the setup page suggests. It's up to you of course.

     

At this point you should be able to run droopy. I also created a /uploads folder off of my home folder. Open your terminal, and run the droopy command in your uploads dir like so:

$ droopy -m "Hey, it's randy. You can send me a file." -p ~/avatar.png

I was able to click on the http://localhost:8000 in my terminal, to bring up the web page as others should see it, and there's a handy bar at the top of the page that you can click on to get your web page address. That's the address that you want to share with others to get to your computer.



Mind you, you have to make sure that your router allows this. For this, you'll have to know your router's settings and how to allow others past your firewall.  If it's just going to be a one time deal, I suppose one could take the risk, and pull their whole firewall down, but I'd not recommend it.

If all goes well, and you don't have a friend to try this out on, you can always do what I did, and test it out with your phone.  :)


In any case, I had some fun testing this out, and learning a few things.  I hope this can be of some use to someone, and leave a comment if you're so inclined, or a note to me over on G+

R_ 





Issues with Linux Mint (or Debian Linux) and Xsane

#notetoself So, today, I was playing around with a new PC setup. And of course there was an issue with the HP Scanner. - I generally use Xsa...