Saturday, April 21, 2012
Thursday, April 19, 2012
Weekly Report Dated 20,April 2012
#1.1 GNOME 3 Cheat Sheet
A small post on gnome 3 shortcuts including mouse tips
http://gofedora.wordpress.com/2012/04/19/gnome-3-cheat-sheet/
#1.2 Easy Package Management with fpm
I found this on github although its not good practice to create packages
from that but ya for fast n personal use i think its good
http://gofedora.wordpress.com/2012/04/19/easy-package-management-with-fpm/
#1.3 Install java plugin on Fedora 16
Javaplugin a big time issue that java does not work in firefox/chrome so
i thought of posting it
http://gofedora.wordpress.com/2012/04/19/install-java-plugin-on-fedora-16/
#1.4 Make VIm your C++ IDE
Well this one is last weeks feed ,A small vim plugin that will help by including some of the lines already
http://gofedora.wordpress.com/2012/04/11/make-vim-your-c-ide/
#1.5 Make VIM as your Bash IDE
A Bash plugin to vim http://gofedora.wordpress.com/2012/04/11/make-vim-as-your-bash-ide/
#2 Testing Fedora 17 Beta
Downloaded Fedora 17 beta and using it from my usb Stick
Install java plugin on Fedora 16
1. Download Javaplugin
go to suns site and get the latest java rpm
http://www.java.com/en/download/manual.jsp?locale=en

2. Copy and make it executable
2a. create a directory
mkdir /usr/java
2b. copy the downloaded rpm to /usr/java
cp /home/user/Downloads/jre-6u31-linux-i586-rpm.bin /usr/java
2c make it executable
chmod +x jre-6u31-linux-i586-rpm.bin
3. Install Plugin
[root@localhost anyweb]# ./jre-6u31-linux-i586-rpm.bin
Do you agree to the above license terms? [yes or no]
y
Unpacking...
Checksumming...
0
0
Extracting...
UnZipSFX 5.42 of 18 April 2012, by Info-ZIP (Zip-Bugs@lists.wku.edu).
inflating: jre-6u31-linux-i586.rpm
Preparing... ########################################### [100%]
1:jre ########################################### [100%]
Done.
4. Make it work for Firefox and Chrome
4a. For Firefox
sudo ln -s /usr/java/jre1.6.0_07/plugin/i386/ns7/libjavaplugin_oji.so /usr/lib/mozilla/plugins/libjavaplugin.so
4b For Chrome
4b1 create a Chrome plugin folder:
su -c 'mkdir /opt/google/chrome/plugins'
4b2 Create symbolic link
su -c 'ln -s /usr/lib/mozilla/plugins/libjavaplugin.so /opt/google/chrome/plugins/libjavaplugin.so'
Easy Package Management with fpm
here's the best package Build tool
What is fpm?
It helps you build packages quickly (Packages like RPM and DEB formats).
Things that are in the works or should work
Sources:
- gem (even autodownloaded for you)
- python modules (autodownload for you)
- pear (also downloads for you)
- directories
- rpm
- deb
- node packages (npm)
Targets:
- deb
- rpm
- solaris
- tar
- directories
1. Get the app
You can Download it from git-hub here's the link https://github.com/jordansissel/fpm

2. Install fpm
2a. Install Dependencies
you need the following packages to be installed before using fpm
Ruby
Ruby-devel
Rubygems
To install them on Fedora/Cent os/RHEL
yum install ruby ruby-devel rubygems
To install Them on Ubuntu/Debian/Linux mint
sudo apt-get install ruby ruby-devel rubygems
2b. Install fpm
1. unzip /PATH.zip
2. cd /PATH
3. gem install fpm
3. Run fpm
to run fpm just type following on terminal
fpm -s <source type> -t <target type> [options]
GNOME 3 Cheat Sheet

