ubuntu

ubuntu on virtual machine vs ubuntu install, what the difference?

Hi, I have windows xp in my work and i programming on zend framework. I need to install ubuntu for execute doctrine orm commands from linux console, I faile to do it on windows. I thinking about 2 option of UBUNTU installation: 1.install ubuntu 10.04 on Virtual Box (Sun Virtual Machine). 2.create new primary partition and install ubuntu...

telephone application programming on Linux

I'm a Linux user looking to write a program which will pick up the phone, dial a number, play a recording and record what the person on the other end of the line says and save it to an audio file. I will want to use the modem that came with my computer if possible. What should I use to write this program? ...

Using Python to add/remove Ubuntu login script items

I have written a Python application and would like to give my users the option of having the app automatically launch itself when the user logs in. It is important that the user is able to toggle this option on/off from within the app itself, rather than having to manually edit login scripts, so this needs to be done from within the Pyth...

How to run NUnit test in MonoDevelop 2.2 in Ubuntu 10.04?

I was following a tutorial but I can't find the option to run tests. ...

fmodex returning ERR_FILE_BAD playing an MP3 file under Mono/Ubuntu

I'm trying to use fmodex 4.30.03 to play an MP3 file under Mono/Ubuntu. My call to createSound() looks as follows: result = system.createSound(path, (FMOD.MODE._2D | FMOD.MODE.HARDWARE | FMOD.MODE.CREATESTREAM), ref sound); as per the C# examples that come with the SDK. result is being set to 19, ERR_FILE_BAD. The same th...

How do I start a Python screensaver that takes keyboard input in Ubuntu (and preferably Windows)?

I am developing a small application for home use in Python. It is supposed to act as a slide show screensaver, but also as a primitive image manager. I have the slide show and image manager aspects covered (I am using Tkinter), but I haven't implemented the screensaver bit yet. So, starting the app from the command line works fine. I am...

Synchronized network based File System?

I'm looking for a solution that can probably be best implemented at FileSystem level as a Network based Synchronized Filesystem: I want to one-way synchronize files between two machines. However instead of pro-actively syncing everything, I want to do it "on-demand" i.e. whenever a program on the replicated machine accesses a file of th...

Monodevelop - Ubuntu - exe file as output?

Hi everyone, OK I'm creating an app in MonoDevelop for Ubuntu Linux, but the compiled file is always a windows exe, I've set it to compile as a Linux Binary but I'm confused, can anyone shed any light on how to get a proper Linux way of opening the program? Thanks ...

Java Classpath Problems in Ubuntu

First off I'm running Ubuntu 9.10 I've edited the /etc/environment file to look like this: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" JAVA_HOME="/usr/lib/jvm/java-6-sun-1.6.0.20" CLASSPATH="/home/travis/freetts/lib/freetts.jar:/home/travis/freetts/lib/jsapi.jar:." I then run "source /etc/environmen...

Starting Tornado Web

Hi, I'm quite new to using Tornado Web as a web server, and am having a little difficulty keeping it running. I normally use Django and Nginx, and am used to start/stop/restarting the server. However with Tornado I'm having trouble telling it to "run" without directly executing my main python file for the site, ie "python ~/path/to/serv...

framebuffer not available

I am trying to run an application that uses framebuffer on 2.6.31-14-generic #48-Ubuntu. All need to do is to install a framebuffer device to get rid of the following error. /dev/fb/0: No such file or directory framebuffer not available. FATAL: no framebuffer available I googled through and found some resources indicating to do that...

(Doctrine-Ubuntu) Get error: doctrine-cli.php: command not found

Hi, (Doctrine-Ubuntu) I run $ doctrine-cli.php command and get doctrine-cli.php: command not found. P ...

Error! How to install GlassFish in Ubuntu 9.04?

I try to install GlassFish on Ubuntu, and I get the error: Could not locate a suitable jar utility. Please ensure that you have Java 6 or newer installed on your system and accessible in your PATH or by setting JAVA_HOME when I type echo $PATH it prints out: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bi...

Build a gem with native extension (Gem::Installer::ExtensionBuildError)

I have the following configuration: uname -a : Linux 2.6.24.2 i686 GNU/Linux (Ubuntu) ruby -v : ruby 1.9.0 (2007-12-25 revision 14709) [i486-linux] rails -v : Rails 3.0.0.beta3 gem -v : 1.3.5 rake --version : rake, version 0.8.7 make -v : GNU Make 3.81 gem env : RUBYGEMS VERSION: 1.3.5 RUBY VERSION: 1.9.0 (2007-12-25 patchlevel 0) [i4...

Using apt-get to remove ruby1.8 (and keep ruby1.9) but without removing some dependencies

I have the following configuration: uname -a : Linux 2.6.24.2 i686 GNU/Linux (Ubuntu) ruby1.8 -v : ruby 1.8.6 (2007-09-24 patchlevel 111) [i486-linux] ruby1.9 -v : ruby 1.9.0 (2007-12-25 revision 14709) [i486-linux] ruby -v : ruby 1.9.0 (2007-12-25 revision 14709) [i486-linux] ls -l /usr/bin/ruby* : lrwxrwxrwx 1 root root 16 2010...

ipTables blocking memcached

I have one server running memcached and another server that should be able to connect to the memcached server. memcached is set up to listen to 0.0.0.0:5666 This allows for anyone to connect to it so i want to block the port 5666 for everyone except the other server. I thought this would do it: iptables -A INPUT -p tcp --dport 5666 -j...

Ubuntu's file-roller problem 5010. "Cannot open display"

Hello everybody! I use "file-roller" to manage with archieves on my Ubuntu. But it fails on running without user interface(just teminal). The error is shown below. ** (file-roller:5453): CRITICAL **: Failed to parse arguments: Cannot open display: How can I prevent file-roller from using GUI or can you recommend me any other archieve...

What should I configure when I put Zend project on windows to Ubuntu Lamp?

Hi, What should I configure when I put Zend project on windows to Ubuntu Lamp? (I asking that beacause my Zend progect not working on Ubuntu, its gives first pages, but after i enter to next page its gives me 404 error(page Not Found), I check if rewrite mod enable with : sudo a2enmod rewrite and get: Module rewrite already enabled ::: ...

gcc 4.5 installation problem under ubuntu

I tried to install gcc 4.5 on ubuntu 10.04 but failed. Here is a compile error that I don't know how to solve. Is there anyone successfully install the latest gcc on ubuntu? Following is my steps and the error message, I'd like to know where is the problem.... Step1: download these files: gcc-core-4.5.0.tar.gz gcc-g++-4.5.0.tar.gz gmp-...

C++ man pages in Ubuntu

In Ubuntu linux I can't get any man pages for C++ keywords. Is there some kind of package I can install to fix this? ...