Saturday, December 4, 2010

Nokia N8 - loving it

Tips and tricks for nokia N8 for more battery life for daily use
-use default theme and screensaver since it's already loaded. The AMOLED display in your device consumes more power with white color. Therefore the themes with a lot of white colors (e.g. in wallpaper image) may consume more power than the other themes. Makes sense to use black wallpaper. When I go on vacation trips I use the black image as wallpaper.
-Turn off theme effects. This also speeds up homescreens. Settings -> Themes -> Options -> Theme Effects -> Off
-keep bluetooth off. Menu > Settings > Connectivity > Bluetooth > Bluetooth = Off)
-In the tone profile for normal:
--Set vibrating alert off
--Set volume to 6 bars or less (to reduce sound pollution :-) )
--Set touch screen vibration off instead of level 2
-turn off notification lights. Select Menu > Settings > Phone > Notification lights and disable the breathing light in Breathing light and adjust the light settings for different events in Notification light menu.
-close unused applications whenever possible. Leaving applications running in the background increases the demand on battery power. To close the applications you do not use, press and hold the menu key, swipe to the application in the list and close it by selecting X.

Tips to reduce battery usage under critical conditions
-Change the synchronisation frequency for your mailbox. Select Menu > Applications > Mail, your mailbox, and Options > Settings, and the relevant sync frequency settings.
-Deactivate the Big clock screen saver. Select Menu > Settings > Themes > Screen saver > None.
-Home screen widgets may periodically connect to internet if the home screen is in online mode. If you are not actively using the widgets, the automatic connection can be disabled by selecting Options > Widgets to offline mode on the home screen.
-Features that use wireless LAN (WLAN) increase the demand on battery power. WLAN on your Nokia device switches off when you are not trying to connect, not connected to another access point, or not scanning for available networks. To further reduce battery consumption, you can specify that your device does not scan, or scans less often, for available networks in the background. WLAN switches off in between background scans. When Menu > Settings > Connectivity > WLAN > Options > Settings > Show WLAN availability is set to Never, the WLAN availability icon is not shown in the standby mode. However, you can still manually scan for available WLAN networks and connect to WLAN networks as usual.

Let me know any more tips n tricks and I'll add up.


Updated: Got this link on nokia site, has more tips
http://www.nokiausa.com/get-support-and-software/product-support/n8-00/faq#00

Wednesday, August 18, 2010

Switched back to Fedora 13 Gnome


After playing a lot with lxde on fedora 12,13 I got bored of it's plain looks, gmixer issue and occasional lxpanel and FF crashes. After looking at kde vs gnome vs xfce vs lxde comparisions I decided to go back to gnome. Above is the screenshot of my system after everything was done.

Downloaded Fedora-13-i686-Live.iso and installed. After installation did following:

echo 'bhupendra ALL=(ALL) ALL' >> /etc/sudoers
After this we can logout as root and run sudo yum ...

vi /etc/selinux/config
Change SELINUX=enforcing to SELINUX=disabled

-Enable touchpag clicks
sudo yum install gconf-editor
Open gconf-editor (not as root) and goto /desktop/gnome/peripherals/touchpad
select tap_to_click
select horiz_scroll_enable
select disable_while_typing

-Download 'yum for linux rpm' from http://get.adobe.com/flashplayer/ for flash player in browser and adobe reader
yum install flash-plugin AdobeReader_enu

-Download and install skype rpm for fedora 10+
sudo rpm -ivh skype-2.1.0.81-fc10.i586.rpm

-Download picasa rpm from http://picasa.google.com/linux/download.html
sudo yum install lsb libgphoto2 openssl sane-backends audiofile esound-libs openssl-devel
sudo rpm -Uvh picasa-3.0-current.i386.rpm

-Install rpmfusion repos
sudo 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

-Enable mp3 playback on rythmbox
sudo yum install gstreamer-plugins-ugly gstreamer-plugins-bad

-install java 6 and firefox java plugin for applet support
sudo yum install java-1.6.0-openjdk java-1.6.0-openjdk-plugin

