About Me

My photo
I know the last digit of PI

Monday, May 30, 2011

FC15 post installation steps

Gnome shell 3

Showing date in taskbar

gsettings set org.gnome.shell.clock show-date true

Showing date in taskbar

gsettings set org.gnome.shell.calendar show-weekdate true

Show week numbers in calendar

gsettings set org.gnome.shell.calendar show-weekdate true

Show minimize, maximize buttons

gconftool-2 -s -t string /desktop/gnome/shell/windows/button_layout "menu:minimize,maximize,close"

Always show power off in menu

yum install gnome-shell-extensions-alternative-status-menu
More info about available extensions can be found here

Tweak-tool

yum install gnome-tweak-tool
Then use start it go to Desktop and enable "Have file manager handle the desktop"

Taskbar

yum install tint2
Then use gnome-session-properties utility to add tint2 to gnome auto start programs (/usr/bin/tint2)

Nautilus

Show hidden files

gsettings set org.gnome.nautilus.preferences show-hidden-files true

Show address bar instead of buttons for file path

gsettings set org.gnome.nautilus.preferences always-use-location-entry true

Configurations

Additional repositories

Add RPM fusion repos:
su -c 'yum localinstall --nogpgcheck http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm'

Admin rights

Add sudo capabilities to current user:
usermod -a -G wheel `whoami`

Startup theme

Change the startup theme:
sudo yum install plymouth-theme*

sudo plymouth-set-default-theme --list

sudo plymouth-set-default-theme solar -R

Keyboard mappings

Install gconf-editor:
sudo yum install gconf-editor
Now open gconf-editor from command line and do following modifications:

windows + D to show desktop

Find the key "/apps/metacity/global_keybindings/show_desktop" and set the value to "<mod4>D"

windows + R to run command

Find the key "/apps/metacity/global_keybindings/panel_run_dialog" and set the value to ""<mod4>R"

windows + L to lock screen

Find the key "/apps/metacity/global_keybindings/run_command_1" (or any other number and set the value to ""<mod4>L". Find the key "/apps/metacity/keybinding_commands/command_1" and set the value to "gnome-screensaver-command -l"

Windows aliases

notepad

sudo alternatives --install /usr/bin/notepad notepad /usr/bin/gedit 1

explorer

sudo alternatives --install /usr/bin/explorer explorer /usr/bin/nautilus 1

cmd

sudo alternatives --install /usr/bin/cmd cmd /usr/bin/gnome-terminal 1

Installing additional software

Music player - XMMS

sudo yum install xmms xmms-faad2 xmms-mp3 xmms-pulse xmms-skins

Video players

mplayyer

sudo yum install mplayer gecko-mediaplayer mplayer-gui mencoder

VLC

sudo yum install vlc

Gnome-tweak-tool

sudo yum install gnome-tweak-tool
It can be used to change variety of options. Go to "Windows" and change "Current theme" to "Crux". Go to "File manager" and change "Have file manager handle desktop" to "Yes".

MS fonts

sudo yum install rpm-build cabextract ttmkfdir wget xfs

sudo rpm -ih http://dl.atrpms.net/all/chkfontpath-1.10.1-2.fc14.x86_64.rpm

sudo wget http://corefonts.sourceforge.net/msttcorefonts-2.0-1.spec

sudo rpmbuild -ba msttcorefonts-2.0-1.spec

sudo yum install --nogpgcheck /root/rpmbuild/RPMS/noarch/msttcorefonts-2.0-1.noarch.rpm

Chrome

Go to www.google.com/chrome and follow instructions

Flash

Go to Adobe flash and choose linux 64 (Step1) and YUM 64 (Step2) Install the downloaded RPM it will add the adobe YUM repos. Install the real flash player with:
yum install flash-plugin nspluginwrapper.x86_64 nspluginwrapper.i686 alsa-plugins-pulseaudio.i686 libcurl.i686
Now Firefox should be able to play flash video (try it with youtube) In order to make Chrome playing flash videos executes following commands:
mkdir /opt/google/chrome/plugins
ln -s /usr/lib64/mozilla/plugins/libflashplayer.so /opt/google/chrome/plugins/libflashplayer.so

Skype

Go to http://www.skype.com/intl/en/get-skype/on-your-computer/linux/downloading.fedora and follow instructions

Show system information as background - conky

sudo yum install conky
Then use gnome-session-properties utility to add conky to gnome auto start programs (/usr/bin/conky)A simple configuration file /etc/conky/conky.conf
alignment top_right

background no

border_width 1

cpu_avg_samples 2

default_color white

default_outline_color white

default_shade_color white

draw_borders no

draw_graph_borders yes

draw_outline no

draw_shades no

use_xft yes

xftfont DejaVu Sans Mono:size=12

gap_x 5

gap_y 60

minimum_size 5 5

net_avg_samples 2

no_buffers yes

out_to_console no

out_to_stderr no

extra_newline no

own_window_transparent yes

own_window yes

own_window_class Conky

own_window_type desktop

stippled_borders 0

update_interval 1.0

uppercase no

use_spacer none

show_graph_scale no

show_graph_range noTEXT

#${scroll 32 $nodename - $sysname $kernel on $machine | }

$nodename - $sysname $kernel

$hr

${color grey}Uptime:$color $uptime

${color grey}Frequency (in GHz):$color $freq_g

${color grey}RAM Usage:$color $mem/$memmax - $memperc% ${membar 4}

${color grey}Swap Usage:$color $swap/$swapmax - $swapperc% ${swapbar 4}

${color grey}CPU Usage:$color $cpu% ${cpubar 4}

${color grey}Temperature:$color $acpitemp% ${color grey}Fan speed:$color $acpifan

${color grey}Processes:$color $processes  ${color grey}Running:$color $running_processes

$hr

${color grey}File systems:

/ $color${fs_used /}/${fs_size /} ${fs_bar 6 /}

${color grey}Networking:

Up:$color ${upspeed eth0} ${color grey} - Down:$color ${downspeed eth0}

$hr

${color grey}Name              PID   CPU%   MEM%

${color lightgrey} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}

${color lightgrey} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}

${color lightgrey} ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}

${color lightgrey} ${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}

All the information is found by googling. You can find some very useful tips here and here and here
Thanks guys!