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_ 





Thursday, August 22, 2013

Don't become unglued, become part of Reglue.

[Edited and Updated to Reflect Changes in the main .iso file]


I'm honored to be able to freely contribute to the Reglue project.
(Humble bow) 
For What it's worth, the official OS of Reglue is SolusOS.

I've done up a re-spun Linux Mint 13 Cinnamon LTS DVD .iso file for the Reglue project. What this rather large .iso file has in it is a few extra educational packages vs the Stock Mint LTS DVD.  Oh, and I did take the liberty of putting a different desktop background on it that I fiddled into existence with the help of the GIMP. 

If you want something smaller for that old PC that doesn't do USB Boots or only has a CD Rom, I also created a smaller CD sized .iso of Mint 13 that you can get here. I Know I Removed:

LibreOffice-core, Tomboy Notes, Mono-Common, Java-Common, Braseo, Thunderbird, Banshee, and the GIMP. (On an offhand note, if you're looking for a 'buntu distro that fits on CD, you might want to take a look at Peppermint.) I highly suggest that you re-install the Java-Common packages, after install, even if you're not a LibreOffice user.

On Both of my re-spin Disks the user name is mint with a blank password.

Username: mint 
Password: 

You'll get the Gnome Classic Desktop by default. And, you'll have to use the terminal to exit the the Gnome Fallback mode, as it doesn't have a log off button ANYWHERE by default. Why that is, is beyond me, but it seem to be a horrible oversight. Horrible.
But you can exit the session with the command line [ gnome-session-quit ] to get to the login screen. 


You can choose a different desktop session from the log on screen, so if you don't get Cinnamon by default, try logging on with Cinnamon enabled. After all that was the point of this adventure, was for me to respin Mint 13 LTS with more packages installed by default, so that Ken / Reglue.org wouldn't have to install them on their project. 



If you plan on installing the larger disk .iso in a VM keep in mind that you'll have to adjust the default disk size from 8 gig to at least 9.

Some of the packages installed are

Google Chrome
Clementine
Audacity
Alarm-Clock
Cups-PDF
Gcompris
Tux Math
Tux typing
Inkscape
Play On Linux
Wine
Wine Tricks
Edubuntu  for Grade schooler
Solarium

And a few more, I didn't keep track of all of them. :/   One note of caution, due to having enabled the backports is that upgrading might seem a bit convoluted, once installed, run mintupdate, twice. If you make the mistake that I did, I logged back on with the Gnome Classic desktop and found myself with nothing more than the Computer Icon, and Home folder Icon. Luckily the right click on the desktop brought up the terminal in Nemo, so I could log off. Then log in with the Cinnamon Desktop. You might also want to make sure that you've upgraded the 

I did find that many of the file associations were not quite right either. Not sure if there was a way to fix that readily from Mintconstuctor, but it would be a good thing to fix. The Good and Bad of the new desktop is that I found that my Wallpapers weren't there by default any longer. They're easy enough to add, but it's still a sniggly pain. There are more wallpapers in the \root\reglue folder. A Ctrl-Right Click will allow you to add them at one time. Not sure if updating or DL the Theme's packages again would fix that issue for the default wallpapers. I think it might. One of the new features in the wallpaper options is to be able to chose a gradient background of two colors. I included two transparent backgrounds in the \reglue-extra folder along with some others so one could take advantage of that.  I can only get the desktop to resize properly in Gnome Classic mode, so here's a screenshot of that.



You can grab the larger Reglue LTS CinaNemo.iso here.

Enjoy! Comments here or on G+ are welcome. 

Saturday, July 27, 2013

The Untouted Tech of Vcards and QR Codes

This is a QR Code, This one holds vCard info.

I've got a question for you. Well, actually, I might have more than one.

  1. When was the last time that you used a vCard?  
  2. Do you know what they are? 
  3. Have you explained them to anyone else? 
  4. Have you sent or received them? 
  5. And, would you know how to share export/import them? 

vCards are a great little text files of contact information, if you want to really get into the study of them you might want to check out the wiki page about them.

