Showing posts with label Linux. Show all posts
Showing posts with label Linux. Show all posts

December 24, 2014

Things which I do after installing Crunchbang #! Linux.

December 24, 2014 0
Configure your Crunchbang #!.

5 Things that I do after installing the #! and this will also help you.
If you are a developer then obviously you require more packages to install in your system.

1. Update your #! source-list to install non-free packges.

ashish@crunchbang:~$ sudo nano /etc/apt/sources.list

## CRUNCHBANG
## Compatible with Debian Wheezy, but use at your own risk.
deb http://packages.crunchbang.org/waldorf waldorf main
deb-src http://packages.crunchbang.org/waldorf waldorf main

## DEBIAN
deb http://http.debian.net/debian wheezy main contrib non-free
deb-src http://http.debian.net/debian wheezy main contrib non-free

## DEBIAN SECURITY
deb http://security.debian.org/ wheezy/updates main
deb-src http://security.debian.org/ wheezy/updates main
Now update your #! crunchbang and install 32-bit library packages which is gonna help you with the installation of skype, teamviewer, android development kit etc.

sudo dpkg --add-architecture i386  
apt-get update
sudo apt-get install ia32-libs
#! comes with linux a media player, let's install a Clementine(music player). I prefer this because of it's simplicity.

sudo apt-get install clementine

2. Change your login screen wallpaper. I don't prefer to use default login wallpaer which comes with the #!. So I change it using the below method.

ashish@crunchbang:cd /usr/share/slim/themes
ashish@crunchbang:/usr/share/slim/themes$ sudo thunar
It will open file browser where all the themes are located. Open any one of them and you will find the "background.png", this image file is used as login-background.
I'm going to use "default" theme as my login-theme.
1. Replace "default/background.png" file with your wallpaper images.
2. Rename "default/background.png" to "default/background_backup.png.".
3. Place your desired wallpaper in "default" directory and change your wallpaper name as "background.png".
4. Cross check, make sure you are doing all these stuff inside "/usr/share/slim/themes/default/" directory.
5. If you know little bit photo editing tool "gimp", then you can modify "panel.png" image(your login panel).
6. Activate the theme and logout to check the effect.
Activate : super[windows btn] + space[btn] >>> System >>> User Login Settings >>> select Theme as "default".
3. Beautify your conky.
super[windows btn] + space[btn] >>> Settings >>> Conky >>> edit .conkyrc
Replace your conky settings with the below text.

# conky configuration
#
# The list of variables has been removed from this file in favour
# of keeping the documentation more maintainable.
# Check http://conky.sf.net for an up-to-date-list.
#
# For ideas about how to modify conky, please see:
# http://crunchbanglinux.org/forums/topic/59/my-conky-config/
#
# For help with conky, please see:
# http://crunchbanglinux.org/forums/topic/2047/conky-help/
#
# Enjoy! 
##############################################
# Settings
##############################################
background yes
use_xft yes
xftfont HandelGotD:size=8
xftalpha 0.5
update_interval 4.0
total_run_times 0
own_window yes
own_window_type normal
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 200 5
maximum_width 220
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders yes
default_color grey
default_shade_color red
default_outline_color green
alignment top_right
gap_x 5
gap_y 45
no_buffers yes
uppercase no
cpu_avg_samples 2
override_utf8_locale no

TEXT
CPU $alignr ${cpu cpu0}%
${cpugraph cpu0}

MEM $alignc $mem / $memmax $alignr $memperc%
$membar

swap $alignc $swap / $swapmax $alignr $swapperc%
${swapbar}

/ $alignc ${fs_used /} / ${fs_size /} $alignr ${fs_free_perc /}%
${fs_bar /}

global $alignc ${fs_used /home/karlos/global} / ${fs_size /home/karlos/global} $alignr ${fs_free_perc /home/karlos/global}%
${fs_bar /home/karlos/global}

$processes processes ($running_processes running)

NAME $alignr PIDCPU
${top name 1} $alignr ${top pid 1} ${top cpu 1}
${top name 2} $alignr ${top pid 2} ${top cpu 2}
${top name 3} $alignr ${top pid 3} ${top cpu 3}
${top name 4} $alignr ${top pid 4} ${top cpu 4}
${top name 5} $alignr ${top pid 5} ${top cpu 5}
${top name 6} $alignr ${top pid 6} ${top cpu 6}
${top name 7} $alignr ${top pid 7} ${top cpu 7}
${top name 8} $alignr ${top pid 8} ${top cpu 8}
${top name 9} $alignr ${top pid 8} ${top cpu 9}

