ubuntu

Problems Installing Eclipse and Ruby Plugin

I installed Eclipse on my Ubuntu machine and then the Ruby Development Tools (RDT), but it would crash when I try to alter certain features, like having line numbers, how far back to have history, and the code coloring scheme didn't work fully. I decided to try to uninstall Eclipse by doing sudo aptitude remove Eclipse and then sudo apti...

/tmp/mysql.socket files is missing in ubuntu server 10.4

i have started mysql server but the /tmp/mysql.socket file is missing. Can't connect to local MySQL server through socket '/tmp/mysql.socket' what to do? thanks ...

How do I access my web application from a non-local machine?

hi, I have a Ruby on Rails application that I'm developing on my computer, which runs Ubuntu 10.04 LTS. I'd like to be able to access it from a remote computer for testing purposes. I've no idea how to proceed. Do I need to set up port forwarding? Virtual hosts? Can anyone point me to an article/tutorial/whatever that has information ab...

Eclipse with JDK in Ubuntu 10.04

A short question: My eclipse project is set to use the "sun-java-6-jdk"-supplied JDK library, but I cannot Ctrl-click to view source (no source attached), as I can do out-of-the-box on Windows. How do I make this work? ...

Debian package installed,but cant find it

i recently created a debian package for my own software,it got installed properly and i can open it from terminal but i cant find it in my application section in ubuntu. can anyone help me?? ...

Java development in Ubuntu

I'm a newbie to Linux systems and recently I started using Ubuntu 10.04. When I do java development in Windows, I usually keep my project files under some drive (D: for example) and under my development folder, such as D:\projects\myproj. But I'm bit confused with Ubuntu's folder structure. So, I just want to know how do you organize you...

launch eclipse,and an error occurs.

environment: Ubuntu 9.10 Eclipse eclipse-jee-galileo-SR2-linux-gtk When I login the ubuntu,and run the eclipse, it works. but when I changed to root user and then launch eclipse,there is an error occurs: (eclipse:5632): GLib-GObject-WARNING **: invalid (NULL) pointer instance (eclipse:5632): GLib-GObject-CRITICAL **: g_signal_connect_...

Boost.Thread Linking - boost_thread vs. boost_thread-mt

It's not clear to me what linking options exist for the Boost.Thread 1.34.1 library. I'm on Ubuntu 8.04 and I've found that when using either boost_thread or boost_thread-mt during linking both compile and run, but I don't see any documentation on these or any other linking options in above link. What Boost.Thread linking options are a...

weird CGI error

I have a cgi script working on my localhost (ubuntu 10.04) just by dropping them to /usr/lib/cgi-bin but... in production (ubuntu 10.04) they never run: Apache error.log: [Sun Jun 13 13:13:58 2010] [error] (2)No such file or directory: exec of '/var/www/cgi-bin/tbk_bp_resultado.cgi' failed [Sun Jun 13 13:13:58 2010] [error] [client 19...

Shift browser contents to the left while viewing in wide screen

I use a widescreen laptop. Many websites have their content centre aligned. On wider screens this means lot of empty space on left and right. As such this is not a botheration. Many a times, I read some instructions on the web page and type them out on the command prompt. I prefer to overlay the command prompt window on top of the br...

regarding jar file in java

Hi I want to create jar file in ubuntu linux.Can anybody help me or any link. Thanks ...

MacBook for django development?

Hi, I'm about to buy a new laptop (Asus G62) to replace my old ubuntu desktop. I will use it mostly for django development (and some legacy win32 stuff in a virtualbox). However, since I will need to do some iPhone development in the near future, I'm starting to think that it might be a wiser to buy a MacBook Pro, instead of the Asus a...

Good OpenGL tutorial for Linux/Ubuntu?

I'm looking for a good Ubuntu OpenGL tutorial for a friend who already knows how to use OpenGL in Windows. Can anyone recommend any? ...

Android API Target Level 5 and 6 for Ubuntu

Today i installed Ubuntu 10.4 and Eclipse Galileo. Then I downloaded the Android SDK and tried to install all packages via the Android SDK Tools. But unfortunately, only the Target Levels 3, 4, 7 and 8 were available. API Level 5 and 6 are missing. Does anybody know the reason for this? I already did a Google search and there seems to b...

How to use HTC Desire and Eclipse on Ubuntu 10.4 to test Android Apps?

If I try to use my HTC Desire to test Apps I'm developing with Eclipse, then in the screen where I can choose the emulators and connected devices, it is only listed as unknown and a few question marks. I read that on Windows you need HTC Sync respectively the drivers in this program, but how can I solve this problem on Ubuntu? ...

Kernel panic - Creating own AMI (Amazon Machine Image)

I have created own AMI and registered it on Amazon EC2. But while AMI startup I receive following error: Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(8,1) The image is running locally without any problems. fstab contains: proc /proc proc defaults 0 0 /dev/sda1 /...

Is it possible to trim a log file a daemon has open without the daemon closing the file?

I have a daemon writing to a log file that, eventually, fills up the disk. Is there a way for me to periodically limit the size of the log file without stopping the daemon without changing the code in it? SIGHUP kills the daemon. ...

Installing Monodevelop from the SVN on Ubuntu 10.04

I wrote the following script to install the svn version of MonoDevelop #!/usr/bin/env bash PREFIX=/opt/local check_errs() { if [[ $? -ne 0 ]]; then echo "${1}" exit 1 fi } download() { if [ ! -d ${1} ] then svn co http://anonsvn.mono-project.com/source/trunk/${1} else (cd ${1}; svn ...

On Ubuntu, how do you install a newer version of python and keep the older python version?

Background: I am using Ubuntu The newer python version is not in the apt-get repository (or synaptic) I plan on keeping the old version as the default python when you call "python" from the command line I plan on calling the new python using pythonX.X (X.X is the new version). Given the background, how do you install a newer version ...

strerror_r returns trash when I manually set errno during testing

During testing I have a mock object which sets errno = ETIMEDOUT; The object I'm testing sees the error and calls strerror_r to get back an error string: if (ret) { if (ret == EAI_SYSTEM) { char err[128]; strerror_r(errno, err, 128); err_string.assign(err); } else { err_string.assign(gai_strerror...