Friday, June 21, 2013

Deluge Web UI FAQ

Web UI

What is the default password

The default password for the web interface is 'deluge'. You should change this upon first login for security reasons.

How do I change the password?

In the Web UI:
  1. Click on "Preferences"
  2. Select the "Interface" category
  3. Fill out the fields under "Password"
  4. Click "Change"

How can I reset the password?

Note: you need to stop the Web UI before you do any of the following.
If you have forgotten the password, you can reset it by deleting web.conf from Deluge's config directory.
Important: This will delete all of your Web UI settings.
You can also reset it by using the following script (which does not delete your existing settings):

**To create the script you can use these commands

  1. nano delugepasschange

#!/usr/bin/env python                                                                                                                                                                         
# Changes the password for Deluge's Web UI

from deluge.config import Config
import hashlib
import os.path
import sys

if len(sys.argv) == 2:
    deluge_dir = os.path.expanduser(sys.argv[1])

    if os.path.isdir(deluge_dir):
            config = Config("web.conf", config_dir=deluge_dir)
        except IOError, e:
            print "Can't open web ui config file: ", e
            password = raw_input("Enter new password: ")
            s = hashlib.sha1()
            config['pwd_sha1'] = s.hexdigest()
            except IOError, e:
                print "Couldn't save new password: ", e
                print "New password successfully set!"
        print "%s is not a directory!" % deluge_dir
    print "Usage: %s <deluge config dir>" % (os.path.basename(sys.argv[0]))

How do I run the script?
  • You need to run the following commands to run the scipt

1. First you need to chmod the script so it can be executed
2. Then run the script
3. Then you need to stop and restart the webui
  1. sudo chmod 777 delugepasschange
    ./delugepasschange /home/USERNAME/.config/deluge

How do I stop and restart the Web UI?

  • You need to run the following commands
  1. killall deluge-web
    Or you can start the Web UI from the desktop deluge application by going to
    Edit-> Preferences-> WebUi -> Enable web interface

How do I use https?

  1. Create (self-signed) ssl certificates:


  1. Put deluge.cert.pem and deluge.key.pem in ~/.config/deluge/ssl/


  1. Put deluge.cert.pem and deluge.key.pem in %APPDATA%\deluge\ssl\


  1. Enable https in the webui config.
  2. Restart the webui

Can I bind the webui to port :80 in Linux?

You cannot bind to anything under 1024 in Linux, however if you have kernel 2.6.24 or higher, you can use capabilities to allow python to bind to port 80 securely. In debian/ubuntu:
  1. sudo apt-get install libcap2-bin
  2. sudo setcap 'cap_net_bind_service=+ep' /path/to/python
  3. Configure the WebUI to use port 80
  4. Restart deluged daemon.

How do I configure plugins with the WebUI?

Not all plugins are configurable directly with the WebUI right now. The easiest way to configure the plugins is to use the GTK UI. If you cannot install the GTK UI on the machine with your daemon, it is possible to connect to that daemon from another computer with the GTK UI. See ThinClient for more information on remote GTK UI.

How do I auto-connect to a specific daemon?

  1. Stop the Web UI
  2. Edit web.conf, find "default_daemon" and set its value to the daemon & port you want to auto-connect to.
    e.g. to connect to (localhost) on port 58846, you would have something like this:
    "default_daemon": "",
  3. Restart the Web UI

Wednesday, June 19, 2013

How To Perform And Restore A NANDROID Backup

A backup taken at the right time can save you a LOT of hassle. A NANROID backup is basically a backup of your Android operating system from the phone’s NAND memory, saved to the storage card. It is always advisable to take a NAND backup of your phone before you attempt to flash a new ROM to it so that in case anything goes wrong, you can revert your phone back to its previously working state. In the following guide, we will tell you how you can take a NANDROID backup and restore your phone from one you’ve already taken.
Update: You might also want to check our guide on creating NANDroid backups without booting into recovery.
Before you can proceed with the backup or restore process, your phone must be rooted and have Clockwork Recovery installed. You can use our guide on how to install Clockwork Recovery to your Android phone. Note that this process takes the backup on the SD card so it must have enough free space to hold the entire contents of your phone memory. Also, it does NOT take the backup of the contents of the SD card itself, so you will need to manually backup those in case you need them later.

