Tuesday, February 23, 2010

How to post to Google Buzz while browsing.

Google Buzz was announced on February 9, 2010. It's Google 
gone social, or "Google's approach to sharing." I am sure you 
must be sharing to your friends by Posting  Google Buzz. If you 
don't use Buzz till now, visit http://www.google.com/buzz or 
login your gmail account and start using now. 

There are different ways to post to Google Buzz.
   --Login to gmail account, Click on Buzz, Start posting.
   --Send mail to buzz@gmail.com, what you want to 
     post to Google Buzz.
   --You may use different mail clients i, e, Outlook, 
     Thunderbird, Mail etc. to post to Google Buzz by 
     sending mail to buzz@gmail.com.
   --Click on "buzz this" button on the site. There are very 
     few web sites and blogs where you can find this button. (I found 
     this link only on http://mashable.com/)

But what if you want to post some thing you find interesting while 
browsing internet and site doesn't provide any link "Buzz this". I am 
going to share you the solution for this problem. You can post 
Google  Buzz while browsing by just clicking on icon on your browser.
Login to your Google Reader account. Don't have Google Reader. 
Don't worry, visit http://www.google.co.in/reader. Login with your 
gmail account.
Click on "Notes" in left pane.


On right side, you will find "Note in Reader" button. Drag this button 
to your Browser's Bookmark Toolbar.
Rename "Note in Reader" to "Buzz this" or whatever you like.
You have successfully created "Buzz this" Button on your browser. 

Now you can start using this icon. You can post while browsing. 
Suppose you are browsing any web site and you want to share in 
Google Buzz, Just click on "Buzz this" icon. You may find this screen 
if you are not login currently. Click on"sign in to your Google Account".

Click on the fields to edit. When editing complete click on 
"Post Items" Don't forget to select "Add to shared Items" 
other wise it will not appear in Buzz.
Enjoy Buzzing......................

Read more…

Saturday, February 13, 2010

Disable GDM "face browser" user list in Fedora 12

GDM (Genome Display Manager) supports a face browser which displays a list of users who can login and an icon for each user. But for security reason i didn't want to display list of all system users. So I decided to disable GDM "face browser" user list. I found the solution to disable face browser by "gonf-editor",
Applications > System Tools > Configuration Editor > Apps > gdm > simple-greeter
Check  "disable_user_list" in right pane.
but it didn't work for me. This is a reported bug (https://bugzilla.redhat.com/show_bug.cgi?id=445449). So I decided to use "lxdm", a nice Display Manager from lxde which by default disable list of users.
lxdm screenshot
                                                lxdm screenshot
Install lxdm
Login with "root" and run the following command.
#yum install lxdm                                                                   
Start lxdm by default
#echo "DISPLAYMANAGER=LXDE" >/etc/sysconfig/desktop          
edit "/etc/X11/prefdm". Notice bold text in script. New prefdm will look like :-
----------------------------------------------------------------------------------------
#!/bin/sh

PATH=/sbin:/usr/sbin:/bin:/usr/bin

# We need to source this so that the login screens get translated
[ -f /etc/sysconfig/i18n ] && . /etc/sysconfig/i18n

# Run preferred X display manager
quit_arg=
preferred=
if [ -f /etc/sysconfig/desktop ]; then
    . /etc/sysconfig/desktop
    if [ "$DISPLAYMANAGER" = GNOME ]; then
        preferred=/usr/sbin/gdm
        quit_arg="--retain-splash"
    elif [ "$DISPLAYMANAGER" = KDE ]; then
        preferred=/usr/bin/kdm
    elif [ "$DISPLAYMANAGER" = WDM ]; then
        preferred=/usr/bin/wdm
    elif [ "$DISPLAYMANAGER" = LXDE ]; then
          preferred=/usr/bin/lxdm

        elif [ -n "$DISPLAYMANAGER" ]; then
        preferred=$DISPLAYMANAGER
    else
        quit_arg="--retain-splash"
    fi
else
    quit_arg="--retain-splash"
fi

# shut down boot splash
/usr/bin/plymouth quit $quit_arg

shopt -s execfail

[ -n "$preferred" ] && exec $preferred "$@" >/dev/null 2>&1

# Fallbacks, in order
exec gdm "$@" >/dev/null 2>&1
exec kdm "$@" >/dev/null 2>&1

for pkg in $(rpm -q --qf "%{NAME}\n" --whatprovides "service(graphical-login)"| LC_ALL=C sort -u) ; do
    dm=$(rpm -q --provides $pkg | awk '/^service\(graphical-login\)/ { print $3 ; exit }')
    if [ -n "$dm" ]; then
        exec $dm "$@" >/dev/null 2>&1
    else
        exec $pkg "$@" >/dev/null 2>&1
    fi
done

# catch all exit error
exit 1

-----------------------------------------------------------------------------------------
That's all. You have replaced GDM with new "LXDM". Reboot system to see you new login window.

Read more…