Stop YouTube from autoplaying a video when opened

A very nice plugin for Google Chrome (or Chromium) that allows you to open as much videos as you want without them playing automatically where you must open each video and pause it yourself.

The surprise is: It’s pre-buffering 🙂

Stop Autoplay for YouTube

Tagged , , , | 1 Comment

Setup an SSH/SFTP Server on Ubuntu

sudo apt-get install openssh-server

That’s it, you can now connect to your machine via SSH/SFTP from any other machine on the same network, it’s easy, fast and secure.

Tagged , , , | Leave a comment

Setup an FTP server on Ubuntu

Installing an FTP server on your machine facilitates sharing and transferring files easily and quickly.

ProFTPD is an FTP server that is easy to install, use, and configure.

To install ProFTPD on ubuntu:
sudo apt-get install proftpd

To start proftpd;
sudo /etc/init.d/proftpd start

To configure proftpd, edit the file:
/etc/proftpd/proftpd.conf

Posted in Uncategorized | Tagged | Leave a comment

Adding a software repository from Ubuntu PPA in Ubuntu Karmic and later

This new method is easier than the old one which required you to edit your software sources manually, and then get the key and import it. The new one is as follows:

  1. Go to the PPA page of your interest, e.g. URL, check the name of the new repository, it is “ppa:transmissionbt/ppa” in my example.
  2. Open a terminal and type “sudo add-apt-repository ppa:transmissionbt/ppa
  3. Done! This both adds the entry to your software sources list as well as importing the key which authenticates that repository.
  4. Don’t forget to refresh your repository to be able to update/install new packages “sudo apt-get update

PPA = Personal Package Archives, i.e. the user-contributed software repositories.

Tagged , , , , | Leave a comment

Workaround for Ubuntu Karmic Bug: Window List buttons do not always respond to mouse clicks

Here is the bug URL

I got the solution from there as well, as this was an extremely annoying bug for me and I consider it a FATAL One!

Open a terminal and run the following command:

nohup env GDK_NATIVE_WINDOWS=1 gnome-panel –replace &

Where:

nohup“: To run the command independent from the terminal, so as not to cancel the action if the terminal is closed.

&‘: Must be put at the end of a command run using “nohup” to run it in the background and avoid canceling the command.

That’s it!

The above command will restart the “gnome-panel” and you’ll find that the bug disappeared.

I haven’t restarted my machine yet to know whether this command is persistent or not (I think not), but anyway it can be easily put in the session startup if it’s not.

Thanks go to “schuetza” who suggested this nice workaround on the original bug report.

Tagged , , , , | Leave a comment