Archive for October, 2010


Linuxween!

Linuxween!

Happy Halloween Linux Users!
For the occation our friends over at Junauza.com have written a great Article under the title “Linux/Unix Horror Stories for Halloween”
Topics such as:
* Top 10 Firefox Themes (Skins) for Halloween
* 15 Scariest Tux Icons for Halloween
* Overcoming the Fear of Linux Terminal
So why not get in the mood and check it out!
http://www.junauza.com/2010/10/linuxunix-horror-stories.html

 

Happy Halloween~

PasteLinux

Salix OS 13.1.1Salix Os is a distro based on Slackware. Salix Os is an easy way to get into slackware. Salix OS make it more accessible for users to install and configure for user. Salix OS comes in Xfce or LXDE desktop. Meaning we will be using a fast lightweight desktop environment. I went with XFCE for this review.

What’s New In This Release

Salix LXDE edition 13.1 has been released! Based on Slackware 13.1, it features the Lightweight X11 Desktop Environment, “an extremely fast-performing and energy-saving desktop environment”, with a clean look and feel. The main applications that complete the LXDE experience are the lightweight and fast PCManFM file manager and the popular Openbox window manager.

As with the standard, XFCE edition, this iso allows installation to be performed in three different modes, core, basic and full. The core mode installation is identical to the one you get from the XFCE edition. Basic will only install a minimal LXDE desktop with only midori and gslapt installed as extra and full will install everything that is included in the iso. That includes the lightweight Midori web browser, that uses the powerful webkit engine and the Claws-mail e-mail client, along with the Transmission torrent client and the Pidgin instant messaging client. Also included are the Abiword wordprocessor, the Gnumeric spreadsheet and the epdfview pdf reader. The Whaawmp! Media Player is used as the main media application and is accompanied by the powerful Exaile music player/manager and the Brasero disc burning application. Viewnior is the default image file viewer and mtpaint can be used for editing them. The full set of the Salix system tools are of course included in this release.

Users are able to use the Gslapt package manager, or the command line equivalent slapt-get, to install extra software in their systems from Slackware and Salix repositories, with complete support for dependency resolution.

 

Installation:

Booting from a Live CD was easy. I also tested with unetbooten, which worked perfectly as well. So for your on to go OS’s this is one to add to your collection.

There are 3 diffeerent Modes of installation: Full, Basic and Core. Full installs everything included in the ISO. Basic installs only XFCE desktop evnironment. Core allows for a minimum essentials for a console system to boot up. For experienced users.

The Desktop


The Distro comes with an amazing looking boot up screen. Salix OS comes with a great look and feel. Plus since it comes in LXDE and Xfce its great for older/limited hardware computers. It doesn’t relay on Gnome or KDE so it wont take as much system resources.

Software Managemer:

Salix comes with a nice Software Management interface called Gslapt. It provides a decent amount of basic packages but if your used to ubuntus manager, its not as robust.

Media:

Flash is installed out of the box, so youtube wasn’t an issue. Another great feature about Salix is that it comes with the codecs that other OS don’t usually come with. Since they maybe illegal in your country.

Overall:

Its a fine and great OS based on Slacks. I do enjoy the use of Xfce so glad they provided that option. The package manager wasn’t the most impressive but it gets the job done. Personally i rather use Slax over Salix if i was to pick a slacks based OS. But if you want to test it out, i say yes! Take this opportunity!


8/10

Distribution Salix OS
Home Page http://www.salixos.org/
Mailing Lists https://lists.sourceforge.net/lists/listinfo/salix-main
User Forums http://www.salixos.org/forum/
Documentation http://www.salixos.org/wiki/index.php?title=Documentation
Screenshots http://picasaweb.google.com/salix.artwork • The Coding Studio
Download Mirrors http://www.salixos.org/wiki/index.php?title=Download

~Pastelinux

Like Posts like this? Why not grab the RSS feed to stay updated!

Looking to test out a Distro but don’t want to install on a cd or a hard-drive? Why not check out our Live USB store!

 

Intro to Pygame Part 1

Well i want more people to see how amazing python. To do this, i will create a few simple steps to creating your first python game.
To warn you, you need to know how understand common knowledge. Such as how to read, type and follow directions. Yep thats it, python/pygame is that user friendly that i think ants have developed a few python applications for linux.

