Google+ open-source construction Google+

Monday, December 12, 2011

How 2: take screen-shots with Linux.


Many of you have probably noticed how many screen-shots I use within my Blogs, so I have decided to demonstrate just how easy it is to capture screen-shots on a Linux Operating system. 


Most of the time when you want to take a screen-shot of your desktop, you want to either take a picture of either your whole desktop or an individual window. In order to do this you will need to Learn two hot-key keyboard combinations.

hitting the print screen button by itself will take a simple screen-shot of the entire desktop. This is usually abbreviated as "prt scr".

If you are on a smaller computer, the "prt scr" might be a dark blue colo, which is the case on my LGx120 netbook. So when I want to press the "prt scr" key on my netbook I have to hit the "fn" + "prt scr" keyboard combination to trigger a screen-shot of my desktop. On my net-book the "prt scr" button is inegrated with the "pg up"(page up) key.
The next key combination you will need to Learn is the what triggers a screen-shot of the active window on a Linux computer. The key combination is "Alt." + "prt scr". Which also means that if I want to take a screen-shot of an active window, while using my net-book; I have to hit "fn" + "alt" + "prt scr".
What happens next, is what makes taking screen-shots in Linux so much easier than windows. In windows the key combinations are the same, but what happens after a correct key combo press is very different. Watch what happens in Linux:

a screen-shot save preview window, of me starting to write this Blog within Blogger.
Now you may think that I have an incredibly expensive wide-screen at home. This is actually a dual-screen desktop PC, thanks in part to my friend Robert who gave me a second monitor.

If you want to know how to configure you Linux PC, with a dual-screen setup then please check out a previous post here.

If the save in folder is where you want to save your picture, then just click save. You could also just hit enter, or hit "alt." + "S". If you want to save to a different folder, like the a folder that you create just for a series of screen-shots; then select other from this drop down menu.



Windows in contrast does not give you a preview window, of the image you just captured. This confused me when I first learned the windows way. Windows assumes that you already have a window open that you want to place the image in. Once a program is open like an office document, or the GIMP on windows then you paste it in. You can do that with the "ctrl" + "V " keyboard shortcut, or right click and select paste from the context menu options. For a better explanation than I can give please click here.
Wilber the GIMP mascot.

I sometimes choose to use the (GNU Image manipulation Program) to crop, and re-save my pictures.

Here is a short, and simple video that describes how to crop, and re-save an image that you have captured using the GIMP.

 

 Now that will cover your needs 98% of the time. But what if you want to capture a menu in action. You may want to show your viewers what the menu looks like, that you are trying to describe. In Linux you cannot take a screen-shot while there is a window menu active. You also cannot take screens of tool-tips.


That is where the screen-shot tool shutter comes into play. There are many things that you can do with shutter that really help you speed up the screen-shot process, if you are like me and take tons of screen-shots.

main shutter application of shutter.
Shutter features:

  • Screen-shot session management.
  • Blur sensative data from pictures.
  • Highlight important data in multiple ways. 
  • Crop your selected picture.
  • Set a timer for when to snap the screen-shot.
  • Select an active menu, or series of menus for a screen-shot.
  • Select an active tool-tip for your screen-shot. 
  • Upload to an FTP file server.
  • Upload directly to your Ubuntu one account.
  • Choose whether or not to include the cursor in your  screen-shot.
  • Choose to let shutter handle your key-board combinations, for screen-shot. (aka..."prt scr" && "alt" + "prt scr")

Shutter is included in both the Ubuntu/Linux, and Linux Mint repositories.

Although the preferred way to do this is through the Linux terminal. That way when a new version is available you will have access to it right away. There is generally a lag in time between when a new version is posted to a repository, and when it is available for your distribution's software manager.

If you wish to earn geek credit, and get the newest application updates as soon as they are released; then do the following:

"ctrl" + "alt" + "T" ~ Launches a terminal window
 copy and paste the following commands into your terminal:
 $ sudo apt-add-repository ppa:shutter/ppa
press [enter] when you reach this screen to add the PPA.

{enter password when prompted, and hit return}
gpg keys are encryption keys that verify your software is malware free, and was not corrupted during download.

$ sudo apt-get update && sudo apt-get install shutter
**you may need to type a [y] if prompted.**
 I truly hope everyone who has read this post, has learned as much as I did writing it. It is highly likely that I will write a follow up post on the screen-shot tool "shutter".

Sunday, December 11, 2011

DJL-Linux gaming evolved