-I tried microsoft office 2007 with wine and then with the trial version of code weaver's crossover. Let me tell you, crossover works great and seamless. However I later came to know that openoffice supports word 2007 formats (though partially). If I need full support and I my wish of using linux in my workplace comes true will definatly buy licensed copy of crossover for personal use as it's not at all expensive.
installed openoffice writer(word) and calc(excel)
sudo yum install openoffice.org-writer openoffice.org-calc
Install microsoft fonts for dealing with microsoft word documents
I always refer to mjwired for his excellent work on this. http://www.mjmwired.net/resources/mjm-fedora-f13.html

-removed unwated apps, also ran package-cleanup --leaves to see which packages are not being used
sudo yum remove pino gnome-games vinagre totem brasero sound-juicer

-Install other programs I need, vlc for videos, gimp for image manupulation and xboard as frontend to gnuchess
sudo yum install vlc mozilla-vlc gimp xboard gnuchess proftpd

-Update system
sudo yum update
I rebooted once done for sanity check

-Bluetooth
Bluetooth packages were installed by default
Enabled bluetooth service under services
to get services sudo yum install system-config-services
Bluetooth applet also sows up by default. Right click goto preferences, click 'recieve files' and check 'Recieve files in Downloads folder over bluetooth' and changed accpet files to 'always'.

-Virtual machines using virtualbox
Download Fedora repo file and move to /etc/yum.repos.d from http://www.virtualbox.org/wiki/Linux_Downloads
yum install dkms gcc kernel-headers kernel-devel VirtualBox-3.2
I already had images of windows exported from my previous virtual box so just imported them.
Dont forget to add your user to vboxuser group for usb support on guests.

Show desktop icon available in panel configuration. By default ctrl+alt+D toggles desktop
set top and bottom panels transparent
Enable compiz via system->preferences->desktop effects
Change background image by right click on desktop. Set it default so that it reflects on login screen also.
open terminal goto edit->profile preferences->colors
uncheck use colors from system theme
select white on black system theme
goto background tab, and set transparent background to 50%
I also changed background image to Aqua and made panels transparent.
speed up firefox page loading, type about:config, search for network.dns.disableIPv6 and set it to true


Downloaded screenlets rpm but eventually removed it all since screenlets kept on crashing. Following dependencies were required for it.
sudo yum install gnome-python2-rsvg gnome-python2-rsvg python-imaging python-dateutil

to connect to other machines
sudo yum install rdesktop vpnc NetworkManager-vpnc
I configured vpnc under network manager to connect to my office nw and created office.sh with following
rdesktop -u username -p password -f hostOrIp
Open nautilus, goto edit->preferences->behaviour tab
select 'Run executable text files when they are opened'
This way our script executes directly instead of opening dialog box telling what to do.

Monday, June 7, 2010

Fedora 13 lxde spin - my personal installation

Downloaded fedora 13 lxde spin cd and installed on my dell xps 1210 harddisk. By default it created seperate volumes for root and home partition which was a problem for me due to very less space. It's more convinient for me to have one volume to manage the diskspace so chaged the disk management while installaion.

Download rpmfusion from http://rpmfusion.org/Configuration
rpmfusion-free-release-stable.noarch.rpm
rpmfusion-nonfree-release-stable.noarch.rpm
rpm -Uvh rpmfusion-free-release-stable.noarch.rpm rpmfusion-nonfree-release-stable.noarch.rpm

[All yum and rpm commands needs to be run as root]

yum update

echo 'bhupendra ALL=(ALL) ALL' >> /etc/sudoers
After this we can logout as root and run sudo yum ...

vi /etc/selinux/config
Change SELINUX=enforcing to SELINUX=disabled

-Enable left clicks and scrolling on mousepad
I added following lines to /usr/share/X11/xorg.conf.d/50-synaptics.conf. If you do not have this file, check which conf file is present under /usr/share/X11/xorg.conf.d
Option "TapButton1" "1"
Option "HorizEdgeScroll" "1"
Option "VertEdgeScroll" "1"
Here is an interesting page to test scrolling: http://www.richinstyle.com/test/dynamic/overflowscroll.html
Reboot system.

-Download flash-plugin-10.0.45.2-release.i386.rpm for adobe flash from adobe's site
rpm -Uvh flash-plugin-10.0.45.2-release.i386.rpm

-Installed needed apps
yum install vlc mozilla-vlc audacious audacious-plugins-freeworld* NetworkManager-vpnc vpnc proftpd

