Google+ open-source construction: mint Google+
Showing posts with label mint. Show all posts
Showing posts with label mint. Show all posts

Monday, December 19, 2011

Sore with SUSE...



I decided last night that I wanted to check out OpenSUSE gnome on my desktop computer. The reason for this was that I wanted to play around with the gnome extensions web-site, and create a really custom UI(user-interface). I have the gnome 3 UI on Linux Mint 12 working perfectly, but I cannot install extensions directly from the web-site. The web-site tells me that I need an updated version of gnome.

I honestly did not know what to expect from OpenSUSE. I have read some recent reviews that had pointed to openSUSE in a positive light, and I wanted to give it a try.

The First thing that blew me away was that it had a really cool graphical Holiday boot menu.


I thought this was a good sign, and that I would be able to install , and test the newest version of gnome 3 shell without a hitch. The problem is that I was wrong.
There was also another shocker that came with this install, and that was having to agree to a software agreement. I haven't had to do that since the last time that I installed an OEM version of Microsoft.

There were two main problems with OpenSUSE. For starters I was unable to boot into the gnome 3 shell, and was forced to boot into a gnome 2.3.+ fall back mode. My computer is by no means ready for retirement. I have an Nvidia mobo chipset, 2gb RAM, dual core ATI 64  bit CPU(although I chose to install the 32-bit version, because I only have 2gb RAM), and an Nvidia Geforce 210 1gb DDR3 GFX memory graphics card. I am taking this to mean that gnome 3 is not ready for all the hardware out there. I am doubting there is much I can do about this, except for be patient; and wait for the Linux community to code better gnome 3 hardware support.

Also when the install had finished I was greeted with only one Operating system, and that was the Non-working OpenSUSE. I have a half dozen other Linux distribution's installed on this PC, for various purposes. So what I chose to do was to re-install peppermint OS, because I had decided to try btrfs on it, but was not given the option to boot from it. I had assumed this was because Linux Mint 12 was unable to see the peppermintOS btrfs file-system.

I have not given up on NovellSUSE, but I am going to do more research, before I attempt to do another install. Perhapse I will try a KDE install next time. The only KDE OS I am running currently is Kubuntu on my net-book, which is working out quite well.

Friday, December 16, 2011

Increase your update speed using Linux Mint: apt-fast script




I just wanted to write today about how you can use a simple script to increase your update times. Speeds, up to four times as fast have been reported using this script. It is ridiculously easy to install this script, that any script kiddie can use it.

First of all you will need to install the axel download framework. So your first step to installing this script is to install the axel framework, from the terminal.



$ sudo apt-get install axel

After which you will enter your user password, press "enter", and also press "y" when prompted. After which you will just wait for the "$" prompt to appear, that signals your software is installed.

The rest is really easy. Start by downloading the script from this link, here. Make sure to download this to a place, that is easy to remember.

Next go to that location. I often right click on the Firefox download manager, and select "go to location".

Next you will need to place the script into the /usr/sbin folder.

If you still have your terminal open you can use the following commands:


$ cd Downloads

 ~cd is much like it is in the DOS command line shell from MS, because it stands for change "Change Directory", and performs the same function. 
$ sudo mv apt-fast.sh /usr/sbin/apt-fast
~sudo is needed to add, remove, or modify files within system file directories.

~mv is the command for moving a file for one place to another. This is the same as cp(copy), except that after the copy from place A, to place B the file is deleted from the original location.

~when using a mv, or cp command the first file name is the original name/location of the file. The location of the file was not used in this command because it is assumed, that you are already located in the directory(folder); that contains the script file.

~Notice that the second file has not ".sh" extension @ the end of it. This is how files are renamed within the Linux terminal, by the destination being different from the original file.

The main benefit from this command is that you can move the script to the correct location, and rename it at the same time.

You will also need to add permissions for the script to be executable with the following command.

$ sudo chmod +x apt-fast

 Now for the GUI(graphical User interface) way of doing things.

(this assumes that you downloaded the script to your Downloads directory(folder), within your User home folder.)

Step 1)Change the file name to just apt-fast.

*Downloads is the default location for your Firefox downloads.*

First rename the scrip to just apt-fast.
 
After the following screen, just move your cursor to the end of the line with the "end" key, or three presses of the arrow key. Once your cursor is at the end of the file name, then just simply press the backspace key three times. This will get rid of the .sh file extension. After you have done this press the "enter" key to finish renaming the file. By the way this is the same way you rename files in Windows.

Step 2)Change the permission of the file to allow for the execution of the code.

This involves a few simple clicks. First you will need to right click the menu, and select properties, at the bottom of the context menu.

PRO USER TIP: context menu
                          keyboard- shortcut.

"shift" + "F10"

*This will only help if the file is selected(highlighted)*

Then the following menu will appear.





Now you will need to click on the "Permissions" tab. The "permissions" tab is located in between the selected "Basic" tab & the "Open with" tabs.








Now all you need to do is to click the check box "Allow executing file as program", and click close the window.



To open up Nautilus with root privileges, you will first need to open the run dialogue, and then type in the following command:

"alt" + "F2"
gksu nautilus
Make sure to substitute <your_user_name> with the user account you are logged in under. If not you will not find the folder when you open Nautilus with root permission. 

This will open up a nautilus file manager with root power.

Enter your password, and select "OK".


Next you will need to navigate to your users Downloads folder.

From this screen there are two ways to navigate to the "/" of the file system. You could either use the keyboard shortcut "alt" +   <up arrow>, or you could click on the little Less than sign, and the small hard drive that appears.
select the highlighted home folder.
 You will find a folder within this "home" folder, that is named <your_user_name>; that contains your "Downloads" folder.

I have two user folders within my "home" folder, because I have separate user accounts for me and my roommate. 
PRO USER TIP: In order to use the split view for easy drag/drop of your files within nautilus you can use the "F3" key to toggle split pane view, or navigate the view drop-down menu and select "extra pane". When you are in split pane view the window that has a white background, is the one that is active.

Now you will need to double-click the "Downloads" folder. 

Now that you are within the "Downloads" folder as root, you will need to right-click & select the copy option. 

 
Now you will need to navigate to the / of the file-system, before navigating to the /usr/sbin folder. You can do this by selecting the small Hard drive icon, just to the Left of the home button. From here you will need to double-click on the "usr", and "sbin" folders in turn; until you end up at the following location.

Click through the highlighted /usr folder, and also double click the /usr/sbin folder within the /usr folder. Make sure not to put it in the /sbin directory on the base of the file-system.
congratulations you finally found the /usr/sbin folder.
Now you will need to right click anywhere that is not a file, until you find the following menu; and select "paste".
 
Now your apt-fast script is installed, and here is how you use it. When you would normally use a command like apt-get update, now you will use apt-fast update. It is that simple. 

Let's open a terminal to check it out:

"Ctrl." + "alt" + "t" :opens a terminal window, without having to search for your distribution's terminal program within a burred menu.
PRO_User_TIP: Notice how I added the apt-fast upgrade, and the apt-fast upgrade commands together with the double ampersand symbols; so that I don't have to wait for one command to complete before starting another.
Enter your password when prompted, and don't panic if you don't see anything when you type your password; just do it and press "Enter".

notice the three connection's, all collecting bits of the file; all at the same time.
type "y", and "enter" when prompted by the [y/n] prompts. All activity will stop until you choose "y" or "n".
Done already? verify that all packages are installed properly. If errors are found, run apt-get clean as root and try again using apt-get directly.

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+