Here are some useful shortcuts to give you a complete Gnome experience
Window Shortcuts
- Alt+Tab – Switches between currently open windows
- Alt+F4 – Closes window
- Alt+F10 - Maximises current window
- Alt+F9 – Minimises current window
- Alt+F8 – Resizes current window (again,can be moved with mouse or keyboard)
- Alt+F7 – Moves the current window
- Alt+Space – Brings up window menu with various options as minimize, maximize etc.
- Alt+F5 – Returns window to ‘normal’ or previous size
Common Application Shortcuts
NOTE: These shortcuts do not apply in all applications
- Ctrl + C – Copy the selected text/object
- Ctrl + X - Cut the selected text/object
- Ctrl + V – Paste/insert the selected text/object
- Ctrl + Q – Quit the current application
- Ctrl + Shift + Z - Redo a change that you just undid
- Ctrl + Z - Undo the last change you made
- Ctrl + A – Select all text
- Ctrl + B – Make the selected text bold
- Ctrl + I – Make the selected text italic
- Ctrl + P - Print the current document
- Ctrl + O - Open another document
- Ctrl + S - Save the current document
- Ctrl + U - Underline the selected text
- Ctrl + N - Open a new document or window
Gnome Shell Shortcuts
- System Key (Windows Key) - Allows you to switch between the overview and the desktop
- Ctrl+Alt+Shift+Up/Down arrow - Move the current window to a different workspace
- Alt+F1 - (same as the above) Switches between overview and desktop
- Ctrl+Alt+Up/Down arrow - Allows you to switch between the workspace
- Alt+F2 – Opens the Command Dialog
- Alt+Tab - Switches between the applications
- Alt+Shift+Tab - Switches between the applications in reverse direction
- Esc - Closes the command dialog, menus/calendar, overview, search in the overview, Looking Glass
- Alt+[key above Tab] - Switches between the windows of the same application
- Ctrl+Alt+Tab - Allows access to accessibility switcher
- Ctrl+Shift+Alt+R - Allow to start screencast recording, hitting the same stops recording
Command Dialog Shortcuts
You have to enter the these codes in the Command Dialog (Alt+F2)
- r or restart - To restart GNOME Shell
- rt - To reload the GNOME Shell theme
- debugexit – To quit GNOME Shell
Mouse Tips
- Ctrl+Clicking on the application icon for a running application will open a new window of that application in the current workspace.
- Right clicking on the application icon – for a running application will display a menu with window titles for selecting one of the windows.
- Middle clicking on the application icon – will launch it on a new workspace.
- Window maximizing - You can maximize a window by dragging it to the top edge of the screen. You can also double-click the window title to maximize. To unmaximize, pull it down again.
- Moving your mouse pointer to the top left corner of the screen – will activate the overview
Source : https://live.gnome.org
Wednesday, April 11, 2012
Make VIm your C++ IDE
The plugin was written by Fritz Mehner, who explains the purpose of the plugin as: “Write and run programs. Insert statements, idioms, comments”.
1. open Directory /usr/src
cd /usr/src
2. Download the bash support plugin
Download bash support plugin from vim.org
wget -O bash-support.zip http://www.vim.org/scripts/download_script.php?src_id=9679
alternatively you can download from the following link
http://www.vim.org/scripts/download_script.php?src_id=9679
3. Install C++ support vim plugin
mkdir ~/.vim #(if the directory does not exist already)
cd ~/.vim
unzip /usr/src/cvim.zip
4. Enable plugin
Add the following line to the ~/.vimrc
vim ~/.vimrc
filetype plugin on (add this line on ~/.vimrc )
Screenshot of Enabled C++ vim plugin
Make VIM as your Bash IDE
The plugin was written by Fritz Mehner, who explains the purpose of the plugin as: “Write and run BASH-scripts using menus and hotkeys.”
This article explains how to install the plugin for vim
1. open Directory /usr/src
cd /usr/src
2. Download the bash support plugin
Download bash support plugin from vim.org
wget -O bash-support.zip http://www.vim.org/scripts/download_script.php?src_id=9890
alternatively you can download from the following link
http://www.vim.org/scripts/download_script.php?src_id=9890
3. Install bash support vim plugin
mkdir ~/.vim #(if the directory does not exist already)
cd ~/.vim
unzip /usr/src/bash-support.zip
4. Enable plugin
Add the following line to the ~/.vimrc
vim ~/.vimrc
filetype plugin on (add this line on ~/.vimrc )
Screenshot of Enabled bash vim plugin
Thursday, April 5, 2012
Weekly Report Dated 6,April 2012
#1.1 Install Virtualbox on fedora 16
#1.2 Install Google chrome on fedora 16
#1.3 Install CodeBlocks on Fedora 16/15
#2 Free Media
Posted Fedora 16.i686 DVD to Vijeysh Chawla,Jodhpur,Rajasthan
#3 miscellaneous tasks
http://ask.fedoraproject.org/question/1321/how-to-specify-a-service-runlevel-by-using#2403
Install Codeblocks 10.05-5 on fedora 16/15