-Default volume on system was less. Gmixer still annoyingly defaults to the mic options instead of speaker volume.
yum install pulseaudio-equalizer
I was able to ehance audio levels using this one.

-gtalk video calls
yum install x264 ffmpeg empathy
Unfortunalty this did not work for me. Though I was testing with 2 laptops where in only one had webcam. Hope this works for all.

-Download and install skype rpm for fedora 10+
rpm -Uvh skype-2.1.0.81-fc10.i586.rpm

-Disable screensaver
-enable ftp in firewall

-Remove unwated stuff
yum remove liberation-mono-fonts liberation-sans-fonts liberation-serif-fonts libertas-usb8388-firmware iok sylpheed lostirc asunder gxine xmms2 gnomebaker lxmusic libdiscid liberation-fonts-common m17n-lib

-cd/dvd burning. Though for kde, this is the best tool for the purpose.
sudo yum install k3b k3b-extras-freeworld
While burning cd-rw, I had to black out existing content which did not work. I got this error
/usr/bin/wodim: Operation not permitted. Warning: Cannot raise RLIMIT_MEMLOCK limits.
After looking at k3b site, it was recommended to disable automount and/or use unpatched cdrtools(wodim)
After looking around real hard, I opened pcmanfm, goto edit->preferences-> volume management tab, uncheck 'mount removable media automatically when inserted'. This did the trick instead of various other good suggestions.

-VirtualBox can now be installed from fpmfusion repos, installing dependencies has never been easier with manual rpm install.
yum install dkms VirtualBox-OSE VirtualBox-OSE-guest
Evils of using opensource edition is that after 2 days when I needed to connect my phone to xp guest, I was not able to add usb. Aparently open source edition does not support it.
So downloaded http://download.virtualbox.org/virtualbox/3.2.0/VirtualBox-3.2-3.2.0_61806_fedora13-1.i686.rpm
yum remove VirtualBox-OSE VirtualBox-OSE-guest
yum install dkms gcc kernel-headers
rpm -Uvh VirtualBox-3.2-3.2.0_61806_fedora13-1.i686.rpm
Add virtualbox group to your user.
Any installation errors can be seen in and reinitialization done via /etc/init.d/vboxdrv setup as root
Boot xp guest. I had to change network to intel pro/100 T server for my xps 1210.
Loaded guest additions cd from /usr/share/virtualbox/VBoxGuestAdditions.iso and installed on my xp guest
Added shared permanent folder.
To access shared folder under xp, open windows exporer, goto tools, map network drive.
select drive say eg. V
Browse for folder and you should see 'Virtualbox shared folders->//Vboxsrv'
Map it and create shortcut to desktop for easy access.

-Want video chat on yahoo
yum install gyachi

-google picasa. Download rpm from http://picasa.google.com/linux/download.html#picasa30. Will have to install few dependecies first.
yum install lsb libgphoto2 openssl sane-backends audiofile esound-libs openssl-devel
rpm -Uvh picasa-3.0-current.i386.rpm

-ssh between laptops on wireless network
enable and start sshd service under services
ensure firewall has ssh enabled

-ftp between 2 laptops on wireless network
install proftpd on one laptop
start ftp service using
sudo service proftpd start
Ensure ftp is enabled on firewall
Enable port 21 port forwading on router for ip of laptop having proftpd service.

-download google chrome and install rpm
http://www.google.com/chrome/eula.html?hl=en&brand=CHMA&utm_campaign=en&utm_source=en-ha-na-us-bk&utm_medium=ha

-My desktop folders and icons went missing after an update. To get back the icons open following
sudo vi /etc/xdg/lxsession/LXDE/autostar
Change @pcmanfm2 --desktop --profile lxde
to @pcmanfm --desktop --profile lxde

-Missing java plugin on firefox 3.6
Install openjdk
sudo yum install java-1.6.0-openjdk java-1.6.0-openjdk-plugin
Restart firefox and check if plugin comes up in about:plugins. If not then
sudo alternatives --config libjavaplugin.so
Enter the number for other .so file and restart firefox.

Monday, April 5, 2010

Picasa on fedora 12 lxde spin

Download picasa rpm from http://picasa.google.com/linux/
I downloaded picasa-3.0-current.i386.rpm
sudo rpm -ivh picasa-3.0-current.i386.rpm