Inbound $alignr ${downspeed eth0} kb/s
${downspeedgraph eth0}
Outbound $alignr ${upspeed eth0} kb/s
${upspeedgraph eth0}

Wifi Inbound $alignr ${downspeed wlan0} kb/s
${downspeedgraph wlan0}
Wifi Outbound $alignr ${upspeed wlan0} kb/s
${upspeedgraph wlan0}


Alt+F2$alignr Run Dialog
Alt+F3$alignr Alt Menu
Super+space$alignr Main Menu
Super+t$alignr Terminal
Super+f$alignr File Manager
Super+e$alignr Editor
Super+m$alignr Media Player
Super+w$alignr Web Browser
Super+g$alignr Graphics Editor
Super+l$alignr Lock Screen
Super+v$alignr Volume Control
Super+x$alignr Logout
PrtSc$alignr Screenshot

There are more yet to come.... Thanks for reading.
Read more...

December 03, 2013

Changing wallpapers in Crunchbang #! Linux .

December 03, 2013 0
I'm using crunchbang #! when it was #!-9 around in 2010 , now using #!-11. Between these period I tested out many linux distros but never feel that any linux is stable as #! is now, because it drops Ubuntu and using Debian-stable :) .
As per the heading of this post to change wallpaper in Crunchbang we need to copy paste the wallpapers( images ) into following directory./home/[username]/images/wallpapers/shared/
But "shared" folder is locked, so we need to copy-paste the images as a "sudo" user. Please Follow the steps.
1 Press "alt+f2" then enter "sudo thunar" and enter your password.
2 Now copy your wallpaper(images) and paste it into "/home/[username]/images/wallpapers/shared/" directory.
3 "Right-click" on the desktop and navigate to " settings > Choose Wallpaper ".
4 Now you can easily see the images and set the wallpaper by selecting images and clicking on "apply" button.

Here is my wallpaper link

Wait for the next crunchbang post. Keep Coding :)

Read more...

May 27, 2012

How to install 686-PAE kernel on Linux Mint Debian Edition-i486?

May 27, 2012 2

Before using Linux Mint Debiab Edition(LMDE) I was using Ubuntu-12.04LTS .
It was my worst experience with ubuntu. It looks like Ubuntu12.04LTS is not matured. I've faced lots of problems like touchpad freezes , after updates system get crashed , lots of bug reporting etc . Anyway I'm not anti-ubuntu .
In frustration I removed Ubuntu12.04 and installed LMDE on my Dell Vostro-1540 (core-i3).
Since the kernel is built with LMDE 201 109 486, then the default kernel is only able to detect a single core . Result was ,I've experienced some sort have 'hang' during my Android application development .
I decided to install the kernel 686, exactly 686-PAE. This kernel is the best solution for running LMDE on 'multi-core' system .
No need to worry about it .
Simple steps are here to install linux-kernel-i686.
 $ sudo apt-get update
 $ sudo apt-get install linux-image-686 linux-headers-686-pae
for i486.
 $ sudo apt-get update
 $ sudo apt-get install linux-image-486 linux-headers-486
for amd64.
 $ sudo apt-get update
 $ sudo apt-get install linux-image-amd64 linux-headers-amd64
Read more...

November 05, 2011

How To Reset Unity in Ubuntu-11.10 .

November 05, 2011 0
Today I installed Ubuntu-11.10 and I was playing around with Ubuntu, trying different themes, different engines, different window managers,file-managers(dolphin-one of my favorite), etc.
After installing CompizFusion, I started playing with themes and bymistakly, I removed my unity-panel.
So there was no shortcut to run app with "Alt+f2" key.
Thank god,I had installed Awn-dock , then I started firefox and googled about it and finally I did reset my unity2d settings to default.

Reset Unity
If you want to reset Unity (this will only reset the Unity settings in CompizConfig Settings Manager and leave the other CCSM settings intact), open a terminal (or press ALT + F2) and enter:
$ unity --reset
Reset Unity Launcher icons
$ unity --reset-icons
Here are some useful links which is more about " Customization "
Install Docky
Docky will be added under Accessories in the Applications menu.
$ sudo add-apt-repository ppa:docky-core/ppa
$ sudo apt-get update
$ sudo apt-get install docky

*If i will find some more interesting links,i will post here .
Read more...

July 16, 2010

Another adventures and experiments with Play on my Linux !!