Install:
Because i don’t run windows or Mac, i can’t show you how to install python or pygame. I am sure theres tutorials on the net to help you, but i don’t want to copy and paste anything which i have’t tested

Now if you run linux and/or a debian based OS run this:

Code:
sudo apt-get install python
sudo apt-get install python-pygame

If you run a different distro with out a apt-get repository, then check your local distro repository. example:(https://admin.fedoraproject.org/pkgdb/) on how to install. Or just check out pygame.org and download source.

Creating a window:
Creating a “hello world” was never that fun for me. So instead i am going to show you how to create a window. This way you are at least some (insert fake percent here) done with visual appearance for your game.
open up a blank doc and add this:

Code:
#! /user/bin/python
#above only valid for linux users 

import sys, pygame
pygame.init()

#Screen properties
size = width, hight = 500,500
screen = pygame.display.set_mode(size)

Save and run.
For linux users use terminal and type:

Code:
chmod +x filename.py
or
python filename.py

For windows users just double click your .py file

As you can see hopefully the window shows up and then closes its self.
This is cause everything you typed went through but there is no loop to make the window stay open for as long as you want  it. So we will need to add this at the end:

Code:
while 1:
for event in pygame.event.get():
if event.type == pygame.QUIT:sys.exit()

What this is, is it calls for a loop to stay open and allows you to close your window after your done.
with out the Event.type == pygame.QUIT:sys.exit()
your program wont ever close. It doesn’t know to  close. So keep that in there.
One thing i would like to make clear, TABS are important in python. thats how python gets away with out using {,[,( for calling if’s,for,etc.
I think everything you learn so far is quite self explanatory. But if you have questions don’t be afraid to ask.
For the full source of Creating a window: http://pastebin.com/cVBxXSHM

Creating a moving Image:
Now this part is great if you want to add a little animation. This is not a tutorial if you want keyboard movement
but its important you read this tutorial because without it your character movement that we will go over will not look the way you would wish. sorry to make you suffer like that but i believe its import you understand this moving image tutorial.
Anyway enough, lets start coding.
So we will be using the same information from above, if you didn’t follow along here is the source(http://pastebin.com/cVBxXSHM), but i prefer you read the intro.
above the while 1: statement add this:

Code:
#image loading
set_loading_name_here = pygame.image.load(“image.png”)
x = 0
y = 0

Where it says set_loading_name_here that will be the referance to the file you are loading
So lets say i have a picture of a fox, id want that part to say:
fox = pygame.image.load(“image.png”)
or what have you.
pygame.image.load is just the standard way to load an image.
Don’t worry about the x and y just yet.
if you save and load your python file now, you will notice it does not show an image, thats cause we need to call it in our while 1: loop.
So to do this we need to add this under our QUIT event:

Code:
screen.blit(set_loading_name_here,(coordx,coordy))
pygame.display.flip()

Now where it says coordx,coordy thats where you need to set the coords you want the image to show up.
for the purpose of this tutorial part please just use this:

Code:
screen.blit(set_loading_name_here,(x,y))
pygame.display.flip()

Now with out the pygame.display.flip() your image wont show up. this this is like what allows the image to display.
Now we can talk about the x and y you added earlier. These are the coords in which the image will show up.
so we set it to 0,0 meaning the image is going to be on x 0 and y 0.
So successfully we have created a window and an image.
But the point of this was to add animation. Animation is extremely easy.
Lets say we want to add our image to go across the “x” axis.
Just add x = x+1 under the screen.blit
if we want to also add a “y” movement, just add y = y+1
Save it and see how the image moves. Mess with it add some other variables.
This is were knowing simple alg2 can make your animations interesting
maybe try a x = x+1^5 have fun with it.
Now what did you notice? did our image just draw a long line of similar colors?
Well thats cause each time the image moves, it is read drawing its self. We never set it up to update and clear after each draw. Luckily this is simple to fix
Under your screen properties add:

Code:
black = 0,0,0

This sets the background to black. 0,0,0 is black in the rgb color scale. To give you a better understanding black is the absence of light. Meaning that this creates a transparency to our game.
You also have to add one more thing to get this working.
under “pygame.display.flip()” add:

Code:
screen.fill(black)

Save your file and test it out. Clean animation!
If you got lost or are a little confused here is a source of what we have done so far.
http://pastebin.com/aF8wNWTs

I hope you enjoyed what you have learned. Please wait for Part 2 soon.
Part 2 will cover:
– using A,S,D,W for moving an image
– Adding Sound
– Adding a background

until next time
Happy trails

“Seasons after Fall”, previously known as “Seasons”, is a 2D puzzle / platform game intended to be available on PC / Mac / Linux and consoles’ download services in 2011.

As a wild fox, the player travels across the countryside, through forests and rivers, taking advantage of the changing seasons.

Non-violent, poetic and even a little bit ecological, “Seasons after Fall” appeals to the player’s curiosity, his sense of discovery and reflection.

I must say the graphics are amazingly attractive and well done. It really does have this attractiv poetic theme to it that makes you want to play it to get away from stress and enjoy some relaxing seasons, nature, and hopefully music such as the one presented in the video.

Here are some screenshots of the progress of the development:

 

For more information, please visit their webiste:

http://www.swingswingsubmarine.com

Nabi is a simple way to type korean on your linux box. With a simple key switch you can change your keyboard from english to korean. The application stays on your menu panel and notifies you which input you are using.
A Korean X input method server plus imhangul status monitor
0.15-2: amd64 i386 powerpc. In addition, it shows the status of imhangul (GTK+ 2 input module) in System Tray (i.e. Notification Area).

If this sounds like something you would want to use then heres the install:
sudo apt-get install nabi

Now restart. Everything you turn on your system it will automatically start the nabi application.

If you do not wish to restart just yet then Press alt+f2 and type nabi.

The nabi butterfly icon will show up on the panel. Right click it to change its settings.

The way i have mine set up is under “Hangul” tab, i added left shift to switch in and out between the two languages.

I tested this on ubuntu, linux mint 9/10rc and mint fluxbox.

If you have any questions please ask below!
Thanks,
Pastelinux John Riselvato

 

0 AD

Howto: installing 0 A.D (Zero Anno Domini) on linux/ubuntu

0 A.Dis an open source Real time strategy game developed by wildfiregames. This game has extremely well done graphics and is a must for any gamer.

Since this game has very good 3D graphics, the requirements are kind of high too. The developers say that having an Geforce 4 or Intel 945GM graphics card or worse will give you very bad gaming results and therefore you are advised not to play the game if you have such a graphics card.

Installing:

1. Make sure you have svn installed. If not, install it:

sudo apt-get install svn

2. After you have SVN installed, you can then download the latest version of the game:

svn co http://svn.wildfiregames.com/public/ps/trunk/

Leave this terminal window open because the download will take a while and until the game finishes downloading, go to step 3.

3. Install needed packages for compiling:

sudo apt-get install build-essential libsdl1.2-dev zlib1g-dev libpng12-dev libjpeg62-dev libgamin-dev nasm libwxgtk2.8-dev libboost-dev libboost-signals-dev libopenal-dev libalut-dev libvorbis-dev libogg-dev libcrypto++-dev binutils-dev libnspr4-dev libdevil-dev libenet-dev libxml2-dev

4. Before compiling the game, you should install SpiderMonkey for better memory management. To install it, follow the steps below:
a) Download it:

wget http://ftp.mozilla.org/pub/mozilla.org/js/js-1.60.tar.gz

b) Extract the archive:

tar -xzf js-1.60.tar.gz && cd js/src

c) Compile it:

JS_THREADSAFE=1 INCLUDES=-I/usr/include/nspr OTHER_LIBS=-L/usr/lib make -f Makefile.ref && make -f Makefile.ref export

d) Move the files to their respective folders:

cd ../../dist/Linux_All_DBG.OBJ && sudo cp lib/* /usr/lib &&sudo mkdir /usr/include/js && sudo cp include/* /usr/include/js && sudo ldconfig

Compilling 0 A.D. (Zero Anno Domini)

Now everything is ready and we can proceed on compiling the game:1. In the terminal that you used to download the game (or open another one and navigate to the folder where you downloaded the game), paste this:

cd trunk/libraries/fcollada/src && make

2. And then change the directory to where we need to run script that takes care of the files needed for compilation:

cd ../../../../trunk/build/workspaces

3. And run the script:

./update-workspaces.sh

4. Now we can proceed to compiling:

cd gcc && make -j3

5. After the process finishes:

cd ../../../binaries/system

6. If all goes well, there there should be a file named “pyrogenesis_dbg” in this folder, which is the game. So you should now be able to run the game like this:

./pyrogenesis_dbg

Experts estimate that the number of open source applications available doubles every fourteen months. Sourceforge alone has more than 260,000 projects, and with so many open source apps now available from so many different repositories, it can be hard to keep up.

Today I am going to increase your software knowledge:

Networking:

1. No-ip

No ip is a great way to host a server on your computer while hiding your ip through there site. example 1.0.0.0 is your ip, no-ip hides it with servername.no-op.biz. Plus its usable for just about every OS.

Art:

2. Scheme Maker

Takes photos/graphics and turns them into patterns for knitting or cross-stitching. Do i smell some homemade pie and a sweater with Tux on it from grandma this year?

Programming/Dev:

3. Evolutility

This allows you to create web applications with out any programming base. Very simple to use and gaining alot of popularity

4. Game Editor

Another application that allows you to create something with out a programming base. This tool can help you make the next hit on the iPhone or other OS’s.

Games:

5. 0 A.D.

I am sure by now you heard this one. Its in alpha but seems to be on the lips of alot of linux users. Its a historical rts game were you build civilizations and battle others. Great graphics and works on windox, linux and OSX

Other:

6. timeEdition

This is a great time tracking app with minimal CPU use.

I’ll update this as i go along. Feel free to comment below and I’ll add your comment to this thread!

Language/study:

7. Anki

Anki is a great study tool. It has a flashcard base with sound. Perfect for learning languages, exams poems or music tabs. It contains a database of all types of study. Search for it and chances are theres a study pack. Personally i used it to learn korean it works fairly well. Plus it is free for windows, mac, linux, dbs, iphone, android and a few others.

Thanks,

Pastelinux

Xubuntu 10.10 RC Review

Xubuntu 10.10 RC

Intro
Just like how i test all distros, i ran unetbooten. I do this to test if it has the ability to be stable on a portable device and because i don’t have time to make CD’s, nor do i have a CD drive on my Netbook to do such. So anyways i ran a live usb version of xubuntu 10.10 RC. I figured why not test it out as a RC. Which for those who do not know what RC means, i deals with release canidates. Meaning its for testing to find bugs and other flaws before an actual release. Very similar to beta testing but everyone gets in.
When i finally got to booting it, i noticed that it was fast, clean and light for a general purpose of my computer. Which is great since i run a netbook. The appearance was nice and the user interface was fine. IT was easy to install and use. The difference before ubuntu and xubuntu is that xubuntu uses xfce instead of gnome. Which means it comes with a differennt set of applications plus a different feel and look. Which if your like me, staying away from gnome is a must.
Even thought its not gnome it still uses the same repositories as ubuntu so no need to worry about that.

Looking Deep:
I must say for a candidate form it was pretty nice looking and feeling. The system was running smooth. The panel toolbar was placed on top. Just like other distros it has a menu drop-down that contained applications. Firefox being the installed browser. the software center was also installed.

The colors were okay, the light blue wallpaper was a little weak to me, but the black bar and theme made up for it. luckily theres a dark blue wallpaper that really gives this classy look to it.

Overall:

Overall it was a fine RC. I didn’t actually test it for a long period but from a 20 minute interaction i was pleased. The web browsing was fast and simple vim/gedit editng was easy. The installation was easy and i didn’t run into any issues. It was a product of ubuntu so i wouldn’t expect less. I did like the interface, i am glad it wasn’t gnome, which make xubuntu xubuntu. Pretty solid Distro.
Rating: 9/10

Since 10.10 final is out theres no point in me linking the RC.

xubuntu-10.10-desktop-i386.iso  – Download

Home Page http://www.xubuntu.org/
Mailing Lists http://www.xubuntu.org/help
User Forums http://xubuntuforums.org/
Documentation Xubuntu Desktop Guide
Screenshots The Coding Studio
Download Mirrors http://xubuntu.org/get
Bug Tracker https://bugs.launchpad.net/


Installing Zenoss 3.0.2

What is Zenoss:

Network management – it’s not just routers, switches, and firewalls in today’s datacenters. More than ever before, managing a network means managing devices and applications on the network. Across the world, network administrators are consolidating physical servers to VMware, monitoring Active Directory performance, troubleshooting VoIP phone systems, and more. In a highly virtualized world with rapidly changing dynamic workloads and resource allocations, a continuous understanding of how a service or an application maps to and performs within the current state of the infrastructure configuration is imperative. It requires a very tight coupling and feedback loop between configuration, performance and events across the entire supporting infrastructure.
Dependencies:
apt-get install gcc
apt-get install mysql-server
apt-get install swig
apt-get install autoconf

Add Universe for apt-get:
vim /etc/apt/sources.list
deb http://ca.archive.ubuntu.com/ubuntu/ dapper universe
deb-src http://ca.archive.ubuntu.com/ubuntu/ dapper universe

Updated:
apt-get update
apt-get install apache2 php5-mysql libapache2-mod-php5 mysql-server (LAMP)
apt-get install build-essential (make,cc, etc)
apt-get install libmysqlclient15-dev
apt-get install python-dev

Add you ip address:
vim /etc/hosts
192.168.3.10 zenoss.mydomain zenoss

restart network:
/etc/init.d/network restart

Create user:
useradd zenoss

Zenoss installation directory and ownership
mkdir /usr/local/zenoss
chown zenoss /usr/local/zenoss

Set Environment Variables (.profile):
Login as zenoss
su
cd (home directory)

add this:
vim .bashrc
export ZENHOME=/usr/local/zenoss
export PYTHONPATH=$ZENHOME/lib/python
export PATH=$ZENHOME/bin:$PATH
export INSTANCE_HOME=$ZENHOME

Downloading the install:
cd /home/zenoss
wget http://downloads.sourceforge.net/zenoss/zenoss-stack-3.0.2-linux.bin

installing the install:
sudo ./zenoss-stack-3.0.2-linux.bin

If install messed up:
make clean

If it was successful load up your browser:
go to: http://192.168.3.10:8080/zport/dmd
username: admin
password: same password you set in the install

Then add the ip’s/servers you want to watch over!

Run zenoss at boot up:
cp $ZENHOME/bin/zenoss /etc/init.d
nano /etc/init.d/zenoss (add:)
export ZENHOME=/usr/local/zenoss
update-rc.d zenoss defaults 95

Good luck on monitoring your hosts/ips!
-Pastelinux

PSP With Linux Wallpaper

Ever want to build you own PSP game but didn’t know where to start? Well installing a pspsdk would be the best place to do this. A SDK allows provides you with everything needed to develop a psp game. With out it you wouldn’t be able to compile your source for PSP production. Note: You need Custom Firmware for your program to work. Also you need to know how to program in C++ or C to use this SDK Efficiently.

Tested on: Ubuntu, Fluxbox, Mint 9 and slax

First we need to install a few things:

sudo apt-get install build-essential autoconf automake bison flex \
  libncurses5-dev libreadline-dev libusb-dev texinfo libgmp3-dev   \
  libmpfr-dev subversion gcc

Download the install:
svn checkout svn://svn.ps2dev.org/psp/trunk/psptoolchain
This will create a folder named psptoolchain in your home. Keep it

Setting up the Environment:
With out this you can not start installing.
So edit your .profile file (located in the home directory).

  gedit .profile

Now add these line at the bottom of the file:
export PSPDEV="/usr/local/pspdev"
export PSPSDK="$PSPDEV/psp/sdk"
export PATH="$PATH:$PSPDEV/bin:$PSPSDK/bin"

Save the file.
Now in the terminal type:
source profile

Now for the install:
cd /psptoolchain
sudo ./toolchain-sudo.sh

This will take about 1-3 hours. (maybe less) but it take some time, so go out get some air, study your c++/C book, google psp homebew tutorials, then come back hopefully the install will be finished.
After the install is done, you will need to keep the psptoolchain folder on your home, so don’t mess with that.
You wont notice anything different about your system, no applicaiton installed or any physical psp tools. This pretty much allows you to compile your source for the psp to read. Have fun and enjoy making PSP homebrews.

%d bloggers like this: