Ubuntu Tweak

29 01 2009

Downloads

The package is suitable under Gutsy, Hardy and Intrepid.

Source Code

ubuntu-tweak_0.4.4.orig.tar.gz

Deb package for all

ubuntu-tweak_0.4.4-1~intrepid1_all.deb

Old version of Ubuntu Tweak is available here:

http://code.google.com/p/ubuntu-tweak/downloads/list

How to add the source of Ubuntu Tweak

open your terminal, type the command to run gedit(or other editor in your opinion) to modify the sources.list:

sudo gedit /etc/apt/sources.list

And put the two line into it(If you are using Ubuntu 8.04 Hardy or early) :

deb http://ppa.launchpad.net/tualatrix/ubuntu hardy main
deb-src http://ppa.launchpad.net/tualatrix/ubuntu hardy main

Or Ubuntu 8.10 Intrepid:

deb http://ppa.launchpad.net/tualatrix/ubuntu intrepid main
deb-src http://ppa.launchpad.net/tualatrix/ubuntu intrepid main

Then update the source and install or upgrade Ubuntu Tweak:

sudo apt-get update
sudo apt-get install ubuntu-tweak

if you have installed, just type:

sudo apt-get dist-upgrade





Jokosher

28 01 2009
Yes! The Jokosher train rolls onward. We’ve just put out version 0.10 of the best audio editor in the whole world. the best audio editor in the whole world.
audio production made simple

Featuring user-createable Extensions, volume fades that actually
work and also look rather pretty, effects, GStreamer fixes, and a lot
more besides. Go get it.





Playing Restricted Formats(ubuntu)

9 01 2009

Follow these steps to play most common multimedia formats, including MP3, DVD, Flash, Quicktime, WMA and WMV, including both standalone files and content embedded in web pages.

Ubuntu 7.10, 8.04, and 8.10

Synaptic

  • Go to ApplicationsAdd/Remove…

  • Set Show: to All available applications

  • Search for ubuntu-restricted-extras and install it. Note that there is also xubuntu-restricted-extras (for Xubuntu) and kubuntu-restricted-extras (for Kubuntu.)

Or open the Terminal, and execute the following command:

  • sudo apt-get install ubuntu-restricted-extras





Dynamic DNS

7 01 2009

ddclient

Install:

sudo aptitude install ddclient

For Configuration /etc/ddclient/ddclient.conf

protocol=dyndns2
use=web
login=mylogin
password=mypassword
myhost.dyndns.org

Or Use No-IP

sudo aptitude install no-ip

for help type in terminal

no-ip

and read help hand book

good luke





Best Themes For Ubuntu (Gnome)all versions

7 01 2009




who install rpm packages in Ubuntu

7 01 2009

If you have an rpm file for a package you wish to install, and if you cannot find a .deb debian package in any of the Ubuntu repositories or elsewhere, you can use the alien package converter application to install the .rpm file.

Alien is a program that converts between the rpm, dpkg, stampede slp, and slackware tgz file formats. If you want to use a package from another distribution than the one you have installed on your system, you can use alien to convert it to your preferred package format and install it.

Despite the large version number, alien is still (and will probably always be) rather experimental software. It has been used by many people for many years, but there are still many bugs and limitations.

Alien should not be used to replace important system packages, like sysvinit, shared libraries, or other things that are essential for the functioning of your system. Many of these packages are set up differently by Debian and Red Hat, and packages from the different distributions cannot be used interchangably. In general, if you can’t uninstall the package without breaking your system, don’t try to replace it with an alien version.

Instructions for Installing RPM Files Using Alien

Installing Alien

You can install alien itself from the Ubuntu Universe repository by adding the repository to your list of sources and doing:

$sudo apt-get update
$sudo apt-get install alien

Installing the .rpm file

To install the .rpm file, you first need to convert it to a .deb file which can be installed on Ubuntu.
I assume that you downloaded the package to your Desktop (~/Desktop is the directory)
You can convert the .rpm to a .deb by using the following commands.
$cd ~/Desktop
-This will change the directory to your desktop, where you have the .rpm file.

$sudo alien -k name-of-rpm-file.rpm
- This will convert the .rpm to a .deb.
- The “-k” will keep the version number. Otherwise alien adds a “1″ to the version number.
- Tip: Use Smart Tab Completion to avoid mistyping the file names )

$sudo dpkg -i name-of-deb-file.deb
- This will install the .deb package

Try reading the alien manpage for more details on how to convert other kinds of packages and the options available.

if you have other format of packages ??

easy use this URL or use man alien

this programme need kommander

to install use

sudo apt-get install kommander





Run an iTunes (DAAP) server in Linux with Firefly

7 01 2009

firefly_20070422.jpg
Firefly, formerly mt-daapd, is an open source digital audio server that can stream your music library to iTunes. Linux appears to be the most supported platform, but there is also beta support for Mac OS X, Windows, and even the AppleTV!

One of its cooler features is that it’s capable of transcoding your music files on-the-fly to a format that’s playable by your iTunes client. So if you’ve been building up a huge OGG or FLAC library, Firefly will let iTunes know that these songs are available and it will automatically convert them into a format that can be played on the client.

Links:





video montage programs in linux

7 01 2009




HowTo Convert CHM files to PDF in Linux

5 01 2009

1. Download chm2pdf by clicking [Here].

3. Now extract the downloaded file.

