[SOLVED] Alt+F2 (Run Application dialog) stopped working

UPDATE: I figured the problem was due to messed up compiz settings. Disabling and enabling compiz (Right Click on Desktop>Change Desktop Background>Visual Effects None and then again to Normal or Extra) fixed it.
The older post follows.

I am using Ubuntu 10.10 Maverick Meerkat 32bit. After a few updates and package changes, the run application dialog mysteriously stopped working. I had to do a little compiz workaround to make it work. To start, install Openbox for the tool “gnome-panel-control “. Use Software Center or Synaptic Package Manager or just the command line:

sudo apt-get install openbox

Once it is installed, run dialog can be brought up by running:

gnome-panel-control --run-dialog

Now, lets associate this with Alt+F2 with the help of Compiz Config Settings Manager(CCSM). To do so, CCSM must be installed:

 sudo apt-get install compizconfig-settings-manager

Then, just open it: System>Preferences>CompizConfig Settings Manager. Then enable “Commands” plugin and in the plugin prefernces, under “Command” tab, enter the following in any Command Line X (where X =0, 1, 2 …) as shown below:

gnome-panel-control --run-dialog

Now, goto the “Keybindings” tab and then in the respective “Run Command X”, click the “Disabled” button and “Enable” it. Then, click “Grab Key Combination” button and press Alt+F2. Close it and now Alt+F2 should work normally.

Hope this helps.

Fixing Slow, Choppy and Laggy Maverick Meerkat (Ubuntu 10.10)

A lot of Ubuntu 10.10 users have been complaining about Maverick being too slow, typing becoming laggy and video performance being choppy.   Here are few things you can try to make it fast again. These have been collected from the user experience discussed in this post in Ubuntu forums.

Update your kernel to latest Mainline kernel

Ubuntu Maverick Meerkat uses version 2.6.35 of Linux Kernel. A lot of users have solved their problems by upgrading to version 2.6.36. You can do so by downloading the deb files and installing them from the Ubuntu Kernel Mainline PPA: http://kernel.ubuntu.com/~kernel-ppa/mainline/ Open the latest version that is available (rc8 is the latest in the time of writing this, however only 64bit is available, if you have 32-bit, use rc7) and download the following files:

If you have 32bit, choose the ones that contain i386 instead of amd64 in the name.
Install them one by one in the same order as listed above and reboot.

Note that if that does not help and if you want to switch back to 2.6.35 kernel again, you can always remove 2.6.36 kernel from Synaptic Package Manager (Alt+F2>gksu synaptic). Also note that you will not get updates to 2.6.36 even if newer versions are out, so you should update manually later if you find newer versions of 2.6.36 kernels.

Clean install

If upgrading the kernel doesn’t help you, you may want to clean install in case you have upgraded from previous versions. That may not help most of you, but still might. If you have installed 64-bit version, you may even want to switch to 32bit version as many users have reported to have no problems with 32bit version. If you install 32-bit version and have 4GB or more RAM, you should install linux-generic-pae kernel from Synaptic Package Manager so that your system can make use of all of your RAM. Some users have also mentioned going to LinuxMint has solved their problems. Or if all elese fails, go back to Lucid (10.04) and wait for Natty Narwhal (11.04) to be released.

Hope this helps.

[HOWTO] Command-line copy/paste files/directories in Linux

Command line copy and paste of files is handy for someone who likes working with the command line a lot. Here is how you can do with bash.

Open the file ~/.bashrc in gedit:

gedit ~/.bashrc

Add the following text at the end of the file:

ccopy () { 
touch /tmp/cclipboard; 
rm /tmp/cclipboard; 
for dir in "${dirlist[@]}"; do
        readlink -m "$dir" >>/tmp/cclipboard;

while read line
	do cp -R "$line" ./
done < /tmp/cclipboard 

Now, either restart the terminal or use the following command:

source ~./bashrc

To copy a file, use the following command:

ccopy /absolute/or/relative/path/to/file/or/directory

Top copy multiple itles, do this:

ccopy /absolute/or/relative/path/to/file/or/directory1 /absolute/or/relative/path/to/file/or/directory2

To paste the contents, navigate to the directory where you want to paste the contents and run the following command:


Please feel free to report bugs and modify it to your liking.

Inspired from:

Unity shell to be the default user interface for Ubuntu 11.04 Natty Narwhal

Mark Shuttleworth, at the Ubuntu Developer Summit held on October 25th 2010, has announced that the next version of Ubuntu i.e. Natty Narwhal, which is scheduled to be released in April 2011, will feature Unity Shell as the default interface. The Unity Shell was introduced in Ubuntu 10.10 Maverick Meerkat Netbook Edition.

Additionally, since Mutter has been disappointing, they have decided to change the Window manager to Compiz in Unity interface for Natty. Shuttleworth also emphasized on commitment to use Zeitgeist, which was declared earlier to be a part of Gnome 3 but later rejected.

Shuttleworth said that this change is the most significant change ever for Ubuntu. With control button moved to the left and several small modifications to the default Gnome interface, Ubuntu seemed to part away from the default Gnome interface. This change will help it even more. However, Shuttleworth has emphasized that Ubuntu is still committed to Gnome and these changes will encourage innovation and benefit the Gnome ecosystem.

Since Gnome Shell is still not ready for prime time and Gnome 3 is not coming anytime soon, this change may be refreshing for many Ubuntu users. But Ubuntu can also lose users that are committed to Gnome in the long run. Also, since people resist change, they may want to change the look and feel back to the original Gnome and continue to use Ubuntu. However, many users may move to other distros which use Gnome as is and are contributing in the development of Gnome Shell instead.

Personally, I think this change was required. The Gnome 2.x interface is too old and many users already use docks like Avant Window Navigator or Docky and remove the bottom panel anyways. If Gnome 3 would have made it by now, there would be not much reasons to choose Unity over Gnome 3. However, that is not the case and Unity will provide a visual and usability refresh for those who were bored with similar look and feel. Also, the Compiz Project, which is one of the wonderful things that have happened to Desktop Linux will continue living with the endorsement of Ubuntu.

There will be disappointed people who will speak against the change. But we have always opposed change and will continue to do so. Computerizing your workplace, upgrading from Windows 9x to NT or moving from Windows to Linux, all of these are/were not easy but once it is done, it feels way better. As a Linux user, I am all for positive changes, diversity and innovation.

[SOLVED] Disable Note of the Day Add-in Permanently in Gnote

I have been using gnote for quite some time now instead of Tomboy notes in my Ubuntu 10.10 Maverick Meerkat. Gnote currently does not disable add-ins permanently. However someone may find the Note of the Day add-in useful, it annoys me and I tried to disable it in Preferences>Add-ins, even in the latest stable version 7.2. However, that did not work. So, to disable it, I decided to move the plugin file where gnote would not load from.

To do that, you can use the following commands. It should work for any version that you have.

sudo mkdir "/usr/lib/gnote/addins/`gnote --version 2>&1| cut -d\  -f2`/disabled"
sudo mv "/usr/lib/gnote/addins/`gnote --version 2>&1| cut -d\  -f2`/libnoteoftheday.so" "/usr/lib/gnote/addins/`gnote --version 2>&1| cut -d\  -f2`/disabled/" 
killall gnote

When you start it again, the note of the day should be gone.

If you want to re-enable it again, just use the command:

sudo mv "/usr/lib/gnote/addins/`gnote --version 2>&1| cut -d\  -f2`/disabled/libnoteoftheday.so" "/usr/lib/gnote/addins/`gnote --version 2>&1| cut -d\  -f2`/" 
killall gnote

When you launch it again, the plugin should be enabled again.

Hope this helps.