QR codes can hold vCard info in an image, and with the proper bar-code scanner on your phone you can import the above image with the same info as the vCard. Very handy.  In fact, while writing this, I scanned the above info into my phone from the QR Code above.  It showed up on my phone as:

Ken Starks
Reglue
307 Ferguson Street
Taylor
Tx
76574
512-269-3115
ken@reglue.org
reglue.org

But I'm digressing into QR Code info, vs the old vCard text file.

OK, back to the vCard stuff, and why they're important and how they're different and better is some ways than a QR Code. vCards are still used in the old feature phones, and they're easy to text to someone. They're also easy to export (backup) them to an SD card or on your computer.  This can also be very useful if you've got a friend or family member that DIDN'T back up their info, and lost all of their contacts. Maybe even yourself. You can text or email them selected .vcf files from your computer and they'll be able to easily import those shared contacts (other family members perhaps?) into their phone. Keep in mind that if they have a lowly feature phone that texting them the info might be easiest way to share contacts vs email. Speaking of email one can also import vcard contacts into Gmail.

If you were to open up a vCard in your text editor you'll see that it looks something like this.

There's not a lot to them. It's worth the extra time and effort to get to know your phone so you can share them.  Granted a QR code and Barcode scanner might be the easiest way to import contacts, but when was the last time you had a folder full of QR Codes to scan or share?  Yea, me neither. 

There's plenty of sites to create QR codes, etc.  I used Moongate to create the above code. Are there better sites? Why?

So again, I will ask, when was the last time that you used a vCard or scanned a random QR Code?



Thursday, March 07, 2013

Ditched By Kate - Album Release.


One of my favorite people that I've met online has been Phil Rossi  (G+). I recall trying to listen to an a live streaming interview with him. I don't even know who was doing the interview, but this was pre-smartphone days, and I was trying to catch the stream while trucking through the bowels of Mississippi on my laptop and Sprint CDMA dongle.  I was able to catch most of it.  At the time, I think that Phil was celebrating the end of his book Crescent. (Amazon, and Podiobook) versions.

I'm not sure how  or when Phil and I connected, but Twitter comes to mind, but needless to say we conversed. Out of those conversations he also wrote a chapter in his Notes From the Vault Episode 15 (Audio) about a truck driver that get's stranded.  Phil asked me for some input to help him out on it, and I did.  He gave me a little nod with that, and I'm forever flattered.

Well, now, it's time for me to give a little nod to him, and his band, Ditched by Kate.  I'm not sure how Phil is able to have any kind of sanity, being a talented as he is, and his mind must be racing with ideas and talent, as he's also a very, VERY accomplished musician.


I for one, will be looking forward his bands release on April 4th.  It'll be available in all of the normal places.  I'll grab my via Google Play, but that's because I'm more of a Googler then anything else.  Please visit their site(s), and listen to and DL some of their soulful music.  They've got some weirdly cool tunes, and some good boogie woogie butt bumping tunes. Each track that I was able to listen to on their site sounded fresh, and well done.

Phil, and the rest of the Gang. Well done. Well done.
R_

Monday, December 10, 2012

Diggin' Salix 14.0 Xfce



One of my G+ buddies recently mentioned Salix OS, a Slackware Based Distro the other day, as he was putting it on some old hardware.  This was just about a week before a hard drive died on an old 256 MB P4 Laptop, that serves as a digital picture frame, and sometimes doubles as a remote "stereo" unit in our living room.

This laptop had been running Xubuntu on it, as I had wanted a light distro for this older hardware, but even that seemed a little heavy.  Another one of the challenges this machine poses, is that it doesn't have DVD drive, just CD-ROM, nor does it support booting off of a USB. It has only one 1.0 USB port on it.  So after searching Distrowatch for another distro, I decided on Salix. After all, someone else I knew spoke well of it.  I knew that I was going to get outside of my "comfort zone" with something that wasn't  Ubuntu / Debian based.  I figured I was up for the challenge. As it turned out, it wasn't that hard.