Above will ask for bunch of dependencies are required. Hence installed following:
sudo yum install openssl-devel openssl redhat-lsb libexif libgpohoto2 sane-backends-libs esound-libs

Note that without openssl-devel you will not be able to login to web using picasa.

Wednesday, March 31, 2010

Mount Lvm Partition and backup data using Live linux CD

Once I ran yum update on my fedora 12 lxde spin and it broke. System was unable to boot. I had to take backup before reinstalling so booted with the fedora 12 lxde live cd and ran regular mount command mount /dev/sda2 /mnt/hdd but got error - "mount: unknown filesystem type 'LVM2_member'"
After lot of googling I came across [http://forums.opensuse.org/archives/sf-archives/archives-software/337006-can-not-mount-lvm-partition-2.html] which was a life saver for me and my data. Then I ran following commands with output [indented] to mount my volume.

su

pvscan
PV /dev/sda2 VG vg_xps lvm2 [74.33 GB / 0 free]
Total: 1 [74.33 GB] / in use: 1 [74.33 GB] / in no VG: 0 [0 ]

vgscan -v
Wiping cache of LVM-capable devices
Wiping internal VG cache
Reading all physical volumes. This may take a while...
Finding all volume groups
Finding volume group "vg_xps"
Found volume group "vg_xps" using metadata type lvm2

vgchange -ay -v
Finding all volume groups
Finding volume group "vg_xps"
2 logical volume(s) in volume group "vg_xps" already active
2 existing logical volume(s) in volume group "vg_xps" monitored
Found volume group "vg_xps"
Found volume group "vg_xps"
Activated logical volumes in volume group "vg_xps"
2 logical volume(s) in volume group "vg_xps" now active

vgdisplay -v
Finding all volume groups
Finding volume group "vg_xps"
--- Volume group ---
VG Name vg_xps
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 3
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 2
Open LV 1
Max PV 0
Cur PV 1
Act PV 1
VG Size 74.33 GB
PE Size 4.00 MB
Total PE 19029
Alloc PE / Size 19029 / 74.33 GB
Free PE / Size 0 / 0
VG UUID wDR2Xa-8km9-Q5f3-4y4f-jCyE-ebkn-pQbTev
--- Logical volume ---
LV Name /dev/vg_xps/lv_root
VG Name vg_xps
LV UUID OshzOn-H2WY-6GXP-W0D9-HBJ2-fqRD-6heWXi
LV Write Access read/write
LV Status available
# open 0
LV Size 72.33 GB
Current LE 18517
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:2
--- Logical volume ---
LV Name /dev/vg_xps/lv_swap
VG Name vg_xps
LV UUID ScYasH-efcp-0yyP-i0FK-lcFJ-g33x-lo3bie
LV Write Access read/write
LV Status available
# open 1
LV Size 2.00 GB
Current LE 512
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:3
--- Physical volumes ---
PV Name /dev/sda2
PV UUID oENBs0-bYPL-8Uh3-bZsJ-H6nZ-tjDv-DUH99M
PV Status allocatable
Total PE / Free PE 19029 / 0

Note down the "LV Name" for running next command. Here LV name is /dev/vg_xps/lv_root

lvchange -ay -v /dev/vg_xps/lv_root
Using logical volume(s) on command line
Activating logical volume "lv_root"
Found volume group "vg_xps"

cd /mnt
mkdir hdd
mount /dev/vg_xps/lv_root /mnt/hdd

The logical volume has been mounted under /mnt/hdd and we can take backup now.

For those interested in knowing why the yum update created issue with my fedora 12 lxde boot, it's because of kernel update of kernel-2.6.32.10-90 on system. Defect at https://bugzilla.redhat.com/show_bug.cgi?id=578217#c8. I tried to install kernel-2.6.32.10-94.fc12.i686.rpm and kernel-2.6.32.10-94.fc12.src.rpm from http://koji.fedoraproject.org/koji/buildinfo?buildID=164636 but same issue. Hence reinstalled lxde spin and sticking to 2.6.31.5-127.fc12.i686 by disabling updates untill fedora 13 comes out.

Saturday, December 12, 2009

FEDORA 12 LXDE SPIN

After reading about super effecient lxde and having xfce earlier, I was glad that fedora came up with lxde spin. After some trial and errors and lot of googling here is my personal installation guide for my dell xps 1210

-Download and install lxde spin for fedora 12. I used the 64bit spin on my dell xps 1210

-setup sudo
login as root and execute following
echo 'loginname ALL=(ALL) ALL' >> /etc/sudoers

-disabled selinux. Though this provides great security, sometimes it is very irritating for home use.
sudo vi /etc/selinux/config
Change SELINUX=enforcing to SELINUX=disabled

-setup rpmfusion and fastestmirror
sudo rpm -ivh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm
sudo rpm -ivh http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm
run 'sudo yum install yum-plugin-fastestmirror'

-install apps that i like to use :-)
sudo yum install firefox mplayer gecko-mediaplayer mencoder gnome-mplayer java-1.6.0-openjdk java-1.6.0-openjdk-devel java-1.6.0-openjdk-plugin pidgin audacious audacious-plugins-freeworld* gpicview brasero

