ubuntu

firefox in ubuntu : how to automate basic authentication password confirm dialog

Hi, I have an ubuntu workstation with firefox always open on a (autorefreshing) web page protected by basic auth. At startup, I have autologin and automatic firefox start on the page and I have saved the basic auth credentials. I'd like to confirm in some automated way the username/password dialog box which pops up on the first openin...

Parsley: Unable to execute command line tool after building it.. "Error while loading shared libraries: libparsley.so.0"

I'm getting started with Parsley (parslets.com), an interesting tool to parse data out of webpages. http://parselets.com/dev/command%5Fline I've downloaded the source, built it, and now I'm unable to run it: parsley: error while loading shared libraries: libparsley.so.0: cannot open shared object file: No such file or directory I'm...

which package in ubuntu contains the header file X11.h?

which package in ubuntu has the header file x11.h? thanks in advance ...

Python Django Config Question

I am getting this error, how would I go about fixing this? daniel@daniel-toshiba~ $ python Python 2.6.2 (release26-maint, Apr 19 2009, 01:56:41) [GCC 4.3.3] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import django Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportErr...

Monitoring Software for Ubuntu 8.10 on Slicehost?

I am new to server administration and I am looking for some options for monitoring my slice (ruby on rails site) on slicehost. Ideally, a live view of status and loads would be great. Any suggestions? ...

ImageMagick convert error (Wrong JPEG library version: library is 62, caller expects 70)

Looks like it is reading the wrong jpeg ibrary, but I have jpeg 7 installed. How do i tell ImageMagick to look up the right JPEG library version(I don't care 62 or 70 as long as it works). here is the instruction i am following ...

how to read from and write to a serial port (ttys0) from another pc via ethernet (eth0) on Ubuntu/Debian???

Well, there are two pc's connected via Wi-Fi and one of those (let's call it A) has a serial port printer (in ttys0) and a measure serial port device (in ttys1) connected too. So B needs to read some values from the mesure device connected on A and then write to the printer connected on A using a network connection. ...

Bring FMIT (Free Music INstrument Tuner) into Eclipse as a project, Build and Run in Ubuntu

I am trying to import the download available at http://home.gna.org/fmit/ into Eclipse (on Ubuntu), compile and run. I have managed to create a C++ project in Eclipse, and then use the project wizard to import the home folder of the FMIT download. But I am lost when it comes to using the makefile to set the project up, build and run it...

How to load pictures from Win XP running a Mono aplication in UBUNTU

Hi I've been writing an application in MONO C# and I need help, my problem is my aplication has to load some photos from my server which is running windows XP and i need to know how i have to write the photo's path. i mean for windows is somthing like this. Im using the IO class to load as stream and close inmediately to release the fi...

Which easy programming language to use for parallel port programming under Linux?

My father would like to use Ubuntu for LPT programming (via a relay card). He is used to QBasic and PowerBasic but willing to learn a new (simple) language for his goals. What recommendations can you give me for this task? Python would be my favourite if the module pyParallel worked. If there are other modules available for Python, let...

Is there a tool for finding out what packages provide a file?

For example, if ./configure or Make tells me I'm lacking libX11.so.6, and it's nowhere on my system, is there a tool or website into which I could type libX11.so.6 followed by a distribution/arch and get back libx11-6 libx11-6-debug [or whatever; asking README would probably return reams of entries] http://sysinf0.klabs....

Ubuntu: What gcc to use when crosscompiling for the STM32 (Cortex-M3)?

Hi I'm trying to get started with the STM32 (Cortex-M3) and my plan is get this working from Ubuntu (9.04 / AMD64). To start with I got the Olimex stm32-h103 header board and the Olimex ARM-USB-OCD jtag, and on to of that I will probably use OpenOCD, gcc and Eclipse. But right now I'm looking into what version of gcc to use and how ...

Trying to include a library, but keep getting 'undefined reference to' messages

I am attempting to use the libtommath library. I'm using the NetBeans IDE for my project on Ubuntu linux. I have downloaded and built the library, I have done a 'make install' to put the resulting .a file into /usr/lib/ and the .h files into /usr/include It appears to be finding the files appropriately (since I no longer get those err...

In MonoDevelop, how do I set the application output to a fixed-width font?

I can't find any sort of font settings for Application Output. I'm not sure why it's not fixed-width by default. Any ideas? ...

build webkit on ubuntu 9.04

i have checked out webkit source code from they svn server, when i issued ./autogen, it gave me following error, checking for GLIB... configure: error: Package requirements (glib-2.0 >= 2.21.3 gobject-2.0 >= 2.0 gthread-2.0 >= 2.0) were not met: Requested 'glib-2.0 >= 2.21.3' but version of GLib is ...

Selecting text in terminal without using the mouse

If I'm working in a terminal window in Linux, is there a keyboard shortcut I can use to select output displayed on previous lines? If I select something with the mouse I can copy using ctrl-shift-c, but is there a way to select without using the mouse at all. I'm using either gnome terminal or kde konsole in ubuntu desktop. For examp...

How do you install the Net::SFTP module on Ubuntu?

I'm new to Perl. How do you install the Net::SFTP module? I'm running Ubuntu Linux. I believe there's a simple way to do it from the command line, like by calling $ cpan install or something. ...

Traffic shaping under Linux

Where can I learn about controlling/interrogating the network interface under Linux? I'd like to get specific application upload/download speeds, and enforce a speed limit for a specific application. I'd particularly like information that can help me write a traffic shaping application using Python. ...

Java system.getProperty("user.dir") gives wrong result in ubuntu

I develop a Java application which is able to run cross-platform with condition in JRE version at least 1.6.0.14. Everything is work fine on a Windows machine (JRE1.6.0.14) but unwanted result in Ubuntu 8.04 with JRE1.6.0.14. I found the errors here: Document doc = docBuilder.parse (new File("webservices.xml")); On the Windows machin...

Compiling Objective-C project on Linux (Ubuntu)

How to make an Objective-C project work on Ubuntu? My files are: Fraction.h #import <Foundation/NSObject.h> @interface Fraction: NSObject { int numerator; int denominator; } -(void) print; -(void) setNumerator: (int) n; -(void) setDenominator: (int) d; -(int) numerator; -(int) denomina...