Posts

Showing posts from March, 2013

Python Chronicles: Updating FB Status using Python & GraphAPI

So, while I was exploring the infinite possibilities presented by Python. I found this great python package facepy . Using which you can update your facebook status from python terminal. The only prerequisite is that you must be facebook developer to gain access to GraphAPI. Following the steps given below, you can also update your status using python: 1. Download facepy and install it by running this command:       python setup install 2. Create a new application or use an existing one previously created. 3. Run python.exe from command terminal (cmd in Windows). Use the user access token created in the previous step with facepy: >> from facepy import GraphAPI >>ACCESS_TOKEN = 'access-token-copied-from-graph-api-explorer-on-web-browser' >>graph = GraphAPI(ACCESS_TOKEN) >>graph.post('me/feed', message='Hello World!') That's it. You may further experiment with GraphAPI using facepy. Happy Experimenting!! MG

Changing the Login Screen in Xubuntu 12.10

So, I've commenced my experimenting phase in Xubuntu by changing its login screen. For changing the login screen in Xubuntu, follow the steps given below: 1. Switch to root user using the command:       sudo -i 2. As per Wikipedia, LightDM is an X display manager that aims to be light, fast, extensible and multi-desktop. It uses various front-ends to draw login interfaces,so-called Greeters. Allow the user lightdm to create a connection to the X server using this command:     xhost +SI:localuser:lightdm 3. Switch to Lightdm and set its default shell as bash.     su lightdm -s bash 4. Edit the 'lightdm-gtk-greeter.conf' using any suitable editor.      vim /etc/lightdm/lightdm-gtk-greeter.conf 5. Replace the default image address in background entry in the [greeter] section with the path address to your desired image. You can also change theme, logo, icon theme and font from here. [greeter] logo=/usr/share/pixmaps/xubuntu-lightdm-computer.png

Living with the Wild Penguin, Linux - The First Step

My search for a Linux began a long time ago. But most flavors of Linux that I experimented with were either unstable or threatened to turn my laptop into an oven. The main reason behind these issues were my laptop's switchable graphic cards,unavailability of suitable open-source/propriety drivers and their graphic-intensive nature.  After a long search for a light-weight and less graphic-intensive Linux, the answer to my problem came from none other than the Father of Linux - Linus Torvalds. And the answer was XFCE. I decided place my bets on Xubuntu 12.10, since it has the stability of XFCE and Ubuntu's rich repository as we.ll as large support community.  While installing, Xubuntu  also seemed to overheat my laptop. But after a bit of googling, I was finally able to resolve the overheating issue by following the steps given below: 1. Open the rc.local file as the root user.                 sudo vi /etc/rc.local 2. Now, copy and paste the following two lines just b