The easiest way to perform, restore or manage nandroid backups is to use ROM Manager. It is a free Android app that you download from the Android Market and use while running Android to schedule operations to be performed in recovery. It provides you with a GUI for installing ROMs as well as performing, restoring and managing backups. It does not perform the actions themselves but rather reboots the device into recovery after you have scheduled these actions, and then automatically performs them via recovery. For further information, check out our coverage of Android ROM Manager. Its interface makes using it a breeze as all the options are laid out very conveniently.
There are situations when you need to perform, restore or manage backups while you are not booted into android, or can not boot into it because of some errors. In such situations, you can use the following direct method.
To take a NANDROID backup:
  1. Boot your phone into recovery. In case you don’t know how to do that, you can do it by simply launching ‘ROM Manager’ if you have it installed, and tapping ‘Reboot into Recovery’. In case you don’t have ‘ROM Manager’ installed, you can follow our guide on how to reboot your Android phone into recovery.
  2. Scroll down to ‘nandroid’ or ‘backup and restore’ and enter it (by pressing the trackball or optical track pad button on most phones; could be the power button on some phones that lack a trackball or an optical track pad.)
  3. Select ‘backup’, and wait patiently for the backup process to complete.
  4. Reboot your phone, and you’re done. You now have a complete backup of EVERYTHING on your phone memory taken on your SD card.
To recover a previously taken NANDROID backup:
  1. Follow steps 1 and 2 of the backup process.
  2. Select ‘restore’. You will now see a list of previously taken backups.
  3. Select the backup that you want to restore, confirming any prompts that you may see.
  4. Wait patiently while the restore process finishes, and reboot your phone once its done. You have now restored EVERYTHING on your phone’s memory to the way it was when that backup was taken.

LMT Launcher Brings “PIE” Goodness Without the Custom ROM

LMT Launcher
If you have been following our coverage of Paranoid Android ROM’s PIE and full desktop features, then we also wanted to direct you to an app with similar qualities that can be installed outside of a ROM. It’s called LMT Launcher, and it has been around for quite some time – November 2011 to be exact. It received a pretty major update today, though, so we wanted to make sure you were all aware of it. Its set of features is quite close to the PIE from PA’s ROM that we showed you, but only requires that you be rooted in order to use it. So for those of you looking for PIE goodness while remaining stock, this is an option. 
In the video below, I summarize the launcher in the briefest of manners. It’s one of those apps that you could probably spend a couple of hours with, tweaking and testing, until you find a setup that you like. But the basics are this – it allows you to setup regions to swipe from to access the PIE menu (pictured above), use gestures for completing actions, and set invisible swipe areas so that you can perform tasks from anywhere. There are custom color options, buttons that can be turned to actions in the PIE menu, and so much more.
If this sounds interesting enough, and it should since it received a sizable update this morning, then check out the video before jumping through to the XDA thread down below.

Via:  XDA [Download]

Saturday, June 1, 2013

How to install MODS for Minecraft


First off, I'm new here, and since I'm new, I've had my troubles with Minecraft. But since I've learned, I feel like sharing to help out all the people I see with troubles with mods (I used to take half an hour to do just one mod and figure ­ out xD)

Trying to get images as well.


-WinRAR (Or any other program that can extract and open .jar files
- The mod you wish to use (if it's in an archive, extract the files and get them ready)



Read the OP's instructions carefully, and look for updates in the thread carefully.

To open your .minecraft folder:

In Windows 7: C:\Users\Your User Name\AppData\Roaming\.minecraft

In Windows Vista/XP: C:\Documents and Settings\*your user name*\Application Data\.minecraft

Linux: /home/Your User Name/.minecraft

Mac OS/X: ~/Library/Application Support/minecraft

.minecraft Folder

The .minecraft folder looks something like this:


What's inside the bin folder is what we need:

-version file

Open the minecraft.jar file with WinRAR or the program of your choice. (Some programs may make another .jar file with the name "minecraft" in it, such as xau's HD Texture Patch which made a "minecraft-1.1_02" jar in my folder. Don't mod these .jar's, only mod "minecraft.jar")


This part is really simple. Now that you have your .minecraft.jar open, you can follow the instructions of the mod you got. Most instructions are like this:

-Extract the contents of the mod to a temporary folder (I keep all my stuff in a folder called Minecraft Tools on my Desktop, makes it easier to do over if I screw up again).

-Drag and drop the contents of the mod into the WinRAR window that has minecraft.jar open. If the mod has any folders in it that are the same name as any in the minecraft.jar (such as armor or gui, don't worry, WinRAR will merge the contents together)

-Some mods require the deletion of the META-INF folder. Do this if it is required for the installation of the mod.

-Finish any other instructions, and then you're done!