-Firefox tweaks
Installed following add-ons
firebug
firecookie
codeburner for firebug
colorzilla
downloadhelper
fastdial
http resource test
jsview
live http headers
measureit
modify headers
refcontrol
screengrab
Also set following params in about:config for better performace
network.dn.disableIPv6=true
network.http.pipelining=true
network.http.pipelining.maxrequests=8
network.http.pipelining.ssl=true
network.http.proxy.pipelining=true
ui.submenuDelay=0
nglayout.initialpaint.delay=0

-install flash plugin
For 32 bit sudo yum install flash-plugin should do it, but since I have 64 bit dual core, I downloaded http://download.macromedia.com/pub/labs/flashplayer10/libflashplayer-10.0.42.34.linux-x86_64.so.tar.gz and installed the plugin manually.
sudo tar -zxvf libflashplayer-10.0.32.18.linux-x86_64.so.tar.gz -C /usr/lib64/mozilla/plugins
[Well, make sure you get the latest version of the flash from this page http://labs.adobe.com/downloads/flashplayer10_64bit.html]

-install chromium instead of googe chrome
Download following rpm from http://spot.fedorapeople.org/chromium/F12/
v8-2.0.0-1.20091118svn3334.fc12.x86_64.rpm
chromium-4.0.252.0-0.1.20091119svn32498.fc12.x86_64.rpm

sudo yum install minizip nss-mdns
sudo rpm -ivh v8-2.0.0-1.20091118svn3334.fc12.x86_64.rpm chromium-4.0.252.0-0.1.20091119svn32498.fc12.x86_64.rpm

-install opera - seriosly page loads are faster than firefox
sudo yum install qt3
Download opera-10.10.gcc4.shared.qt3.x86_64.rpm from http://www.opera.com/download/
sudo rpm -ivh opera-10.10.gcc4.shared.qt3.x86_64.rpm

-install microsfot fonts.
Download the rpm created by at Mauriat. Many thanks to Mauriat Miranda for the rpm and notes at http://www.mjmwired.net/resources/mjm-fedora-f12.html
run 'sudo rpm -ivh msttcore-fonts-2.0-3.noarch.rpm'

-remove unwanted apps
run 'sudo yum remove midori gxine lxmusic xmms2 abiword iok osmo'
I also removed lot of unwanted font packages. eg. I dont read arabic, chinese, japanese and many more so why install the fonts.
run 'package-cleanup --leaves' and uninstall the listed packages
run 'sudo yum update' to update all the installed packages.
Once done reboot system

-webcam, worked out of the box with cheese application
sudo yum install cheese


-Install skype
sudo gpg --keyserver pgp.mit.edu --recv-keys 0xD66B746E
sudo gpg -a -o /etc/pki/rpm-gpg/RPM-GPG-KEY-skype --export 0xD66B746E
Add following to /etc/yum.repos.d/skype.repo and then call yum installed skype
[skype]
name=Skype Repository
baseurl=http://download.skype.com/linux/repos/fedora/updates/i586/
#gpgkey=http://www.skype.com/products/skype/linux/rpm-public-key.asc
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-skype
enabled=1
gpgcheck=1

Unfortunatly I found that this is the old version of skype. So I downloaded the new version from http://www.skype.com/go/getskype-linux-beta-fc10 and manually installed it
sudo rpm -Uvh skype-2.1.0.47-fc10.i586.rpm
Good thing with using the repo first was that the dependencies got installed and I need not manually hunt for those rpm packages.
Unfortunatly again, the new skype had issues with my webcam so i reverted back to the repo based skype version.

-Install Virtual box. I have win xp virtual machine in VirtualBox which I used for windows specific use eg. office apps.
Visit virtualbox site and check instructions for repo installation. But before that make sure you have following installed.
sudo yum install dkms gcc kernel-headers

-issue with touch pad. Scrolling and clicks did not work out of the box. I enabled click using following
sudo yum install xorg-x11-drv-synaptics
cp /usr/share/hal/fdi/policy/20thirdparty/10-synaptics.fdi /etc/hal/fdi/policy/
vi /etc/hal/fdi/policy/10-synaptics.fdi
Remove the comments around the match section in the file.
Either reboot or run following to see if touchpad click works
synclient TapButton1=1
Now for vertical scroll To verify if it's on or off, do the following
synclient -l | grep -i vertedge
If it reports VertEdgeScroll = 0, try to manually enable it
synclient VertEdgeScroll=1
If above works then add following merge line in /etc/hal/fdi/policy/10-synaptics.fdi
<merge key="input.x11_options.VertEdgeScroll" type="string">1</merge>
Many thanks to Walter Francis for his post http://fedorasolved.org/Members/khaytsus/configuring-synaptics-using-hal/?searchterm=None

-issue with keyring. When I setup my wireless, keyring popup asked me for password and I set up one. Then on every reboot if promted me to enter it which was annoying. So went and deleted /home/bhupendra/.gnome2/keyrings/default.keyring. Next time I logged back in, left keyring password emty and chose unprotected keyring settings.

-remove wallpaper, modify slim background
Slim's login screen wallpaper is background.jpg in /usr/share/slim/themes/default. I removed the symlink and dropped my own plain wallpaper.
Next to remove wallpaper on desktop, I right clicked desktop, click desktop settings and unchecked wallpaper. Instead set background color to #1B144D which was close to my login screen background image.
I wanted to remove use of wallpaper to minimize system resource use.

-disable plymouth boot screen
The plymouth graphical boot in fedora is nice but I wanted to remove it and see the conole log.
Removed rhgb quite from /boot/grub/grub.conf to achive this.
If you just want to try out other plymouth theme eg. solar (I was using this for a long time even in F11)
sudo yum install plymouth-theme-solar
plymouth-set-default-theme solar
/usr/libexec/plymouth/plymouth-update-initrd

-easy vpnc setup
I need to use cisco vpn to connect to office network. Originally I was using vpnc package and configured the setup in /etc/vpnc/default.conf. But F12 comes with nice gui setup via network manager. Make sure you have following packages for cisco
sudo yum install NetworkManager-vpnc vpnc

-bluetooth
Since lxde does not have it's own bluetooth manager, I installed bluez and hoped it would work. It did work but few gnome specific packages were also installed. Atleast I was able to see my nokia n80's bluetooth.

-minor issue with gmixer and volume control buttons on laptop
Gmixer is good but by default it sets control buttons to my mic instead of speaker. I have to manually select HDA intel alsa mixer in the selection and then change volume

-connecting to tv
Miss the gnome system-config-monitor. Using monitor settings in lxde i.e lxrandr I could only change screen resolution. I wanted to replicate my laptop screen to tv when connected with svideo and came up with following scripts.
#tvconnect
xrandr --auto --output LVDS1 --mode 800x600
xrandr --auto --output TV1 --mode 800x600 --same-as LVDS1

#tvdisconnect
xrandr --output TV1 --off
xrandr --output LVDS1 --mode 1280x800

I had to change the resolution from 1280x800 to 800x600 since that was the correct fit for my big non hd toshiba tv.

With all of the above changes, my cpu usage has seldom crossed 20% and memory usage was always under 500mb under normal use. Think my F12 lxde xps 1210 is faster than better high end laptops running bloted win* :-)

Wednesday, September 9, 2009

speed up gnome on fedora 11

disable unnecessary services eg. bluetooth and print services when not in use.

cd

touch .gtkrc-2.0
echo "gtk-menu-popup-delay = 0"| tee -a .gtkrc-2.0


login as root or sudo
yum install gconf-editor
open gconf-editor by typing it on terminal
goto /->apps->metacity->general and check 'reduced resources'