Friday, August 17, 2012

Use WICD instead of NetworkManager in Ubuntu 12.04

In Kubuntu 12.04, I have noticed that NetworkManager doesn't like to work after a resume from sleep. So I will show you how to replace it with WICD, which is a whole lot more reliable.

Prerequisites

  • Any flavor of Ubuntu, version 12.04
  • An already-working internet connection with NetworkManager
  • NetworkManager not successfully connecting after resume from sleep

How to make the switch

First, install WICD. Open a terminal and type:

sudo apt-get install wicd

Note that this installs wicd-gtk. This is okay for Kubuntu users, as the GTK client is a lot easier to use than the KDE one.

Second, uninstall NetworkManager.

sudo apt-get --purge autoremove network-manager

That's it! Enjoy WICD.

Wednesday, August 15, 2012

Multiple .minecraft's easily switchable with MCProfileMan

Hello everyone, and welcome to my new blog Linux Tips & Tricks. I will show you MCProfileMan, which was made by me and creates easily switchable .minecraft's.

Prerequisites

  • Any Linux distro.
  • Minecraft. If you do not play Minecraft, do not continue, as this script will be useless to you.

Otherwise, there's nothing else. zip is a standard Linux program, so there's nothing to install and this will work on all Linux distros.

How to use

Obviously, you need to download it.

Open a terminal (e.g. Ctrl+Alt+T in Gnome or Konsole in KDE).

Make sure you're in the download directory (usually Downloads):

cd Downloads

Extract the script:

unzip mcprofileman_0.3.zip

Make it executable:

chmod +x mcprofiles

Now the script is ready to use. You can add a profile like so:

./mcprofiles add

Then it will prompt you for a name and create the profile. You can switch it with your current .minecraft like so:

./mcprofiles switch

It will show a list of the profiles (numbered) and prompt for a number; then it will prompt for a name for the profile that was your .minecraft.

Run ./mcprofiles usage for more.