fredforfaen

My trip through Linuxland

Configuring rtorrent for Debian sid

Note:

After having used bittorrnado for several years now i discovered rtorrent that seems faster and more flexible than btlaunchmanucurses, that i’ve used previously. It just seems like it does the job better and faster.
First of all you need to install it:

su

Password:

apt-get install rtorrent

Now you need to create a configuration file called .rtorrent.rc in your home directory. Use your favorite text editor and open the empty file. Click here for a complete list of commands to insert into the file. You don’t need all the commands, just a few, so I’ll give you an example from my .rtorrent.rc file:

#Max uploads per torrent
max_uploads = 15

#Max downlad/upload rate in KiB, 0 is unlimited
download_rate = 0
upload_rate = 30

#Default save directory, change to suit your needs
directory = /home/thomas/tmp

#Look for torrents in specified directory, change to suit your needs
schedule = watch_directory,5,5,load_start=/home/thomas/tmp/*.torrent

#Stop and remove deleted torrents
schedule = untied_directory,5,5,stop_untied=

Save the file and start rtorrent from a terminal. Now…..I have specified rtorrent to look for torrents in my tmp/ folder, so to download i just save my torrents to that directory and delete the torrents and move the files when they are done. You can also tell rtorrent(in the terminal) to get a torrent from a location on your harddrive, or a web location, just press backspace and paste/type in your location or address for the torrent-file and hit enter. For more information on how to use rtorrent do this:

man rtorrent

Here is a screenshot of rtorrent in action:

rtorrent in action

And BTW to quit you do a:

^q

:)

June 17, 2007 Posted by fredforfaen | Hints and tips | | 1 Comment

My screenshots

New XFCE4/compiz-fusion setup:
CF screenieWhite theme

My XFCE4/beryl setup:
My XFCE4 setupRed themeOSX themeSummer is hereVista theme
Ion3 screenies, tiled and floating:
2007-06-13-011344_1600x1200_scrot.pngMy screenie

June 15, 2007 Posted by fredforfaen | My setup | | No Comments Yet

A simple way to get your sensors working in Debian sid

Note:

First of all you need lm-sensors, if you haven’t got it crack open a terminal and just do this:

su

Password:

apt-get install lm-sensors

Now you need to detect your sensors, do this:

sensors-detect

Answer yes to every one of the questions. Now your set! Just reboot and your sensors should be up and running.But if you don’t want to reboot you can just modprobe the modules(sensors) listed at the very end of sensors-detect, like this:

modprobe it87

Now lets see if it all works, do this:

sensors

This should give you an output like this:

it8712-isa-0290
Adapter: ISA adapter
VCore 1: +1.38 V (min = +0.00 V, max = +4.08 V)
VCore 2: +2.67 V (min = +0.00 V, max = +4.08 V)
+3.3V: +3.31 V (min = +0.00 V, max = +4.08 V)
+5V: +4.27 V (min = +0.00 V, max = +6.85 V)
+12V: +12.22 V (min = +0.00 V, max = +16.32 V)
-12V: -11.77 V (min = -27.36 V, max = +3.93 V)
-5V: -4.84 V (min = -13.64 V, max = +4.03 V)
Stdby: +3.74 V (min = +0.00 V, max = +6.85 V)
VBat: +4.08 V
fan1: 4017 RPM

fan2: 0 RPM
fan3: 0 RPM
M/B Temp: +25 C (low = +127 C, high = +127 C) sensor = thermistor
CPU Temp: +42 C (low = +127 C, high = +60 C) sensor = thermistor

Good luck!

June 13, 2007 Posted by fredforfaen | Hints and tips | | No Comments Yet

Flash and Java for 64-bit debian sid/sidux in Iceweasel

Note:

Flash

First of all you need to install nspluginwrapper:

apt-get install nspluginwrapper

Now go get flash9 here and unpack the file to somewhere logical. I unpack it to /home/thomas/flash for example (to unpack do this in the directory where you have placed the tar.gz file :unp filename.tar.gz). When you’ve unpacked it you will find one file of interest : libflashplayer.so

Shut down Iceweasel. Now go to ~/.mozilla/plugins then do this:

nspluginwrapper -i /home/homedir/folder/install_flash_player_9_linux/libflashplayer.so

When you start up Iceweasel again flash should be installed.

PS: This is my way to do it….. there may be other more correct ways to get there.

Java

Java may not work on all sites with this solution but it works generally, and it’s easy to install. Shut down Iceweasel and do this:

apt-get install java-gcj-compat-plugin

Thats it! Just fire up Iceweasel again and it should work.

Good luck!

PS: I’ve tested these two methods only once, there may be errors. Contact me by commenting here or send an e-mail to fredforfaen at gmail dot com if it doesn’t work.

June 10, 2007 Posted by fredforfaen | Hints and tips | | 1 Comment