Shell CLI
[Tips And Tricks]: Gnome Screenshot Tool
Most popular tool to take screenshots on gnome desktop But there a lot of tips and tricks for taking screenshots for your desktop, windows, and your active running applications you might not familiar with it.
Usually when you open gnome screenshot tool you will find many options there to capture the whole window, a specific area to grab, or capture current window, and garbing window with delay time. also including two more options for include the pointer, and the border effect for adding shadows or not.
Here there more 9 more things to do even with GUI ” graphical user interface ” for gnome desktop or using Terminal
For terminal
this to capture the active window
This to capture with delay time as you wish
This to keep the border for the active window
This to remove the border for the active window
To add shadow around the active window
To add border effect around active window
To open capture window before capturing it
also you can use the print screen button on the keyboard to capture the whole window
To capture active window using the keyboard use the Alt+print screen button
check gnome screenshot documentation for more information.
That’s it for now.
[How To]: Create ISO file from CD-DVD using Terminal
A quick How To For today create ISO file from CD or DVD using command line.
Usually I use this command to get an ISO image from Disk for operating system, for example I have Kubuntu 10.04 LTS on a Disk, and i want to use that image on my virtual machine, instead of keeping the CD inside my CD ROM all the time.
Also you can use it as a backup way to keep your files safe on ISO file. I am sure you will figure out many ways to use this command for :)
The process
Insert the disk
then open terminal,,, type
I am not sure what dd stand for ” destroy data “, ” delete ” according to wiki :)
if : input file
of : output file for the image will be copied to
dvd : it’s a variable according to what’s the device name located on ” dev ” directory
to get more information about dd unix command follow this link
That’s it for now, If you have any questions please inform me.
dd
if=f/dev/cdrom of=~/cdrom_image.iso
How To: Install FluxBox Window Manager on Ubuntu 10.04 LTS
FluxBox window manager is the real simple of X window system you will have ever see, Lightweight window manger, can be modified with a lot of styles and themes, and really easy to use. FluxBox was based on BlackBox 0.61.1
Installations Guide :
1. simply open terminal and type
it will take a while till the installation process done.
and other way to install the FluxBox
2. Visit Download FluxBox site
and download the last stable version there. or if you are interesting in test development release
Download it then simply compile the package
access the directory for the download file then open terminal and type this commands
make
sudo make install
and here is some screenshots For FluxBox 1.1 after installing it on my Ubuntu 10.04 LTS with different styles
That’s it for now
How To: Change the password for users accounts on Ubuntu 10.04 LTS using Terminal ?
A quick How To: change the password for users accounts on Ubuntu 10.04 LTS using Terminal
change the password for the operating system from time to time, that’s keep your stuff safe.
- Instructions to make a strong password
it really important to know how to choose your password make sure you have included different letters, not a familiar word, not a birthday, not a mobile phone number, try to use capital letters, signs such as ” *-+_..” stuff like this.
Go to terminal
passwd "username" without quotes ""
will ask you for current password
then it will ask you for new password you want, make sure you remember to this instructions to make a strong password.
that’s it for now.
[How To]: extend time for deleting temporary files in tmp directory on Ubuntu 10.04 LTS
Temporary files located on /tmp directory will be deleted by default with every time you restart or shutdown from ubuntu 10.04 LTS. It becomes handy some times if you want to keep your tmp files for some applications already installed in your machine in case you want to use it later.
Open this your filesystem directory /etc/default/rcS Open this file
In line 10 you will find ” TMPTIME=0 ” by default the value is zero that value delete temporary files with every time you restart the machine.
If you want to keep your files for ever make the value ” TMPTIME=0 ” with negative number. ” not recommended it will ”
If you want to keep temporary file for two days, change the value to be ” TMPTIME=2 ”
so that’s for now
De/compression Files
Compression and Decompression operation really easy to do with GUI application but some times you want to pack or unpack files. this operation I believe it much more easier sometimes with terminal than using GUI application. and I will show how easy to do it now.
Using file called : “Nov” with different compression extensions
Extensions
1. “.bz2″
bunzip2 nov.bz2
2. “.zip”
unzip nov.zip
3. “.lha”
lha e nov.lha
4. “.tar.gz” or “.tgz”
tar -zxvf nov.tar.gz
tar -zxvf nov.tgz
5. “.gz” or “.z”
gunzip nov.gz
gunzip nov.z
6. “tar.z”
uncompress nov.tar.z use this command if you used “compress’ command to compress this file
7. “.tar”
tar xvf nov.tar
8. “.zip”
compress to files into one file called nov.zip
zip nov.zip nov1 nov2
nov1 and nov2 are files will be compressed into nov.zip
That’s it for now.
How to Run bin Files
Quick “How To ….?”
How to run bin files
Go to Terminal
######################################################################
How to Install/Uninstall RPM Packages and source packages
Hello guys,
In this post I already showed you how to install/Uninstall DEB packages.
Now I will show you how to install/uninstall RPM packages, and how to install sources RPMs
Distributions such as Redhat, Fedora, and CentOS using packages with .rpm extension
1. Installing RPM packages
” rpm -uvh ” Will use this command to install packages
-
what’s uvh means ?
u : used for updating RPM packages to last version
v : show verbose messages while running command lines
h : Gives you hash “#” characters during installation process
Terminal :
###############################################################
Access the directory for downloaded package for example : cd download
###############################################################
2. Installing sources RPMs
Some packages you want to install required a source files to work with kernel version. Here is the command for installing source packages
Require root privilege
Your@username-laptop:~$ rpmbuild –rebuild package name ending with “.src.rpm” extension
3. Uninstalling RPM packages
###############################################################
Your@username-laptop:~$ rpm -e package name
###############################################################
- you will need root privilege to remove this package
- make sure you type package correctly with version if available as show on -qa command listing
That’s it for now.