4. Open your Terminal and browse to the folder you extracted and run:

5. sudo python setup.py install

Now to use it is very simple:

In Terminal, type: chm2pdf filename.chm

Dependencies

You need these packages installed and working:

* chmlib
* pychm
* htmldoc





Ejabberd: Setup Hints and Pitfalls

5 01 2009

Recently, I had the pleasant experience of setting up ejabberd on Centos 5, and because of this afternoon of grueling fun, I’ve decided to point out some not so obvious problems that you may run into. Ultimately, we’re going to be running this chat service in a clustered environment, which should be even *more* fun I’m sure, but lets start with the basics.

First of all, ejabberd is written in erlang, which is an extremely smart multi-threaded language, that is also extremely difficult to use for the casual user. Because of this, everything you know about setting up and running normal services written in C usually doesn’t apply… and this is exactly where it gets interesting! Before even installing ejabberd, make sure that the version of erlang you have is identical to the version that ejabberd was built against. If you don’t, ejabberd is proven to eat babies at will, and we can’t have dead babies laying around on our operating system now can we.

When I setup my install I wasn’t able to find any erlang packages lying around for Centos 5, so I built the most recent version. A quick rpm search for ejabberd, however, had plenty of packages around the interwebs that were ready to go. While this is not the best practice anyways, I figured what the hell, why not just use my local erlang and the world built ejabberd. Well… I quickly found out why.


[root@host ~]# /sbin/service ejabberd start
Starting ejabberd:                                         [  OK  ]

Ok, great!

[root@host ~]# /usr/sbin/ejabberdctl status
Node ejabberd@host is started. Status: started
ejabberd is not running

WTF.


This is one of the great things about ejabberd, erlang, and init scripts. Just because the init script started the erlang service, that doesn’t mean that ejabberd itself is running, only that erlang is ready to run it. Thankfully, you can startup ejabberd directly and save yourself the trouble of guessing what went wrong. You’ll see a bunch of debug code, but this is what you’re looking for:


[root@host ~]# /usr/sbin/ejabberdctl live

=CRASH REPORT==== 20-Jun-2008::15:09:24 ===
  crasher:
    pid: <0.118.0>
    registered_name: stringprep
    exception exit: {{case_clause,{error,driver_incorrect_version}},
                     [{stringprep,init,1},
                      {gen_server,init_it,6},
                      {proc_lib,init_p,5}]}
      in function  gen_server:init_it/6
    initial call: gen:init_it(gen_server,<0.117.0>,<0.117.0>,
                              {local,stringprep},
                              stringprep,[],[])

Now, this is awesome for those who understand erlang and can read tracebacks, but for your average user, good luck! In reality, all it is trying to tell you with “error, driver_incorrect_version” is that your version of erlang is wrong. Unfortunately, most error messages are even more cryptic. It is good that erlang has such great debugging features for coders, but you’ll never see a “Erlang version: XXX found. Incorrect version.” Installing the matching erlang version with ejabberd quickly fixes this issue.

Moving on… there is one other problem that I ran into that was very difficult to debug and probably didn’t need to be, especially because of how simple of an issue it was to fix.

Ejabberd uses a cookie system to keep track of instances and probably also relates to it’s multi-threaded, cluster ability… but your cookies have to be properly setup or *BOOM*, it no worky. Also, ejabberd is VERY finicky about permissions. Everything needs to be running as an ejabberd user and group, or the program will not even run. Trying running as root, or changing jabber files to root:root and it basically explodes in your face. Back to the cookies though… the first time you run the init script or the jabber service manually, you’ll see the mnesia database created in /var/lib/ejabberd, along with this file:

[root@host ejabberd]# ls -lart /var/lib/ejabberd | grep cookie
-r--------  1 ejabberd ejabberd     20 Jun 23 11:35 .erlang.cookie

If you cat the file there will be a random string of characters, such as: LVLUUTHHNVTIXKHRKLBJ

Ok, where does the trouble come from? First of all, there are multiple cookies that I’ve found and they all need to be the same string and have the perms be 400 erlang:erlang, or this happens:

"Error when reading /var/lib/ejabberd/.erlang.cookie: eacces"
"Cookie file /var/lib/ejabberd/.erlang.cookie must be accessible by owner only"

Now that takes care of /var/lib/ejabberd, everything should be good now right? Nope! Not yet! On each startup everything looks happy, except now it says:

[root@host ejabberd]# ejabberdctl status
RPC failed on the node ejabberd@nbabbles: nodedown

At this point I’ve about had it. Talk about frustrating, and I haven’t even configured the server yet! As it turns out, when I ran “ejabberdctl live” (or start) as root, it created yet another cookie, this time in /usr/lib64/ejabberd, the file is owned by root which ejabberd can’t read, and the data inside doesn’t match the first cookie. Great. Ok, easy fix. Copy the first cookie and perms over to this cookie:

[root@host ejabberd]# ejabberdctl status
Node ejabberd@nbabbles is started. Status: started
ejabberd is running

It’s about freaking time! *sigh* Yes, yes, I know… ejabberd and erlang are super-licious powerful… and also a pain in the ass! I guess good things don’t come easy, but you’d thinl there would be a little more info in error messages or on the web. Sadly, it seems like ejabberd is one of those mysterious and frightful programs that people don’t like to speak about. I you want some info about actually configuring the config, there is a basic tutorial over here. Good luck!