4
голосов
4ответов
6193 просмотров

How to use beyond compare as a external svn diff tool

I want to configure it so that svn diff filename shows the diff in beyond compare. I am on ubuntu. On a related note what is everyone using to diff and merge. BC is awesome on windows, but very ugly looking on Linux, imo.

-1
голосов
2ответов
863 просмотров

Reboot of DHCP-Server results in a mess of Client-IP-Addresses

in my network at home, driving some ubuntu-pc's one of them is dhcp-server running dhcp3-server. If i reboot this pc all the clients are going offline with a ahavi-ip-address (169.254...). what is going on during the short downtime of the dhcp-server, what is wrong on which side: client or server...

1
голосов
3ответов
1862 просмотров

Command line script to create user passwd

I'm very new to Linux and PHP so forgive me if this is a dumb question. I need to create a PHP command line script that will add a user to the system, to be used by the ftp server. I have it set up at this point that it creates the account just fine. The problem I'm facing is that even though I ...

0
голосов
1ответов
208 просмотров

How do you run Xilinx91i in ubuntu?

I installed Xilinx91i on my comp under /usr/Xilinx91i/, but I don't know how to start it. Can someone help?

0
голосов
1ответов
1000 просмотров

Running multiple system commands in background via php system() command?

I want to call a script on my server by opening a url. The script takes a long time to execute, so I want to run it in the background so there is no need to keep the browser open and worry about timeouts. It looks like the PHP function system() should work, but it isn't working for me. The...

6
голосов
5ответов
9337 просмотров

Creating .deb packages from prebuilt binaries?

I would like to create a Debian/Ubuntu .deb package from a set of prebuilt binaries. I don't have any access to the source code. The only tutorials I've found on creating debs require source code access, and so do all the convenient and easy tools for creating Debian packages. So how can I creat...

4
голосов
2ответов
14209 просмотров

Append to /etc/apt/sources.list

I'm creating some scripts to streamline application installations and I need to append to the end of /etc/apt/sources.list This code below append to files in ~ but not in /etc/apt/ echo "deb http://ppa.launchpad.net/person/ppa/ubuntu karmic main" >> /etc/apt/sources.list @meder I have ...

2
голосов
1ответов
408 просмотров

ubuntu/fedora: how do I add applications in the menus?

What files and where do I need to drop those in the filsystem hierarchy in order to add an application to Ubuntu or Fedora? I am creating a .deb package and I would like it to appear in the "Other" menu. How do I achieve this?

0
голосов
1ответов
406 просмотров

Mono: MONO_THEME has no effect under Ubuntu?

I am not entirely sure whether MONO_THEME is supposed to do anything for WinForms applications running under Ubuntu, but I got the impression that I should be able to enable GNOME-like looks by using it. I can't get it to do that though. Here's what I tried: export MONO_THEME=visualstyles mono ...

2
голосов
2ответов
1056 просмотров

Lossless PDF rotation

is there a way to rotate a PDF 90 degrees losslessly, with Python or using the command line? I'm looking for a REAL rotation, not just adding a "/ROTATE 90" inside the PDF, because afterwards I have to send the PDF via Hylafax and it looks like that it ignores those commands. I tried with Image...

1
голосов
3ответов
415 просмотров

Options for maintaining MySQL databases for a django development team

What are some options to avoid the latency of pointing local django development servers to a remote MySQL database? If developers use local MySQL databases to avoid the latency, what are some useful tools to sync schema updates of the remote db with the local db and avoid manually creating, do...

0
голосов
2ответов
222 просмотров

When backing up a postgres database I get prompted for a password

I'm busy backing up my postgres db, I run the following command pg_dump -d data -U postgres -h 127.0.0.1 -CdiOv > data.sql I however have one problem I get asked for the password, if I want to add this into a cron I do not want to get promted for the password. Is there any way to do this wi...

0
голосов
3ответов
3547 просмотров

Init.d script to start Hudson doesn't run at boot on Ubuntu

I'm trying to start Hudson on Ubuntu automatically on boot with an init.d script. The script works fine when invoked manually (ie with ./hudson start), and has update-rc.d-generated sym-links in rc2-rc5, but it doesn't start on rebooting. Does anyone know what might be causing it to not work? The...

4
голосов
1ответов
2510 просмотров

How can I build the Boost.Python example on Ubuntu 9.10?

I am using Ubuntu 9.10 beta, whose repositories contain boost 1.38. I would like to build the hello-world example. I followed the instructions here (http://www.boost.org/doc/libs/1_40_0/libs/python/doc/tutorial/doc/html/python/hello.html), found the example project, and issued the "bjam" comman...

1
голосов
1ответов
1472 просмотров

Jaxb Support for Netbeans 6.5

I have not been working on java for a long time, and now I am back; so I am sort of noob, particularly with Netbeans. I am using Netbeans 6.5 on Ubuntu. I want to use the Jaxb support to generate Jaxb binding from an XML schema, as documented at http://wiki.netbeans.org/NB6JAXBSample1 . But the d...

19
голосов
6ответов
19659 просмотров

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: (i...

0
голосов
4ответов
14154 просмотров

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("w...

5
голосов
4ответов
3791 просмотров

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 Py...

3
голосов
3ответов
12388 просмотров

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.

35
голосов
3ответов
34414 просмотров

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 ...

1
голосов
4ответов
1363 просмотров

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: Reques...

1
голосов
2ответов
1007 просмотров

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?

71
голосов
3ответов
113477 просмотров

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 approp...

9
голосов
1ответов
10724 просмотров

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

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 int...

3
голосов
4ответов
162 просмотров

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...

1
голосов
4ответов
2410 просмотров

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 a...

0
голосов
1ответов
288 просмотров

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

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 a...

0
голосов
1ответов
229 просмотров

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 makefi...

3
голосов
2ответов
1784 просмотров

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...

5
голосов
4ответов
746 просмотров

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?