Ubuntu hushlogin

2013-03-27 1 min read Uncategorized

In Ubuntu, if you do not like all the information that comes when you do a remote login, then you just need to do this:

 

touch ~/.hushlogin

steam on Linux – for Fedora

2013-02-22 1 min read Fedora
The Fedora Project logo
The Fedora Project logo (Photo credit: Wikipedia)

 

I was trying to get steam on linux on my Fedora box. Headed over to steam website, but was astonished to find only Ubuntu client over there.  A little googling presented me with the developer website blog of valvesoftware.com. So, here is the link for you, just in case you are searching for the same:

Continue reading

Ubuntu – Really force remove a package.

2012-09-17 1 min read Linux

I was trying to remove a package on one of the Ubuntu installations the other day and was not able to do so. I tried google and tried all the options mentioned in various forums like “-f”, purge, reinstall and few others but nothing helped. I kept getting some errors about some files being already deleted. I also tried “set -e” in the prompt but the only result I got was terminal also getting killed.

Continue reading

script for changing gnome-terminal color schemes.

2012-08-25 3 min read Fedora
This is the Gnome-Logo made with vectors. GNOM...
This is the Gnome-Logo made with vectors. GNOME and the foot logo are trademarks of the GNOME Foundation. Español: Éste es el logo de Gnome hecho con vectores. GNOME y el logo del pie son marcas registradas de la Fundación GNOME (Photo credit: Wikipedia)

Earlier I had posted this. So, if you want to try all of these schemes, then you need not have to copy paste the schemes from the web page, you can try the below script.

Continue reading

Ubuntu setup – post installation script

2012-07-03 4 min read Bash
My iPhone apps as of February 2010
My iPhone apps as of February 2010 (Photo credit: dougbelshaw)

If you have done a new installation of Ubuntu or Fedora, then yuou know you have to search all kind of blogs to find out what all to install. So, here is a easier way to do that. Just run this script, it will install some applications which are mostly a “MUST” for all the installations. And the list of applications that are installed are :

Continue reading

Display X applications from virtual terminals

2012-05-03 1 min read Fedora GNOME
GNOME Session plugin
GNOME Session plugin (Photo credit: David Siegel)

Here is a script that can help you set the proper envirionment to start a gnome-shell from one of the terminals.

#!/bin/bash - 
#===============================================================================
#
# FILE: xenv.sh
# 
# USAGE: ./xenv.sh 
# 
# DESCRIPTION: http://live.gnome.org/GnomeShell/Debugging
#
# 
# OPTIONS: ---
# REQUIREMENTS: ---
# BUGS: ---
# NOTES: ---
# AUTHOR: Amit Agarwal (aka), amit.agarwal@roamware.com
# CREATED: 09/14/2011 04:45:31 PM IST
# Last modified: Wed Sep 14, 2011 04:45PM
# REVISION: ---
#===============================================================================

gnome_session=$(pgrep -u $USER gnome-session)
eval export$(sed's/\o000/\n/g;' < /proc/$gnome_session/environ |grep DISPLAY)
eval export$(sed's/\o000/\n/g;' < /proc/$gnome_session/environ |grep XAUTHORITY)
eval export$(sed's/\o000/\n/g;' < /proc/$gnome_session/environ |grep DBUS_SESSION_BUS_ADDRESS)

So, once you have done that you have the correct environment to use the X display and thus you can start the gnome-shell as well or do any other fancy thing that you want 🙂

Continue reading

Tora installation on Fedora 16 with rpm

2012-02-09 1 min read Database Fedora
[TOra][1]
Image via Wikipedia

Last article I talked about tora installation from the sources, but if that is too much for you then you can use this one liner:

rpm -ivh "http://amit-agarwal.co.in/mystuff/tora-2.1.3-1.fc16.i686.rpm"

But if you like the hard way out, then you can always try this.

Enhanced by Zemanta
Older posts Newer posts