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

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

gnome-tweak-tool gets a fantastic new Font Selector window

2011-10-27 1 min read Fedora

Here is the quick look at how the Font Selector looks like now. And its not just for the gnome-tweak-tool, its for all the places for font selection. I really loved it. So intuitive to use and amazingly good to look. This is what a good design and thinking can do. Kudos to Gnome team for coming up with this.

[Font Selector for Verne][1]
Font Selector for Verne
Enhanced by Zemanta

Gnome 3 screenshot with conky dock

2011-08-18 1 min read Fedora GNOME

Just to give you a idea of how beautiful it looks, here’s a screenshot 🙂

[gnome3-desktop][1]
gnome3-desktop
Enhanced by Zemanta

Total upload and download on any interface.

2011-06-05 1 min read Bash Fedora

Something that I have been searching for a long time, finally some look inside the <a class=“zem_slink” title=“Procfs” rel=“wikipedia” href=“http://en.wikipedia.org/wiki/Procfs" _mce_href=“http://en.wikipedia.org/wiki/Procfs">/proc got me what I wanted. Hope this will save someone’s day. So far, the only option I could think of was to run conky which becomes a little heave on some of the very old laptops I have to use sometimes 🙁

  <td>
    <div class="text codecolorer">
      &nbsp;cat /proc/net/dev|grep eth2|awk '{print $2/1024/1024"&nbsp; "$10/1024/1024}'
    </div>
  </td>
</tr>
1
Enhanced by Zemanta

Results of Fedora 16 Release Name Voting

2011-04-20 1 min read Fedora

Fedora 16 is codenamed Verne. Here are other details:

The voting has concluded for the Fedora 16 release name, and the
results are in!  Thank you to the Fedora community members who made
name suggestions and participated in the voting.

The Fedora 16 release name is: Verne

Voting period:  Tuesday 2011-04-05 00:00:00 to Monday 2011-04-11 23:59:59
Number of valid ballots cast:  421

Using the range voting method, each candidate could attain a maximum
of (421*9) = 3789 votes.

Continue reading

New feature in Gnome/Nautilus

2010-12-05 1 min read Fedora GNOME

One of the things that I never realized that I am missing in Nautilus until they put the feature in was this. When a file is being copied and there is conflict, there should be option to rename the new file being copied. Also, if the file being copied is image then a small preview/thumbnail would be good.

Yesterday while copying some files, suddenly I noticed that this feature is there now. Pretty useful feature to have. Here’s the screen-shot.

Continue reading