Code::Blocks is a free C++ IDE built to meet the most demanding needs of its users. It is designed to be very extensible and fully configurable.
Finally, an IDE with all the features you need, having a consistent look, feel and operation across platforms.
Switch to root user
sudo -i
##OR##
su
Install Dependencies
Before installing Codeblocks please install the following Dependencies
GCC – GNU C compiler
GCC -C++ – GNU C++ Compiler
To install them just type the following in terminal as root user
yum install gcc gcc-c++
Install Code blocks
Codeblocks is added in fedora repository,To install Codeblocks
sudo yum install codeblocks


Start Codeblocks
To start Codeblocks go to Applications------>Programming------>Codeblocks


Screenshot of CodeBlocks running on Fedora 16
Wednesday, April 4, 2012
Install Virtualbox on Fedora 16/15,Cent OS

Virtualbox a JVM based virtual machine is the only professional solution that is freely available as Open Source Software under the terms of the GNU General Public License (GPL) version 2.
Presently, VirtualBox runs on Windows, Linux, Macintosh, and Solaris hosts and supports a large number of operating systems, VirtualBox is a general-purpose full virtualizer for x86 hardware, targeted at server, desktop and embedded use.
1. Download Virtualbox
you can download Virtualbox from Orcale Virtualbox download page

2. Switch to root user
sudo -i
##OR##
su
3. Install Dependencies
Before installing virtualbox please install the following Dependencies
GCC - GNU C compiler
GCC -C++ - GNU C++ Compiler
To install them just type the following in terminal as root user
yum install gcc gcc-c++
4. Install Virtualbox
To install virtualbox go to your downloads folder or the location where you saved your
virtualbox installer by typing following into your terminal
cd /home/user/Downloads (or the location where you saved it cd /your location)
now install the package by the following command
rpm -ivh VirtualBox-4.1-4.1.10_76795_fedora16-1.i686.rpm
Here are some Screenshots which will show you the installation process



5. Virtual Box Welcome screen

Screenshot of Virtualbox running on Fedora 16('Verne')

How Linux is Built
http://www.youtube.com/watch?v=yVpbFMhOAwE&feature=colike
Tuesday, April 3, 2012
FUDCon Blacksburg 2012 Introduction to OpenStack
Install Google Chrome on Fedora 16,Cent OS

This howto explains howto install Google Chrome Web browser on Fedora 16, Fedora 15, Fedora 14, Fedora 13, Fedora 12, CentOS 6.2/6.1/6 and Red Hat (RHEL) 6.2/6.1/6. Best way to install and keep up-to-date with Google Chrome browser is use Google’s own YUM repository.
1. Switch to root user
sudo -i
##OR##
su
2. Add Google YUM repository
Copy the given content to a file and name it google.repo paster that file
in /etc/yum.repos.d (as a root user)
32 bit
[google-chrome]
name=google-chrome - 32-bit
baseurl=http://dl.google.com/linux/chrome/rpm/stable/i386
enabled=1
gpgcheck=1
gpgkey=https://dl-ssl.google.com/linux
linux_signing_key.pub
64 bit
[google-chrome]
name=google-chrome - 64-bit
baseurl=http://dl.google.com/linux/chrome/rpm/stable/x86_64
enabled=1
gpgcheck=1
gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub
Alternatively you can download the repo file from from given links and paste it to /etc/yum.repos.d
32 bit repo
64 bit repo
NOTE : File location for 32bit and 64 bit is same i.e. /etc/yum.repos.d
3.Install Google chrome
3.1 Install Google Chrome stable version
yum install google-chrome-stable
3.2 Install Google Chrome Beta Version
yum install google-chrome-beta
3.3 Install Google Chrome Unstable Version
yum install google-chrome-unstable
4. Screenshot of Google Chrome Stable Version 18 on Fedora 16