Aside from the need for the Broadcom drivers, for the WiFi to work, the install went smooth.  I did the "full" install, and also let it wipe out anything that might be on the drive. Had I not had a network connection via wire, it wouldn't have gone so smooth.

Next came the snigglies and snags for me.  Not having been baptized into Linux via Slackware, etc, and the floppy disk installs of the 90's, some of the struggles some of you long term Linux fans have triumphed over, I had to do some digging and learning to get the the rest of the system setup as I wanted.

I wanted to be able to view this machine via Remote Desktop Viewer on my Linux Mint machine.  After some trial and error, and some more errors, and trials. I got it setup.  I got x11vnc going on it, for it's VNC server. Once I got that installed via GSlapt, and added the proper line for it to autostart I'm now able to access the machine while it sits on the shelf where it normally sits.  For what it's worth, (note to self)  the line that one needs in the Applications Autostart is this:

/usr/bin/x11vnc -repeat -forever

If you don't use the "-repeat -forever"  it'll boot, and start the x11vnc server, but once you exit your first vnc session, it will not start up again. It took me a little while to get those two additional switches figured out.

Next, was to try and get Rhythmbox on it, as it was listed in Sourcery Slackbuild Manager.  But it failed due to dependency's not being met.  I intend to get back to figure out how to build from source, or at least get it on the system in the future.  The reason for wanting Rhythmbox on the system, is so far, Rhythmbox is about the best thing out there that works with DAAP music shares, or at least with the one on my NAS drive.  But since that failed to install out of the box, I went ahead and copied the music from the NAS drive to the unit. That backs up the music, something I had considered anyway.  Also Rhythmbox handles the Shoutcast Streams if one wishes to add a few to it. I usually do.  But, that didn't work out.  So had to stick with the default media player of Exaile.  Even though I don't need Rhythmbox on it now, it's a puzzle that I want to figure out. 

Exaile looked like it would work right, right out of the box, as it says it supports DAAP shares. But it didn't find mine.  It did work with a manual entry, so it's good to go. Also the Radio Streams didn't work. Audacious and VLC both can do those, so it's good. 

So, overall, I'd say that Salix 14.0 with XFCE is a winner.  Much snappier than it's Debian/Ubuntu based Xfce counterparts.  While I didn't get it EXACTLY the way that I wanted, or had expected, it turned out well for my purpose. 

As a standalone OS, for most people, I think that Salix would work well, it has LibreOffice, and handles network drives well. If you want to see a full rundown of it, check this posting out.



Saturday, November 17, 2012

Simple Time and Weather Conky Desktop

Systems installed on: Linux Mint 10, Mint 13 MATE, and Peppermint 3.  

Let me start this off saying that I'm not a Conky expert, nor can I provide a ton of help for anyone that runs into problems with this script. I also mention an error that I've getting at the end of the blog post, and would love to know how to get rid of it.

What I was after was a clean and simple Time and Temp display for my Netbook that sits on a nightstand. It's really a glorified Clock radio. And the end results I got and wanted were something like this. 


If haven't you already installed conky, and played around with it you will need to. For those that use the Ubuntu Repositories and PPA's this is how you do it. ConkyForecast and a few other conky tweaks are part of the "Conky Companions" PPA. 
sudo add-apt-repository ppa:conky-companions/ppa
sudo apt-get update
sudo apt-get install conkyforecast
Or Download ConkyForecast 2.24 for Linux from launchpad yourself.

Built packages
  • conkyforecast Weather forecast script with support for language files, for use in Conky
    Package files

Once you have it installed that should be it for conkyForecast, but should you want to modify it, or need to modify it you can copy it to your home directory from within the terminal with this simple command, and then edit it with your text editor.
cp /usr/share/conkyforecast/conkyForecast.config ~/.conkyForecast.config
I had to edit my .conkyForecast.config file, for fahrenheit instead of celcius temperatures, and I also removed a # mark on line 5 to make the .xml infor available to conkyForecast.