I have heard many people think that there is no good games for Linux. Now I could get furiously mad, because I know the truth; or I could just show you truth.

Featurs:
~Inspired by Valve's Steam platform for windows.
~simple install_I will walk you through it.
~works on any Gnu/Linux distribution.
~has 156 current games as of this writing.
~written in python 2.5
~Licensed under the GNU public license, so it is fully open-source.
~allows for easy one-click install/un-install of games.
~Through the use of plugins allows for in-game chat on certain games.
~98% of the software has a free-ware or GNU public license.

Easy install:

step one:

click on this download link to download the compressed archive. I recommend saving this file to your Downloads folder within your User's home folder.



step two:

uncompress the archive. To do this simply right click on the compressed archive, and click "extract here".

step three:

navigate within the newly created djl folder. next right click anywhere in that folder, that is not a file or folder. In the context menu that shows up, you will need to click "open in terminal".

step four:

type in the next command:

$ sh djl.sh

***Please note that you may need to input this command into your terminal before step four will complete successfully and launch djl....$ sudo apt-get install python-Qt4***

**Also note that in my Linux mint 12 install I had to click the button on the main screen of djl "add a shortcut on KDE/Gnome panel".** 
step five: 
Install games.
Next click on the repository tab.  Once you have found a game that you want, all you need to do is to click the install button. to watch the downloads/installations click on the Downloads tab on the far Left of the screen.

notice that I am downloading to install the game Wolfenstein: Enemy territory.


Now I would like to show you some of my top ten favorite games within the djl game manager.

open sonic-A well done sonic the hedgehog game licensed under the GPL.
This game has an innovative tag team system.



smokin-guns-A firt person 3D shooter game in a spaghetti western style.





Alien-Arena-A 3D FPS, where you destroy random aliens.





ASCIIportal-A 2D portal game, that looks like it came from the days of the comidore 64.




digital paint paintball- A paint-ball 3D FPS.



Neverball-A 3d ball rolling game. you control the tilt of the landscape through your mouse/tracpad, while you try to get enough stars, avoid obstacles, and finish by ending in the finish hole.





NeverPutt-A 3D miniature golf game similar to neverball.





warsow-A cell-shaded 3D FPS game. Also available for mac or windows, so your friend's can play along.




super tux-kart-a fun little game similar to mario-kart in play style, but with open-source mascots for characters.





racer-a great Racing simulater, that started as a driving simulator. This game was based on the source code from the open-source racing game torcs.



djl home page
djl description
Download djl

list of available games on djl game manager

Thursday, December 8, 2011

turn your laptop into a modem with Ubuntu(Linux)


How to turn your Ubuntu laptop into a modem




There are many good reasons that you may want to turn your laptop into an Internet source. Maybe you have a friend who comes over, and you want to share your Internet, without giving him/her the password. Maybe your a computer tech. like myself, and don't want to enter your wifi password into a customers computer. 

Step one:
 Click on the "system settings" on the Unity tool-bar on the far right side of the desktop. When you hover your cursor over the tool-bar the "system settings" notification bubble will appear.

click "System settings" box.
 
Step two:
Click once on the Network button, in the system settings menu.
 Step three:
During this step you will need to click the configure button to advance to the next menu. 

Please note that at this step if you do not have a cable connected to another computer, the configure button will be greyed out. Any time something is greyed out, you cannot select it.

Ubuntu shortcut: Click on the Network icon in the top tool-bar, and scroll all the way to the bottom to select "edit connections." That will bring up the next window.
click "edit..." button on the far right middle of the screen,
while "wired connection" is highlighted. 
 ***Please note that if you Use the Ubuntu shortcut you will not need to worry about having a physical cable connected, until after a the reboot during step 6.***
Step four:
Click on the "IPV4 settings" tab down below.

 Step five:
Use the Method drop-down box to select Shared with other computers.

Automatic (DHCP) is the default option, that you should change.

What your settings should look like before you hit the save & restart.
 Step six:
All you have to do now is save, close all running programs, and restart your computer. Once you have restarted your computer you can feel free to use your Ethernet port just like a modem, provided you are connected to a wifi, or mobile broadband NT. I tested this with a direct connection to my desktop computer, and also connecting through a four port hub, that I had laying around. If the connecting computer is a windows box it should connect automatically, and if it s a gnome 3 box you might have to click wired connection toggle switch in the network applet. This should work on any computer running any version of gnome 3, although I only tested it on Linux mint 12. Also on Linux mint 11 and below, you can use the Ubuntu shortcut.

 

Google+