ubuntu-9.04

where can I find video4linux2 device /dev/video in ubuntu 9.04.

where can I find video4linux2 device /dev/video in ubuntu 9.04. ADDED. I want to work with Hardware Overlays. I want to make a video player which play video on one overlay and draw controls on other overlay. For that I want to use video4linux. ...

Send selected text to a command line argument

I found this utility, pytranslate, which translates a variety of languages into each other using Google's translation API. It works exactly as described. However I've gotten sick of selecting a word I do not understand, then middle-clicking it into the command. The command format is as such: pytranslate WORD Is there a program/scrip...

ubuntu + httprint

hi i wanted to install httprint on ubuntu, i write apt-get install httprint. it says that it cannot find package httprint. how can i get httprint? thanks ...

mod_jk help with apache2 tomcat6 and railo3 on ubuntu server 9.04

Hello I am trying to setup the coldfusion server railo on tomcat6 and using apache2 to connect to tomcat via mod_jk. I've gotten everything setup except that i would like to be able to have my railo webapp use the /var/www (my default apache directory) as its home directory since not every file need to be processed by railo. What is the ...

Does PySVN need Subversion installed?

I have python script that uses pysvn and checks out or updates a local copy obtained also from a local repo. client.checkout(url, path, revision=pysvn.Revision(pysvn.opt_revision_kind.number, RevNumber), ignore_externals=False) I am running this on a windows machine in which I haven't installed subversion. The svnsync used to obtain ...

How to use external makefile in Eclipse

Hi all! I have a source code of an OpenSource project which I get from SVN. I was able to run autogen --> configure --> and make successfully (through the terminal). But I want to build the same project with Eclipse, and I can't port manually those source files to eclipse though. So, How can I set Eclipse to use external make files ? ca...

Emacs: Yanking not working when executing a macro

When recording a macro, if I perform any kind of kill (backward-kill-word), followed by a yank , the macro stops execution at the point of the yank and exits. Nothing I do seems to work to be able to actually yank something in a macro. I'm running emacs 22 on Ubuntu 9.04. ...

google app engine (python): ImportError no module named django.

So I'm trying to use the django 1.1 template engine with the google app engine web app framework, from here. This is on Ubuntu Jaunty, I've made sure that the PYTHONPATH contains the location of Django-1.1.1 yet I'm getting this 'ImportError: No module named django' error when it tries to execute the use_library() line below. Again, coul...

During insatllation of "Istream" (which is an internet radio client ) on ubuntu 9.04 we get an error - main.c:1:19: error: gnome.h: No such file or directory. How to resolve it?

During installation of "Istream" (which is an internet radio client ) on ubuntu 9.04 we get an error - main.c:1:19: error: gnome.h: No such file or directory. How to resolve it? ...

PHP not sending emails, no errors in logs

I've got an Ubuntu server set up with PHP 5.2, apache and sendmail. I've got some Drupal sites that should be sending emails but are not. I don't see any errors in the apache logs and there appears to be nothing in /var/log/mail.log. What do I need to do to debug this? ...

UDP socket persists in "Established' state -- WTW?

I have an application which occasionally leaves an entry in the output of the netstat command which indicates a UDP socket is associated with a port on another machine, and the state that the netstat command reports is "established". To my understanding, this does not make sense -- UDP is a connectionless protocol, right? When this hap...

ubuntu: sem_timedwait not waking (C)

I have 3 processes which need to be synchronized. Process one does something then wakes process two and sleeps, which does something then wakes process three and sleeps, which does something and wakes process one and sleeps. The whole loop is timed to run around 25hz (caused by an external sync into process one before it triggers proces...

Cannot connect to MySQL with JDBC - Connection Timeout - Ubuntu 9.04

I am running Ubuntu and am ultimately trying to connect Tomcat to my MySQL database using JDBC. It has worked previously but after a reboot the instance now fails to connect. Both Tomcat 6 and MySQL 5.0.75 are on the same machine Connection string: jdbc:mysql:///localhost:3306 I can connect to MySQL on the command line using the mysq...

Init Startup of Tomcat

Hi I put a init script into /etc/init.d to startup the Apache-tomcat. when i'm reboot the machine. i think the Tomcat try to start and aborted in some level. i am using Ubuntu 9.04. my guessing is the given time to start the tomcat is not enough. if any way have to increase the time to execute a script in startup. ...

Installing Python 3.1.2 from source, how do you resolve the sqlite3-dev dependency?

Running ubuntu 9.04 "jaunty". When I run make I get the following error: Python build finished, but the necessary bits to build these modules were not found: _sqlite3 So the easy solution is to just install the missing dependency using apt-get, "sudo apt-get -f install libsqlite3-dev" but I get the following error: The following...

Linux blocking udp socket won't receive

Hello, I am openning a udp blocking socket on an ubuntu machine, it goes successful (no errors returned). When sending data to that machine and port from another machine the receive doesnt breaches and in a wireshark sniffer I see and Icmp error "port unreachable". I though it might be an iptables problem and opened the port for accep...

Does datatable work with Ubuntu?

I've been trying to make a datatable..but the data still does not show although the datatable's head and icons all show. I tried to get rid of the scripts, one by one, to search for the problem. I've copied all script at datatable.net (with copy-and-paste) but the data still does not show. Is this script not compatible with Linux Ubun...

Spawn a process with php doesn't work

Hi, I tried to start a background process with php, for that, I added a & at bottom on exec function but after a few days it stop working. Basically If i have file 1.php with: <?php var_dump(exec('/home/2.php > /home/2.output 2>&1 &')); And file 2.php with: <?php sleep(5); echo "Fill\n"; Running file 1.php, it return an empty st...

ubuntu /usr/bin/env: python: No such file or directory

I update the kernel, after that the Ubuntu doesn't work well, PS: I try to exec "meld" command, it will report that "/usr/bin/env: python: No such file or directory", then I exec "sudo apt-get install python" and get the result "python is already the newest version.", what should I do for it. ...

Please suggest any ssh client to install in ubuntu and where to download the same

Please suggest any ssh client to install in ubuntu and where to download the same ...