#=============================================#
# EXPERT SETTINGS, NOT REQUIRED TO BE ALTERED #
#=============================================#
BASE_XOAP_URL = http://xoap.weather.com/weather/local/<LOCATION>?cc=*&dayf=5&link=xoap&prod=xoap&par=<XOAP_PARTNER_ID>&key=<XOAP_LICENCE_KEY>&unit=i
BASE_XOAP_URL = http://xml.weather.com/weather/local/<LOCATION>?cc=*&dayf=10&link=xoap&prod=xoap&par=<XOAP_PARTNER_ID>&key=<XOAP_LICENCE_KEY>&unit=i
MAXIMUM_DAYS_FORECAST = 4

#===============================================#
# USER SETTINGS, EDIT BASED ON DOCUMENTED SETUP #
#===============================================#
CACHE_FOLDERPATH = /tmp/
CONNECTION_TIMEOUT = 5
EXPIRY_MINUTES = 30
TIME_FORMAT = %H:%M
DATE_FORMAT = %Y-%m-%d
LOCALE = en
XOAP_PARTNER_ID = 
XOAP_LICENCE_KEY =
DEFAULT_LOCATION = UKXX0103 
AUTO_NIGHT = False
PROXY_HOST = 
PROXY_PORT = 8080
PROXY_USERNAME = 
PROXY_PASSWORD = 

Now that you've got conkyForecast on your system, next all your should have to do is to create or modify your .conkyrc text file. This can be the tricky part.  Below is a copy of my .conkyrc file. OR you can download a copy of it from here

# Modified by RandyNose(.com) for simple desktop time and temp #
# Original code swipped from Conky Metro Clock by Satya #
# satya164.deviantart.com #


# Conky settings #
background no
update_interval 1

override_utf8_locale yes

double_buffer yes
no_buffers yes

text_buffer_size 2048

# Window specifications #
own_window yes
own_window_class conky
own_window_transparent yes
own_window_hints undecorate,below,sticky,skip_taskbar,skip_pager

border_inner_margin 0
border_outer_margin 0

alignment bl
gap_x 100
gap_y 100

# Graphics settings #
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders no

# Text settings #
use_xft yes
xftalpha 0
text_buffer_size 2048

uppercase no

default_color FFFFFF


TEXT
${voffset 10}${font Ubuntu Light:size=40}${goto 550}${execi 600 conkyForecast --location=44107 --datatype=CN --refetch}${voffset -10}
${voffset 10}${font Ubuntu Light:size=50}${goto 550}${execi 1800 conkyForecast --location=44107 --datatype=CT --refetch}${voffset -10}${goto 875}${execi 1800 conkyForecast --location=44107 -u --datatype=HT --refetch}
${voffset 10}${font Ubuntu Light:size=40}${time %A}${font}${voffset -10}
${voffset 10}${font Ubuntu Light:size=40}${time %B} ${time %e}${font}${voffset -10}
${voffset 10}${font Ubuntu Light:size=100}${time %I:%M %p}${font}${voffset -10}


Be sure to save the text file as .conkyrc in your home dir. The location setting that I have is 44107, my US zip code. I am going to guess that any valid US zip code will work.  If that doesn't work for you, try going to your city on weather.com and using the location code in the URL. OR try this posting to sort it out.

Now you should be all set to run conky at the terminal and test it out, and/or add it to your start up applications. 

I should also note, that I AM getting an error on my system when I run in the terminal. How to fix it at this point, I'm not sure. But maybe this posting will ferret out an answer. :) 
The error is this:


WARNING: gnome-keyring:: couldn't connect to: /tmp/keyring-nITDzm/pkcs11: No such file or directory
Conky: desktop window (180012f) is subwindow of root window (13a)
Conky: window type - normal
Conky: drawing to created window (0x2600001)
Conky: drawing to double buffer
ERROR: Server connection error: HTTP Error 503: Service Unavailable



Some of Sites that I visited while creating this post were:https://bbs.archlinux.org/viewtopic.php?id=139962http://ashu-geek.blogspot.com/2012/03/conkyforecast-224-current-weather.htmlhttp://ubuntuforums.org/showthread.php?t=869328http://satya164.deviantart.com/   He's also here: http://funsurf-blog.blogspot.com/