July 16, 2010 0
Hey everyone,
Along with my recent adventures and experiments with Play, I decided to force myself to become more proficient with Play. For all those who don't know what “Play” is , I will give u all a just of it..

The Play framework is a clean alternative to bloated Enterprise Java stacks.

I think its very nice framework to make web-based application by using any editor like Komodo or Emacs,and it provides libraries for database access,error handling,templating framework and session management,security,an automated test suite, a shiny web interface and an administration area and it also provides the codes for reuse.


so, if u still feel like I need to be set straight,any suggestion or any question,Send me an email.

Anyway,
I have been using Linux since about 2007.
I had JAVA self extracting file which was given to me by Mr. Jitendra Vishwakarma.
So,I tried to run play in my Linux with the help of documentation.
I had java ,but "i don't know how to install it?"

Ever since I first started using Linux, I have been using Terminal for installing most of software's and applications...even today I do so.. ,
really I don't know many commands of Linux.


So, once again I started searching on Google about "how to install java in Linux ". I found solution for it and I dabbled with a tutorial here and there...and finally I get the java on my Path.

My recent experiment with JAVA Installation has proved to be very fruitful, I say so to myself.

If anyone is much interested to know "how to install the java in Linux?",then follow the instruction and commands.

~~~~~~~~~~~~~~~~~~~~~~~~
Download and copy jdk-6-linux-i586.bin to $HOME/src (or a location of your choice).
type>>
% su -

(some linux use "su" command and some don’t. So in such a case, use the "sudo" command and it will prompt you for a enter admin password. once u have entered the password it will not ask u again and again during the editing, deleting, moving the files .)

"I don't know much about the RedHat and the Solaries,but as I have worked on ubuntu based linux, it accept the "sudo" command...."

~~~~~~~~~~~~~~~~~~~~~~~~

#su (or sudo)
# mkdir /usr/java (if it doesn't exist or start the line with "sudo")
# mv $HOME/src/jdk-6-linux-i586.bin /usr/java (if it doesn' start line with "sudo")
# cd /usr/java (if it doesn' start line with "sudo")
# chmod +x jdk-6-linux-i586.bin (if it doesn' start line with "sudo")
# ./jdk-6-linux-i586.bin

~~~~~~~~~~~~~~~~~~~~~~~~
It will extract all the files of java and install it in your system.
~~~~~~~~~~~~~~~~~~~~~~~~
Set the PATH and JAVA_HOME environment variables: (/etc/profile, $HOME/.bashrc or $HOME/.bash_profile).

PATH=$PATH:/usr/java/jdk1.6.0/bin
JAVA_HOME=/usr/java/jdk1.6.0
export PATH

~~~~~~~~~~~~~~~~~~~~~~~~
for more information about Java Installation try this "Enterprise Java for Linux HOWTO".

After installing the java,I started developing the Simple Web-Application in Play.
Here are the steps of creating application.

Installation of play is very simple.
Just download the latest binary package from the Play download page and unzip it to any path. Play uses command line a lot for creating,running and testing the application,it’s better to use a Linux or MacOS ,if you are using windows,its also fine.

Play is correctly installed,now start Creating a Play application is pretty easy and fully managed by the Play command line utility.That allows for standard project layouts between all Play applications.

Open a new command line and type:

$python play new helloworld

It will creates a new helloworld application.
now we need to test it if its working or not?

For run the application>Open a new command line and type:

$python play run helloworld/

Play will now load the application and start a Web server on port 9000.
You can see the new application by opening a browser to
http://localhost:9000


Here is the snap of the simple " hello-world "application and "how to set the JAVA_HOME path in snap"

And follow the Documentation for making "helloworld" application.

Click On the Image
To See The Tested "Hellowrld" Application.

Read more...

July 10, 2010

I got a speedy Linux "# !" for my desktop.

July 10, 2010 0
CrunchBang Linux is an Ubuntu based distribution offering a great blend of speed, style and substance. Using the nimble Openbox window manager, it is highly customisable and provides a modern, full-featured GNU/Linux system without sacrificing performance.
CrunchBang Linux comes with the ability to play most popular media formats, including but not limited to MP3, DVD playback & Adobe Flash. CrunchBang Linux also comes with many popular applications installed by default, including but not limited to Firefox 3 web browser, VLC media player, Skype and Transmission BitTorrent Client.

Thanks to my friend Harsh Shah,who give me the #! Linux.


Read more...

Follow Us @soratemplates